]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/aa.layout
Change LFUN_FONT_CODE to LFUN_FONT_TYPEWERITER, possibly in preparation for a move...
[lyx.git] / lib / layouts / aa.layout
index f6f0e5cd0bd76bdda5ea72356d7cc8e99a331688..b86d220d947f56e8ceae53afaa37ecda0de04b95 100644 (file)
@@ -1,7 +1,7 @@
 #% Do not delete the line below; configure depends on this
 #  \DeclareLaTeXClass[aa]{article (A&A)}
 #
-# Author: Peter Sütterlin <pit@uni-sw.gwdg.de>
+# Author: Peter Sütterlin <pit@uni-sw.gwdg.de>
 #
 # 2001-05-17  take out include of stdlayouts; merge aapaper.inc
 #             remove LaTeX style, rename to aa
 #             change layout of title
 #             abstract is command
 
-# General textclass parameters
+
+Format 5
 Columns                 2
 Sides                   2
-MaxCounter              Counter_Section
 SecNumDepth             3
 TocDepth                0
 PageStyle               Plain
 
-DefaultFont
-       Family                Roman
-       Series                Medium
-       Shape                 Up
-       Size                  Normal
-       Color                 None
-EndFont
 
-# Standard style definition
 Style Standard
        Margin                Static
        LatexType             Paragraph
@@ -38,66 +30,80 @@ Style Standard
        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 Section
-       End
+End
+
 Style Subsection
-       End
+End
+
 Style Subsubsection
-       End
+End
+
 Style Itemize
-       End
+End
+
 Style Enumerate
-       End
+End
+
 Style Description
-       End
+End
+
 Style List
-       End
-Style Caption
-       End
+End
+
+
 Style Title
-       End
+End
+
 Style Subtitle
-       End
+End
+
 Style Author
-       End
+End
+
 Style Address
-       End
+End
+
 Style Offprint
-       End
+End
+
 Style Mail
-       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 stdsections.inc
 Input stdtitle.inc
 Input stdstruct.inc
 Input stdfloats.inc
 Input stdcounters.inc
-# Remove unwanted Styles
 
 NoStyle Chapter
 NoStyle Paragraph
 NoStyle Subparagraph
 NoStyle Part
 
-# Definitions only valid for A&A style
 
-# Subitle style definition
 Style Subtitle
        Margin                Static
        LatexType             Command
@@ -111,16 +117,14 @@ Style Subtitle
        ParSep                1
        Align                 Center
        LabelType             No_Label
-
-       # standard font definition
-       Font 
+       Font
          Family              Sans
          Size                Larger
          Series              Bold
        EndFont
 End
 
-# Address style definition
+
 Style Address
        LeftMargin            MMM
        Margin                Static
@@ -131,14 +135,13 @@ Style Address
 #  BottomSep            0.4
        Align                 Left
        LabelType             No_Label
-
-       Font 
+       Font
          Family              Roman
          Size                Small
        EndFont
 End
 
-# Address for Offprints style definition
+
 Style Offprint
        Margin                Static
        LatexType             Command
@@ -146,23 +149,22 @@ Style Offprint
        LatexName             offprints
        Align                 Left
        AlignPossible         Left
-       LeftMargin            "MNMOffprint Requests to:"
+       LeftMargin            "Offprint Requests to:M"
        LabelType             Static
        LabelString           "Offprint Requests to:"
        LabelSep              M
-
-       Font 
+       Font
          Family              Roman
          Size                Small
        EndFont
-       LabelFont 
+       LabelFont
          Family              Roman
          Size                Small
          Shape               Slanted
        EndFont
 End
 
-# Mail address style definition
+
 Style Mail
        Margin                Static
        LatexType             Command
@@ -170,16 +172,15 @@ Style Mail
        LatexName             mail
        Align                 Left
        AlignPossible         Left
-       LeftMargin            "MJMCorrespondence to:"
+       LeftMargin            "Correspondence to:M"
        LabelType             Static
        LabelString           "Correspondence to:"
        LabelSep              M
-
-       Font 
+       Font
          Family              Roman
          Size                Small
        EndFont
-       LabelFont 
+       LabelFont
          Family              Roman
          Size                Small
          Shape               Slanted
@@ -187,7 +188,6 @@ Style Mail
 End
 
 
-# Acnowledgement style definition
 Style Acknowledgement
        Margin                First_Dynamic
        LatexType             Environment
@@ -202,54 +202,32 @@ Style Acknowledgement
        LabelType             Static
        LabelString           "Acknowledgements."
        LabelSep              M
-       # standard font definition
-       Font 
+       Font
          Size                Small
        EndFont
-
-       # label font definition
-       LabelFont 
+       LabelFont
          Size                Small
          Shape               Italic
        EndFont
-End 
-       
-# Caption style definition
-Style Caption
-       Margin                First_Dynamic
-       LatexType             Command
-       LatexName             caption
-       NeedProtect           1
-       LabelSep              xx
-       ParSkip               0.4
-       TopSep                0.5
-       Align                 Center
-       AlignPossible         Center
-       LabelType             Sensitive
-       LabelString           Caption
-
-       LabelFont 
-         Series              Bold
-       EndFont
 End
 
-# Redefine some things
 
-# Section style redefinition
+
+
 Style Section
        TopSep                2.0
        BottomSep             1.3
-       Font 
+       Font
          Family              Sans
          Size                Large
        EndFont
 End
 
-# Subsection style redefinition
+
 Style Subsection
        TopSep                1.7
        BottomSep             1.1
-       Font 
+       Font
          Family              Sans
          Series              Medium
          Size                Large
@@ -257,54 +235,54 @@ Style Subsection
        EndFont
 End
 
-# Subsubsection style redefinition
+
 Style Subsubsection
        TopSep                1.7
        BottomSep             1.1
-       Font 
+       Font
          Series              Medium
          Size                Normal
        EndFont
 End
 
-# Title style redefinition
+
 Style Title
        TopSep                2
        BottomSep             1.3
        Align                 Center
        AlignPossible         Left
-       Font 
+       Font
          Family              Sans
          Series              Bold
        EndFont
 End
 
-# Author style redefinition
+
 Style Author
        Align                 Center
        AlignPossible         Center
        LabelType             No_Label
        BottomSep             1.5
-       Font 
+       Font
          Size                Large
          Series              Medium
        EndFont
 End
 
-# Date style redefinition
+
 Style Date
        LeftMargin            MMM
        LabelSep              ""
        TopSep                1.2
        Align                 Left
        AlignPossible         Left
-       Font 
+       Font
          Size                Small
        EndFont
 End
 
-# Abstract style redefinition
-Style Abstract 
+
+Style Abstract
        Margin                First_Dynamic
        LatexType             Command
        LatexName             abstract
@@ -320,26 +298,24 @@ Style Abstract
        Align                 Block
        AlignPossible         Block
        LabelType             static
-       LabelString           "         Abstract "
+       LabelString           "Abstract"
        LabelSep              M
        LabelBottomSep        0
-
-       Font 
+       Font
          Size                Small
        EndFont
-       LabelFont 
+       LabelFont
          Family              Sans
          Series              Bold
          Size                Small
        EndFont
-End 
+End
+
 
-# Bibliography style redefinition
 Style Bibliography
        Align                 Left
        AlignPossible         Left
-       LabelFont 
+       LabelFont
          Series              Bold
        EndFont
 End
-