lyx_mirror/lib/layouts/initials.module

61 lines
1.1 KiB
Plaintext
Raw Normal View History

#\DeclareLyXModule{Initials (Drop Caps)}
#\DeclareCategory{Paragraph Styles}
#DescriptionBegin
#Defines a style for paragraphs with an enlarged initial letter (drop cap).
#See the EmbeddedObjects manual for a detailed description.
#DescriptionEnd
#Authors: Pavel Sanda and Uwe Stöhr
2022-12-06 06:02:22 +00:00
Format 98
AddToPreamble
\@ifundefined{lettrine}{\usepackage{lettrine}}{}
EndPreamble
InsetLayout Flex:Initial
LyxType charstyle
LabelString "Initial"
LatexType command
LatexName lettrine
Font
Size Large
EndFont
Requires lettrine
ResetsFont true
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 "Options"
Tooltip "Option(s) for the initial"
EndArgument
2012-11-25 11:37:33 +00:00
Argument 2
Mandatory 1
LabelString "Initial"
Tooltip "Initial letter(s)"
EndArgument
Argument 3
Mandatory 1
LabelString "Rest of Initial"
Tooltip "Rest of initial word or text"
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