]> git.lyx.org Git - lyx.git/blob - lib/layouts/initials.module
Layout format update after 2ba584957cf
[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 67
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         ResetsFont true
24 End
25
26 Style Initial
27         Category        MainText
28         LatexType       command
29         LatexName       lettrine
30         Margin          First_Dynamic
31         LabelType       static
32         LabelString     Initial
33         Argument 1
34           LabelString   "Options"
35           Tooltip       "Option(s) for the initial"
36         EndArgument
37         Argument 2
38           Mandatory     1
39           LabelString   "Initial"
40           Tooltip       "Initial letter(s)"
41         EndArgument
42         Argument 3
43           Mandatory     1
44           LabelString   "Rest of Initial"
45           Tooltip       "Rest of initial word or text"
46         EndArgument
47         LabelSep        x
48         ParIndent       MMM
49         ParSkip         0.4
50         TopSep          0.7
51         BottomSep       0.7
52         ParSep          0.3
53         Align           Left
54         AlignPossible   Left
55         LabelFont
56           Series        Bold
57         EndFont
58 End
59