]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/aapaper.layout
AEA.layout: restore a style
[lyx.git] / lib / layouts / aapaper.layout
index 03600e5c85b2a6f50e15e491a57d826423c64d70..9e4f48166e8da97110dd11024a54207b89558be5 100644 (file)
 #% 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).
 
-# General textclass parameters
-Columns                        2
-Sides                  2
-MaxCounter             Counter_Section
-SecNumDepth            3
-TocDepth               0
-PageStyle              Plain
+
+Format 45
+Columns                 2
+Sides                   2
+SecNumDepth             3
+TocDepth                0
+PageStyle               Plain
+
 
 DefaultFont
-  Family               Roman
-  Series               Medium
-  Shape                        Up
-  Size                 Normal
-  Color                        None
+       Family                Roman
+       Series                Medium
+       Shape                 Up
+       Size                  Normal
+       Color                 None
 EndFont
 
-# Standard style definition
+
 Style Standard
-  Margin               Static
-  LatexType            Paragraph
-  LatexName            dummy
-  ParIndent            MM
-  ParSkip              0.4
-  Align                Block
-  AlignPossible        Block, Left, Right, Center
-  LabelType            No_Label
+       Category              MainText
+       Margin                Static
+       LatexType             Paragraph
+       LatexName             dummy
+       ParIndent             MM
+       ParSkip               0.4
+       Align                 Block
+       AlignPossible         Block, Left, Right, Center
+       LabelType             No_Label
 End
 
+
 # I want to keep the entries in a logical order.
 # Therefore I'll define the entries first, then fill them
-
 Style Itemize
-  End
+End
+
 Style Enumerate
-  End
+End
+
 Style Description
-  End
+End
+
 Style List
-  End
-Style Caption
-  End
+End
+
+
 Style LaTeX
-  End
+End
+
 Style Section
-  End
+       TocLevel 1
+End
+
 Style Subsection
-  End
+       TocLevel 2
+End
+
 Style Subsubsection
-  End
+       TocLevel 3
+End
+
 Style Title
-  End
+End
+
 Style Subtitle
-  End
+End
+
 Style Author
-  End
+End
+
 Style Address
-  End
+End
+
 Style Email
-  End
+End
+
 Style Offprint
-  End
+End
+
 Style Thesaurus
-  End
+End
+
 Style Date
-  End
-Style Abstract 
-  End
+End
+
+Style Abstract
+End
+
 Style Acknowledgement
-  End
+End
+
 Style Bibliography
-  End
+End
 
 # OK, now we have a more or less consistent Ordering. Now fill the
-# definitions. 
-# First, the standard includes
+# definitions.  First, the standard includes
 
+Input stdinsets.inc
 Input stdlists.inc
 Input stdlayouts.inc
 Input stdsections.inc
@@ -96,107 +119,110 @@ Input stdtitle.inc
 Input stdstruct.inc
 Input stdfloats.inc
 Input stdcounters.inc
-# Remove unwanted Styles
 
 NoStyle Quotation
-NoStyle        Quote
-NoStyle        Verse
+NoStyle Quote
+NoStyle Verse
 NoStyle Chapter
+NoCounter chapter
 NoStyle Paragraph
+NoCounter paragraph
 NoStyle Subparagraph
+NoCounter subparagraph
 NoStyle Part
+NoCounter part
+
 
-# Definitions only valid for A&A style
 Input aapaper.inc
 
-# Redefine some things
 
-# Section style redefinition
 Style Section
-  TopSep               2.0
-  BottomSep            1.3
-  Font 
-    Size               Normal
-  EndFont
+       TopSep                2.0
+       BottomSep             1.3
+       Font
+         Size                Normal
+       EndFont
+       TocLevel 1
 End
 
-# Subsection style redefinition
+
 Style Subsection
-  TopSep               1.7
-  BottomSep            1.1
-  Font 
-    Series             Medium
-    Size               Normal
-    Shape              Italic
-  EndFont
+       TopSep                1.7
+       BottomSep             1.1
+       Font
+         Series              Medium
+         Size                Normal
+         Shape               Italic
+       EndFont
+       TocLevel 2
 End
 
-# Subsubsection style redefinition
+
 Style Subsubsection
-  TopSep               1.7
-  BottomSep            1.1
-  Font 
-    Series             Medium
-    Size               Normal
-  EndFont
+       TopSep                1.7
+       BottomSep             1.1
+       Font
+         Series              Medium
+         Size                Normal
+       EndFont
+       TocLevel 3
 End
 
-# Title style redefinition
+
 Style Title
-  TopSep               2
-  BottomSep            1.3
-  Align                        Left
-  AlignPossible                Left
-  Font 
-    Series             Bold
-  EndFont
+       TopSep                2
+       BottomSep             1.3
+       Align                 Left
+       AlignPossible         Left
+       Font
+         Series              Bold
+       EndFont
 End
 
-# Author style redefinition
+
 Style Author
-  Align                        Left
-  AlignPossible                Left
-  LabelType            No_Label
-  Font 
-    Size               Normal
-    Series             Bold
-  EndFont
+       Align                 Left
+       AlignPossible         Left
+       LabelType             No_Label
+       Font
+         Size                Normal
+         Series              Bold
+       EndFont
 End
 
-# Date style redefinition
+
 Style Date
-  LabelSep             ""
-  TopSep               1.2
-  Align                        Left
-  AlignPossible                Left
-  Font 
-    Size               Small
-  EndFont
-End
-
-# Abstract style redefinition
-Style Abstract 
-  LeftMargin            ""
-  RightMargin           ""
-  ParIndent            ""
-  TopSep               1.4
-  BottomSep            0.7
-  LabelType            Top_Environment
-  Font 
-    Size               Normal
-  EndFont
-  LabelFont 
-    Series             Bold
-    Size               Normal
-  EndFont
-End 
-
-# Bibliography style redefinition
-Style Bibliography
-  Align                        Left
-  AlignPossible                Left
-  LabelFont 
-    Series             Bold
-  EndFont
+       LabelSep              ""
+       TopSep                1.2
+       Align                 Left
+       AlignPossible         Left
+       Font
+         Size                Small
+       EndFont
+End
+
+
+Style Abstract
+       LeftMargin            ""
+       RightMargin           ""
+       ParIndent             ""
+       TopSep                1.4
+       BottomSep             0.7
+       LabelType             Above
+       Font
+         Size                Normal
+       EndFont
+       LabelFont
+         Series              Bold
+         Size                Normal
+       EndFont
 End
 
+
+Style Bibliography
+       Align                 Left
+       AlignPossible         Left
+       LabelFont
+         Series              Bold
+       EndFont
+End