]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/initials.module
update layout formats
[lyx.git] / lib / layouts / initials.module
index 2aee19df51068939b1e8e75a0405c1be45a8cedc..622163b9246a4139a936dc48d6e45c690c9613d9 100644 (file)
@@ -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