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