]> git.lyx.org Git - lyx.git/blob - lib/layouts/initials.module
initials.module: safer preamble call, no string changed, necessary to be able to...
[lyx.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 35
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         OptionalArgs            1
33         RequiredArgs            1
34         LabelSep                x
35         ParIndent               MMM
36         ParSkip                 0.4
37         TopSep                  0.7
38         BottomSep               0.7
39         ParSep                  0.3
40         Align                   Left
41         AlignPossible           Left
42         LabelFont
43           Series                Bold
44         EndFont
45 End
46