]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/sectionbox.module
New Theorems Module. Contributed by Udicoudco <udifoglle@gmail.com> on the mailing...
[lyx.git] / lib / layouts / sectionbox.module
index 5e0ed54c8ded762d92180adf846826e9d1917dd0..41844109a920b8d11b136718c36d75c4a6553b9c 100644 (file)
@@ -1,4 +1,5 @@
 #\DeclareLyXModule[sectionbox.sty]{Section Boxes}
+#\DeclareCategory{Boxes}
 #DescriptionBegin
 #Defines Boxes with section header. Mainly intended for
 #the SciPoster class.
@@ -6,21 +7,22 @@
 
 # Author: Jürgen Spitzmüller <spitz@lyx.org>
 
-Format 63
+Format 99
 
 InsetLayout Flex:SectionBox
-       LyXType               custom
-       LabelString           "Section Box"
-       LatexType             environment
-       LatexName             sectionbox
-       Decoration            classic
-       MultiPar              true
-       CustomPars            true
-       Requires              sectionbox
+       LyXType            custom
+       LabelString        "Section Box"
+       LatexType          environment
+       LatexName          sectionbox
+       Decoration         classic
+       MultiPar           true
+       CustomPars         true
+       Requires               sectionbox
        Argument 1
                LabelString    "Width"
                MenuString     "Section Box Width|S"
                Tooltip        "Width of the section Box"
+               DocBookTag     IGNORE
        EndArgument
        Argument 2
                LabelString    "Heading"
@@ -33,19 +35,24 @@ InsetLayout Flex:SectionBox
                    Size       Large
                    Series     Bold
                EndFont
+               DocBookTag     title
+               DocBookTagType paragraph
+               DocBookArgumentBeforeMainTag  true
        EndArgument
-       ResetsFont             true
+       ResetsFont         true
+       DocBookTag         section
+       DocBookItemTag     para
 End
 
 InsetLayout Flex:SubsectionBox
-       CopyStyle             Flex:SectionBox
-       LabelString           "Subsection Box"
-       LatexName             subsectionbox
+       CopyStyle          Flex:SectionBox
+       LabelString        "Subsection Box"
+       LatexName          subsectionbox
 End
 
 InsetLayout Flex:SubsubsectionBox
-       CopyStyle             Flex:SectionBox
-       LabelString           "Subsubsection Box"
-       LatexName             subsubsectionbox
+       CopyStyle          Flex:SectionBox
+       LabelString        "Subsubsection Box"
+       LatexName          subsubsectionbox
 End