]> git.lyx.org Git - features.git/blob - lib/layouts/initials.module
Bump layout format
[features.git] / lib / layouts / initials.module
1 #\DeclareLyXModule{Initials}
2 #DescriptionBegin
3 #Define a style for paragraphs with an initial.
4 #See the EmbeddedObjects manual for a detailed description.
5 #DescriptionEnd
6 #Authors: Pavel Sanda and Uwe Stöhr
7
8 Format 42
9
10 AddToPreamble
11         \@ifundefined{lettrine}{\usepackage{lettrine}}{}
12 EndPreamble
13
14 InsetLayout Flex:Initial
15         LyxType                 charstyle
16         LabelString             "Initial"
17         LatexType               command
18         LatexName               lettrine
19         Font
20           Size                  Large
21         EndFont
22         Requires                lettrine
23 End
24
25 Style Initial
26         Category                MainText
27         LatexType               command
28         LatexName               lettrine
29         Margin                  First_Dynamic
30         LabelType               static
31         LabelString             Initial
32         Argument 1
33                 LabelString   "Initial Option"
34                 Tooltip       "Optional argument for initial (see lettrine manual)"
35         EndArgument
36         Argument 2
37                 Mandatory     1
38                 LabelString   "Initial"
39                 Tooltip       "Initial letter"
40         EndArgument
41         LabelSep                x
42         ParIndent               MMM
43         ParSkip                 0.4
44         TopSep                  0.7
45         BottomSep               0.7
46         ParSep                  0.3
47         Align                   Left
48         AlignPossible           Left
49         LabelFont
50           Series                Bold
51         EndFont
52 End
53