]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/aapaper.layout
AEA.layout: restore a style
[lyx.git] / lib / layouts / aapaper.layout
index f2e8770e4b20f347b3a702031595a1d0724810d6..9e4f48166e8da97110dd11024a54207b89558be5 100644 (file)
@@ -1,5 +1,6 @@
 #% 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>
 
 # 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 11
+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
@@ -119,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
@@ -133,6 +142,7 @@ Style Section
        Font
          Size                Normal
        EndFont
+       TocLevel 1
 End
 
 
@@ -144,6 +154,7 @@ Style Subsection
          Size                Normal
          Shape               Italic
        EndFont
+       TocLevel 2
 End
 
 
@@ -154,6 +165,7 @@ Style Subsubsection
          Series              Medium
          Size                Normal
        EndFont
+       TocLevel 3
 End
 
 
@@ -196,7 +208,7 @@ Style Abstract
        ParIndent             ""
        TopSep                1.4
        BottomSep             0.7
-       LabelType             Top_Environment
+       LabelType             Above
        Font
          Size                Normal
        EndFont