]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/shapepar.module
Tutorial.lyx: get rid of unnecessary preamble code
[lyx.git] / lib / layouts / shapepar.module
index de4cb242945d4a2d9d12d6912ea9e5004f8072db..ff96c1897a4aa75b3b3156ef63e3160743fe21a7 100644 (file)
@@ -1,4 +1,4 @@
-#\DeclareLyXModule[shapepar.sty]{Custom paragraph shapes}
+#\DeclareLyXModule[shapepar.sty]{Custom Paragraph Shapes}
 #DescriptionBegin
 #Provides several paragraph shapes as well as commands to define custom
 #shapes. For a description see LyX's Additional
@@ -6,11 +6,10 @@
 #DescriptionEnd
 #Author: Uwe Stöhr <uwestoehr@web.de>
 
-Format 44
+Format 60
 
 AddToPreamble
  % used for custom paragraph shapes
- \usepackage{shapepar}
  \IfFileExists{candleshape.def}{%
   \input{candleshape.def}}{}
  \IfFileExists{dropshape.def}{%
@@ -27,6 +26,7 @@ EndPreamble
 Style "CD label"
        LatexType       command
        LatexName       CDlabel
+       Requires        shapepar
        Category        ShapedParagraphs
        NextNoIndent    1
        Margin          Static