]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/ltugboat.layout
Localize endnotes header (with endnotes.sty)
[lyx.git] / lib / layouts / ltugboat.layout
index 74b5c202a46b969c74fcdab7dd118c42b135a191..27fb2abdba26d204bdbde4f0c629b9f208b54c18 100644 (file)
@@ -1,20 +1,20 @@
 #% 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
 
 
-# General textclass parameters
+Format 80
 Columns                 2
 Sides                   2
-#SecNumDepth                            #no counting
+#SecNumDepth                            # no counting
 #TocDepth               -1
-MaxCounter              Counter_Section
 
 
 ClassOptions
-       FontSize              default         #only 11pt
+       FontSize              default         # only 11pt
        PageStyle             ""              # controlled by class
 End
 
@@ -29,6 +29,7 @@ EndFont
 
 
 Style Standard
+       Category              MainText
        Margin                Static
        LatexType             Paragraph
        LatexName             dummy           # no special latex env
@@ -43,8 +44,8 @@ End
 
 Input stdlists.inc
 
-
 Style Section
+       Category              Sectioning
        Margin                Dynamic
        LatexType             Command
        LatexName             section
@@ -56,18 +57,16 @@ Style Section
        BottomSep             0.7
        ParSep                0.7
        Align                 Block
-       AlignPossible         Block, Left
-       LabelType             Counter_Section
-
-       Font 
+       Font
          Series              Bold
          Size                Normal
        EndFont
-
+       TocLevel 1
 End
 
 
 Style Subsection
+       Category              Sectioning
        Margin                Dynamic
        LatexType             Command
        LatexName             subsection
@@ -79,12 +78,11 @@ Style Subsection
        BottomSep             0.5
        ParSep                0.5
        Align                 Block
-       AlignPossible         Block, Left
-       LabelType             Counter_Subsection
-       Font 
+       Font
          Series              Bold
          Size                Normal
        EndFont
+       TocLevel 2
 End
 
 
@@ -100,14 +98,11 @@ Style Subsubsection
        BottomSep             0.4
        ParSep                0.4
        Align                 Block
-       AlignPossible         Block, Left
-       LabelType             Counter_SubSubSection
-
-       Font 
+       Font
          Series              Bold
          Size                Normal
        EndFont
-
+       TocLevel 3
 End
 
 
@@ -123,30 +118,27 @@ Style Paragraph
        BottomSep             0
        ParSep                0.4
        Align                 Block
-       AlignPossible         Block, Left
-       LabelType             Counter_Paragraph
-
-       Font 
+       Font
          Series              Bold
          Size                Normal
        EndFont
+       TocLevel 4
 End
 
 
 #Input stdstarsections.inc
 
+Input numarticle.inc
 Input stdstruct.inc
 Input stdlayouts.inc
 Input stdfloats.inc
 Input stdcounters.inc
-
-
-#
-# Create and Overwrite some styles
-#
+Input stdinsets.inc
+Input stdrefprefix.inc
 
 
 Style Title
+       Category              FrontMatter
        Margin                Static
        LatexType             Command
        InTitle               1
@@ -157,9 +149,8 @@ Style Title
        BottomSep             1
        ParSep                1
        Align                 Left
-       AlignPossible         Left
        LabelType             No_Label
-       TextFont 
+       TextFont
          Series              Bold
          Size                Normal
        EndFont
@@ -167,6 +158,7 @@ End
 
 
 Style Author
+       Category              FrontMatter
        Margin                Static
        LatexType             Command
        InTitle               1
@@ -178,12 +170,11 @@ Style Author
        ParSep                0.7
        LeftMargin            MM
        Align                 Left
-       AlignPossible         Left
        LabelType             No_Label
 End
 
 
-Style Abstract 
+Style Abstract
        Margin                Static
        LatexType             Environment
        LatexName             abstract
@@ -196,15 +187,14 @@ Style Abstract
        BottomSep             1.5
        ParSep                0
        Align                 Block
-       AlignPossible         Block
-       LabelType             Top_Environment
-       LabelString           Abstract
+       LabelType             Above
+       LabelString           "Abstract"
        LabelBottomSep    0.5
-       TextFont 
+       TextFont
          Size                Normal
        EndFont
-       LabelFont 
+       LabelFont
          Size                Normal
          Series              Bold
        EndFont
-End 
+End