]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/initials.module
- EmbeddedObjects.lyx: new chapter about objects surrounded by text
[lyx.git] / lib / layouts / initials.module
index ca622bebb806cc0149c1b21a175872dc923c8a65..22a6678ec4d77fcebea487bcc9ce155100292a5c 100644 (file)
@@ -4,10 +4,11 @@
 #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 28
+Format 35
 
-InsetLayout CharStyle:Initial
+InsetLayout Flex:Initial
        LyxType                 charstyle
        LabelString             "Initial"
        LatexType               command
@@ -21,3 +22,28 @@ InsetLayout CharStyle:Initial
        EndPreamble
 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
+       Preamble
+         \usepackage{lettrine}
+       EndPreamble
+End
+