X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Finitials.module;h=622163b9246a4139a936dc48d6e45c690c9613d9;hb=006f1cbe4386999ee33b9e2ed5e55d3e36fa785c;hp=2aee19df51068939b1e8e75a0405c1be45a8cedc;hpb=2bd368fd6b276663b327e64acc6b46c87cc3c7a9;p=lyx.git diff --git a/lib/layouts/initials.module b/lib/layouts/initials.module index 2aee19df51..622163b924 100644 --- a/lib/layouts/initials.module +++ b/lib/layouts/initials.module @@ -1,11 +1,12 @@ -#\DeclareLyXModule{Initials} +#\DeclareLyXModule{Initials (Drop Caps)} +#\DeclareCategory{Paragraph Styles} #DescriptionBegin -#Define a style for paragraphs with an initial. +#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 -Format 43 +Format 79 AddToPreamble \@ifundefined{lettrine}{\usepackage{lettrine}}{} @@ -20,6 +21,7 @@ InsetLayout Flex:Initial Size Large EndFont Requires lettrine + ResetsFont true End Style Initial @@ -30,13 +32,18 @@ Style Initial LabelType static LabelString Initial Argument 1 - LabelString "Initial Option" - Tooltip "Optional argument for initial (see lettrine manual)" + LabelString "Options" + Tooltip "Option(s) for the initial" EndArgument Argument 2 Mandatory 1 LabelString "Initial" - Tooltip "Initial letter" + 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