lyx_mirror/lib/layouts/initials.module
Uwe Stöhr 92ec9e966b initials.module: safer preamble call, no string changed, necessary to be able to compile the EmbeddedObjects manual also if the package lettrine is not installed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39540 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-28 02:34:50 +00:00

48 lines
844 B
Plaintext

#\DeclareLyXModule{Initials}
#DescriptionBegin
#Define character style for initials.
#Hint: try to use math and its artistic font styles like Fractur or the Calligraphic one.
#DescriptionEnd
#Category: charstyles
# Author: Pavel Sanda and Uwe Stöhr
Format 35
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
OptionalArgs 1
RequiredArgs 1
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