]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/aapaper.layout
AEA.layout: restore a style
[lyx.git] / lib / layouts / aapaper.layout
index c1dee816d0b21aa93abc4cc921acae5c0d3a5ec6..9e4f48166e8da97110dd11024a54207b89558be5 100644 (file)
@@ -1,20 +1,21 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[aa]{article (A&A V4)}
+#  \DeclareLaTeXClass[aa]{Astronomy & Astrophysics (V. 4, Obsolete)}
+#  \DeclareCategory{Articles}
 #
-# Author: Peter Sütterlin <pit@uni-sw.gwdg.de>
+# Author: Peter Sütterlin <pit@uni-sw.gwdg.de>
 
 # This is for the old Springer layout of A&A (aa.cls version 4.x)
-# If you still have this, please upgrade to version 5 (see Extended.lyx)
+# If you still have this, please upgrade to version 5 (see Additional.lyx)
 #
 # If you want to keep the layout for old papers I'd suggest to rename
 # the old style file to aa-old and change the second line in this file to
 #
-#  \DeclareLaTeXClass[aa-old]{article (A&A V4)}
+#  \DeclareLaTeXClass[aa-old]{Astronomy & Astrophysics (V. 4, Obsolete)}
 #
 # and reconfigure LyX (after running texhash, of course).
 
 
-Format 4
+Format 45
 Columns                 2
 Sides                   2
 SecNumDepth             3
@@ -32,6 +33,7 @@ EndFont
 
 
 Style Standard
+       Category              MainText
        Margin                Static
        LatexType             Paragraph
        LatexName             dummy
@@ -62,12 +64,15 @@ Style LaTeX
 End
 
 Style Section
+       TocLevel 1
 End
 
 Style Subsection
+       TocLevel 2
 End
 
 Style Subsubsection
+       TocLevel 3
 End
 
 Style Title
@@ -106,6 +111,7 @@ End
 # OK, now we have a more or less consistent Ordering. Now fill the
 # definitions.  First, the standard includes
 
+Input stdinsets.inc
 Input stdlists.inc
 Input stdlayouts.inc
 Input stdsections.inc
@@ -118,9 +124,13 @@ NoStyle Quotation
 NoStyle Quote
 NoStyle Verse
 NoStyle Chapter
+NoCounter chapter
 NoStyle Paragraph
+NoCounter paragraph
 NoStyle Subparagraph
+NoCounter subparagraph
 NoStyle Part
+NoCounter part
 
 
 Input aapaper.inc
@@ -132,6 +142,7 @@ Style Section
        Font
          Size                Normal
        EndFont
+       TocLevel 1
 End
 
 
@@ -143,6 +154,7 @@ Style Subsection
          Size                Normal
          Shape               Italic
        EndFont
+       TocLevel 2
 End
 
 
@@ -153,6 +165,7 @@ Style Subsubsection
          Series              Medium
          Size                Normal
        EndFont
+       TocLevel 3
 End
 
 
@@ -195,7 +208,7 @@ Style Abstract
        ParIndent             ""
        TopSep                1.4
        BottomSep             0.7
-       LabelType             Top_Environment
+       LabelType             Above
        Font
          Size                Normal
        EndFont