]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/ltugboat.layout
Fix bug #10273
[lyx.git] / lib / layouts / ltugboat.layout
index 9d2be001f8386e5160bbfe2eca409148b16607c1..e3aeaff10349c8f9f30d2feb0c9a90a3340ed643 100644 (file)
@@ -1,11 +1,12 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[ltugboat]{article (TUGboat)}
+#  \DeclareLaTeXClass{TUGboat}
+#  \DeclareCategory{Articles}
 # The tugboat journal (TUGboat) textclass definition file.
 # Journal of the TeX User Group http://www.tug.org
 # Author : Herbert Voss <voss@perce.de> 2001/08/13
 
 
-Format 5
+Format 60
 Columns                 2
 Sides                   2
 #SecNumDepth                            # no counting
@@ -28,6 +29,7 @@ EndFont
 
 
 Style Standard
+       Category              MainText
        Margin                Static
        LatexType             Paragraph
        LatexName             dummy           # no special latex env
@@ -43,6 +45,7 @@ End
 Input stdlists.inc
 
 Style Section
+       Category              Sectioning
        Margin                Dynamic
        LatexType             Command
        LatexName             section
@@ -54,15 +57,16 @@ Style Section
        BottomSep             0.7
        ParSep                0.7
        Align                 Block
-       AlignPossible         Block, Left
        Font
          Series              Bold
          Size                Normal
        EndFont
+       TocLevel 1
 End
 
 
 Style Subsection
+       Category              Sectioning
        Margin                Dynamic
        LatexType             Command
        LatexName             subsection
@@ -74,11 +78,11 @@ Style Subsection
        BottomSep             0.5
        ParSep                0.5
        Align                 Block
-       AlignPossible         Block, Left
        Font
          Series              Bold
          Size                Normal
        EndFont
+       TocLevel 2
 End
 
 
@@ -94,11 +98,11 @@ Style Subsubsection
        BottomSep             0.4
        ParSep                0.4
        Align                 Block
-       AlignPossible         Block, Left
        Font
          Series              Bold
          Size                Normal
        EndFont
+       TocLevel 3
 End
 
 
@@ -114,11 +118,11 @@ Style Paragraph
        BottomSep             0
        ParSep                0.4
        Align                 Block
-       AlignPossible         Block, Left
        Font
          Series              Bold
          Size                Normal
        EndFont
+       TocLevel 4
 End
 
 
@@ -129,9 +133,12 @@ Input stdstruct.inc
 Input stdlayouts.inc
 Input stdfloats.inc
 Input stdcounters.inc
+Input stdinsets.inc
+Input stdrefprefix.inc
 
 
 Style Title
+       Category              FrontMatter
        Margin                Static
        LatexType             Command
        InTitle               1
@@ -142,7 +149,6 @@ Style Title
        BottomSep             1
        ParSep                1
        Align                 Left
-       AlignPossible         Left
        LabelType             No_Label
        TextFont
          Series              Bold
@@ -152,6 +158,7 @@ End
 
 
 Style Author
+       Category              FrontMatter
        Margin                Static
        LatexType             Command
        InTitle               1
@@ -163,7 +170,6 @@ Style Author
        ParSep                0.7
        LeftMargin            MM
        Align                 Left
-       AlignPossible         Left
        LabelType             No_Label
 End
 
@@ -181,8 +187,7 @@ Style Abstract
        BottomSep             1.5
        ParSep                0
        Align                 Block
-       AlignPossible         Block
-       LabelType             Top_Environment
+       LabelType             Above
        LabelString           "Abstract"
        LabelBottomSep    0.5
        TextFont