]> git.lyx.org Git - lyx.git/blob - lib/layouts/initials.module
IEEEtran-CompSoc.layout: use the new NoInsetLayout tag
[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 44
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   "Options"
34           Tooltip       "Option(s) for the initial"
35         EndArgument
36         Argument 2
37           Mandatory     1
38           LabelString   "Initial"
39           Tooltip       "Initial letter(s)"
40         EndArgument
41         Argument 3
42           Mandatory     1
43           LabelString   "Rest of Initial"
44           Tooltip       "Rest of initial word or text"
45         EndArgument
46         LabelSep        x
47         ParIndent       MMM
48         ParSkip         0.4
49         TopSep          0.7
50         BottomSep       0.7
51         ParSep          0.3
52         Align           Left
53         AlignPossible   Left
54         LabelFont
55           Series        Bold
56         EndFont
57 End
58