X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Finitials.module;h=ac51c0981d0eb05e66317ead50a57b542dfa8ea1;hb=3d590d3bd71a3522d525ce71220e99bd25b6a648;hp=81b5e80d8a8fc9e31741f05cc739f3a1cd041ee2;hpb=826bf6b95059c4d2a3962317957db9061e63fec2;p=lyx.git diff --git a/lib/layouts/initials.module b/lib/layouts/initials.module index 81b5e80d8a..ac51c0981d 100644 --- a/lib/layouts/initials.module +++ b/lib/layouts/initials.module @@ -5,42 +5,55 @@ #DescriptionEnd #Authors: Pavel Sanda and Uwe Stöhr -Format 35 +Format 64 AddToPreamble \@ifundefined{lettrine}{\usepackage{lettrine}}{} EndPreamble InsetLayout Flex:Initial - LyxType charstyle - LabelString "Initial" - LatexType command - LatexName lettrine + LyxType charstyle + LabelString "Initial" + LatexType command + LatexName lettrine Font - Size Large + Size Large EndFont - Requires lettrine + Requires lettrine + ResetsFont true 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 + Category MainText + LatexType command + LatexName lettrine + Margin First_Dynamic + LabelType static + LabelString Initial + Argument 1 + LabelString "Options" + Tooltip "Option(s) for the initial" + EndArgument + 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 + Series Bold EndFont End