]> git.lyx.org Git - lyx.git/blob - lib/layouts/initials.module
remerge he.po
[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 104
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     DocBookTag             para
26     DocBookAttr            role='hanging'
27 End
28
29 Style Initial
30         Category        MainText
31         LatexType       command
32         LatexName       lettrine
33         Margin          First_Dynamic
34         LabelType       static
35         LabelString     Initial
36         Argument 1
37           LabelString   "Options"
38           Tooltip       "Option(s) for the initial"
39           DocBookTag    NONE
40         EndArgument
41         Argument 2
42           Mandatory     1
43           LabelString   "Initial"
44           Tooltip       "Initial letter(s)"
45           DocBookTag      phrase
46           DocBookAttr     role='initial'
47           DocBookTagType  inline
48         EndArgument
49         Argument 3
50           Mandatory     1
51           LabelString   "Rest of Initial"
52           Tooltip       "Rest of initial word or text"
53           DocBookTag      phrase
54           DocBookAttr     role='rest-of-initial'
55           DocBookTagType  inline
56         EndArgument
57         LabelSep        x
58         ParIndent       MMM
59         ParSkip         0.4
60         TopSep          0.7
61         BottomSep       0.7
62         ParSep          0.3
63         Align           Left
64         AlignPossible   Left
65         LabelFont
66           Series        Bold
67         EndFont
68     DocBookTag             para
69     DocBookAttr            role='paragraph-with-initial'
70 End
71