2019-04-07 09:21:21 +00:00
|
|
|
#\DeclareLyXModule{Initials (Drop Caps)}
|
2019-04-04 16:43:29 +00:00
|
|
|
#\DeclareCategory{Paragraph Styles}
|
2009-08-15 22:16:36 +00:00
|
|
|
#DescriptionBegin
|
2019-04-07 09:21:21 +00:00
|
|
|
#Defines a style for paragraphs with an enlarged initial letter (drop cap).
|
2011-07-20 01:54:10 +00:00
|
|
|
#See the EmbeddedObjects manual for a detailed description.
|
2009-08-15 22:16:36 +00:00
|
|
|
#DescriptionEnd
|
2011-07-20 01:54:10 +00:00
|
|
|
#Authors: Pavel Sanda and Uwe Stöhr
|
2009-08-15 22:16:36 +00:00
|
|
|
|
2020-12-05 21:46:19 +00:00
|
|
|
Format 89
|
2009-08-15 22:16:36 +00:00
|
|
|
|
2011-08-28 03:36:34 +00:00
|
|
|
AddToPreamble
|
|
|
|
\@ifundefined{lettrine}{\usepackage{lettrine}}{}
|
|
|
|
EndPreamble
|
|
|
|
|
2010-10-12 15:41:55 +00:00
|
|
|
InsetLayout Flex:Initial
|
2013-01-20 15:44:05 +00:00
|
|
|
LyxType charstyle
|
|
|
|
LabelString "Initial"
|
|
|
|
LatexType command
|
|
|
|
LatexName lettrine
|
2009-08-15 22:16:36 +00:00
|
|
|
Font
|
2013-01-20 15:44:05 +00:00
|
|
|
Size Large
|
2009-08-15 22:16:36 +00:00
|
|
|
EndFont
|
2013-01-20 15:44:05 +00:00
|
|
|
Requires lettrine
|
2014-02-10 21:06:32 +00:00
|
|
|
ResetsFont true
|
2009-08-15 22:16:36 +00:00
|
|
|
End
|
|
|
|
|
2011-07-18 21:55:00 +00:00
|
|
|
Style Initial
|
2013-01-20 15:44:05 +00:00
|
|
|
Category MainText
|
|
|
|
LatexType command
|
|
|
|
LatexName lettrine
|
|
|
|
Margin First_Dynamic
|
|
|
|
LabelType static
|
|
|
|
LabelString Initial
|
2012-11-25 11:37:33 +00:00
|
|
|
Argument 1
|
2013-01-20 20:23:55 +00:00
|
|
|
LabelString "Options"
|
|
|
|
Tooltip "Option(s) for the initial"
|
2012-11-19 13:21:02 +00:00
|
|
|
EndArgument
|
2012-11-25 11:37:33 +00:00
|
|
|
Argument 2
|
2013-01-20 15:44:05 +00:00
|
|
|
Mandatory 1
|
|
|
|
LabelString "Initial"
|
2013-01-20 20:23:55 +00:00
|
|
|
Tooltip "Initial letter(s)"
|
|
|
|
EndArgument
|
|
|
|
Argument 3
|
|
|
|
Mandatory 1
|
|
|
|
LabelString "Rest of Initial"
|
|
|
|
Tooltip "Rest of initial word or text"
|
2012-11-19 13:21:02 +00:00
|
|
|
EndArgument
|
2013-01-20 15:44:05 +00:00
|
|
|
LabelSep x
|
|
|
|
ParIndent MMM
|
|
|
|
ParSkip 0.4
|
|
|
|
TopSep 0.7
|
|
|
|
BottomSep 0.7
|
|
|
|
ParSep 0.3
|
|
|
|
Align Left
|
|
|
|
AlignPossible Left
|
2011-07-18 21:55:00 +00:00
|
|
|
LabelFont
|
2013-01-20 15:44:05 +00:00
|
|
|
Series Bold
|
2011-07-18 21:55:00 +00:00
|
|
|
EndFont
|
|
|
|
End
|
|
|
|
|