lyx_mirror/lib/layouts/initials.module

54 lines
998 B
Plaintext
Raw Normal View History

#\DeclareLyXModule{Initials}
#DescriptionBegin
#Define a style for paragraphs with an initial.
#See the EmbeddedObjects manual for a detailed description.
#DescriptionEnd
#Authors: Pavel Sanda and Uwe Stöhr
2012-12-30 17:35:23 +00:00
Format 43
AddToPreamble
\@ifundefined{lettrine}{\usepackage{lettrine}}{}
EndPreamble
InsetLayout Flex:Initial
LyxType charstyle
LabelString "Initial"
LatexType command
LatexName lettrine
Font
Size Large
EndFont
Requires lettrine
End
Style Initial
Category MainText
LatexType command
LatexName lettrine
Margin First_Dynamic
LabelType static
LabelString Initial
2012-11-25 11:37:33 +00:00
Argument 1
LabelString "Initial Option"
Tooltip "Optional argument for initial (see lettrine manual)"
EndArgument
2012-11-25 11:37:33 +00:00
Argument 2
Mandatory 1
LabelString "Initial"
Tooltip "Initial letter"
EndArgument
LabelSep x
ParIndent MMM
ParSkip 0.4
TopSep 0.7
BottomSep 0.7
ParSep 0.3
Align Left
AlignPossible Left
LabelFont
Series Bold
EndFont
End