]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/aastex.layout
* lib/layouts/IEEEtran.layout: Add biographynophoto style
[lyx.git] / lib / layouts / aastex.layout
index e9df364583d0335749afec31a183e41b0d0b3dd7..284dd52580a1b6fd4aa4f8e9363a30af2d5a3bab 100644 (file)
@@ -1,7 +1,7 @@
 #% Do not delete the line below; configure depends on this
 #  \DeclareLaTeXClass[aastex]{article (AASTeX)}
 #
-# Author: Mike Ressler <mike.ressler@alum.mit.edu>      
+# Author: Mike Ressler <mike.ressler@alum.mit.edu>
 #
 # Disclaimer: Though I am an astronomer at the Jet Propulsion Laboratory, this
 # package was prepared on my own time on my own machine. Neither the United
@@ -16,7 +16,7 @@
 # Version 0.1   6/04/99 - Most everything in sections 2.1-2.11 of AASTeX guide
 #                         works. References work with some ERT. Regular tables
 #                         (2.14) okay, deluxetable will never be supported.
-#                         Figures (2.13) not even attempted yet. Misc (2.15) 
+#                         Figures (2.13) not even attempted yet. Misc (2.15)
 #                         partially supported, but much will remain ERT.
 #                         Style options (section 3) can be typed into Extra
 #                         Document options.
 #                         example files are available.
 # Version 1.1   7/25/99 - Changed \url to take advantage of new layout option.
 # Version 1.2   4/18/02 - Updated for natbib in 1.2.0
+# Version 1.3   5/7/04  - Updated for AASTeX 5.2
 
-# General textclass parameters
+
+Format 2
 Columns                 1
 Sides                   1
-MaxCounter              Counter_Section
 #SecNumDepth            3
 TocDepth                0
 PageStyle               Plain
 ProvidesAmsmath         1
 ProvidesNatbib          1
 ProvidesUrl             1
+
+
 ClassOptions
-       PageStyle             ""      
+       PageStyle             ""
 End
 
-DefaultFont
-       Family                Roman
-       Series                Medium
-       Shape                 Up
-       Size                  Normal
-       Color                 None
-EndFont
 
-# Standard style definition
 Style Standard
        Margin                Static
        LatexType             Paragraph
@@ -62,65 +57,99 @@ 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 in
 
 Style Section
-       End
+End
+
 Style Subsection
-       End
+End
+
 Style Subsubsection
-       End
+End
+
 Style Paragraph
-       End
+End
+
 Style Itemize
-       End
+End
+
 Style Enumerate
-       End
+End
+
 Style Description
-       End
+End
+
 Style List
-       End
+End
+
 Style Title
-       End
+End
+
 Style Author
-       End
+End
+
 Style Affiliation
-       End
+End
+
 Style Email
-       End
+End
+
 Style And
-       End
+End
+
 Style Date
-       End
-Style Abstract 
-       End
+End
+
+Style Abstract
+End
+
 Style Keywords
-       End
+End
+
 Style Acknowledgements
-       End
+End
+
 Style Appendix
-       End
+End
+
 Style References
-       End
+End
+
 Style PlaceFigure
-       End
+End
+
 Style PlaceTable
-       End
+End
+
 Style TableComments
-       End
+End
+
 Style TableRefs
-       End
+End
+
 Style Caption
-       End
+End
+
 Style MathLetters
-       End
+End
+
 Style NoteToEditor
-       End
+End
+
+Style Facility
+End
+
+Style Objectname
+End
+
+Style Dataset
+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 stdsections.inc
 Input stdtitle.inc
@@ -128,95 +157,93 @@ Input stdstruct.inc
 Input stdlists.inc
 Input stdfloats.inc
 Input stdcounters.inc
-# Remove unwanted Styles
+
 NoStyle Part
 NoStyle Chapter
 NoStyle Subparagraph
 NoStyle List
 NoStyle Bibliography
 
-# Redefine some things
 
-# Section style redefinition
 Style Section
        Align                 Center
        AlignPossible         Center
        NextNoIndent          0
        TopSep                2.0
        BottomSep             1.3
-       Font 
+       Font
          Series              Bold
          Size                Normal
        EndFont
 End
 
-# Subsection style redefinition
+
 Style Subsection
        Align                 Center
        AlignPossible         Center
        NextNoIndent          0
        TopSep                1.7
        BottomSep             1.1
-       Font 
+       Font
          Series              Bold
          Size                Normal
        EndFont
 End
 
-# Subsubsection style redefinition
+
 Style Subsubsection
        Align                 Center
        AlignPossible         Center
        NextNoIndent          0
        TopSep                1.7
        BottomSep             1.1
-       Font 
+       Font
          Series              Medium
          Shape               Italic
          Size                Normal
        EndFont
 End
 
-# Title style redefinition
+
 Style Title
        TopSep                2
        BottomSep             1.3
        Align                 Center
        AlignPossible         Center
        InTitle               0
-       Font 
+       Font
          Series              Bold
          Size                Large
        EndFont
 End
 
-# Author style redefinition
+
 Style Author
        Align                 Center
        AlignPossible         Center
        LabelType             No_Label
        InTitle               0
-       Font 
+       Font
          Size                Normal
          Series              Medium
          Shape               SmallCaps
        EndFont
 End
 
-# Date style redefinition
+
 Style Date
        LabelSep              ""
        TopSep                1.2
        Align                 Center
        AlignPossible         Center
        InTitle               0
-       Font 
+       Font
          Size                Small
        EndFont
 End
 
-# Abstract style redefinition
-Style Abstract 
+
+Style Abstract
        LeftMargin            "MMM"
        RightMargin           "MMM"
        ParIndent             "MM"
@@ -225,16 +252,16 @@ Style Abstract
        LabelType             Centered_Top_Environment
        Align                 Block
        AlignPossible         Block, Left, Right, Center
-       Font 
+       Font
          Size                Normal
        EndFont
-       LabelFont 
+       LabelFont
          Series              Bold
          Size                Normal
        EndFont
-End 
+End
+
 
-# Affiliation style definition
 Style Affiliation
        Margin                Static
        LatexType             Command
@@ -246,15 +273,15 @@ Style Affiliation
        AlignPossible         Block, Left, Right, Center
        LabelType             No_Label
 
-       Font 
+       Font
          Family              Roman
          Size                Normal
        EndFont
 End
 
-# Keywords style definition
+
 Style Keywords
-       LeftMargin            MMM     
+       LeftMargin            MMM
        Margin                Dynamic
        LatexType             Command
        InTitle               0
@@ -266,19 +293,19 @@ Style Keywords
        LabelType             Static
        LabelSep              M
        LabelString           "Subject headings:"
-       Font 
+       Font
          Family              Roman
          Shape               Up
          Size                Normal
        EndFont
-       LabelFont 
+       LabelFont
          Family              Roman
          Shape               Italic
          Size                Normal
        EndFont
 End
 
-# Email style definition
+
 Style Email
        Margin                Static
        LatexType             Command
@@ -289,132 +316,133 @@ Style Email
        Align                 Center
        AlignPossible         Block, Left, Right, Center
        LabelType             No_Label
-       Font 
+       Font
          Family              Roman
          Size                Normal
          Shape               Italic
        EndFont
 End
 
-# Acknowledgements style definition
+
 Style Acknowledgements
        Margin                Dynamic
        LatexType             Command
        InTitle               0
        LatexName             acknowledgements
-       TopSep                1.2     
+       TopSep                1.2
        ParSkip               0.4
        BottomSep             0.8
        Align                 Left
        AlignPossible         Left
        LabelType             Static
-       LabelString           [Acknowledgements]
-       KeepEmpty             1       
-       Font 
+       LabelString           "[Acknowledgements]"
+       KeepEmpty             1
+       Font
          Family              Roman
          Size                Normal
          Shape               Italic
        EndFont
 End
 
-       
-# And style definition
+
 Style And
        Margin                Dynamic
        LatexType             Command
        InTitle               0
        LatexName             and
-       TopSep                1.2     
+       TopSep                1.2
        ParSkip               0.4
        BottomSep             1.2
        Align                 Center
        AlignPossible         Center
        LabelType             Static
-       LabelString           and
-       KeepEmpty             1       
-       Font 
+       LabelString           "and"
+       KeepEmpty             1
+       Font
          Family              Roman
          Size                Normal
        EndFont
 End
-# Placefigure style definition
+
+
 Style PlaceFigure
        Margin                Dynamic
        LatexType             Command
        InTitle               0
        LatexName             placefigure
-       TopSep                1.2     
+       TopSep                1.2
        ParSkip               0.4
        BottomSep             0.8
        Align                 Left
        AlignPossible         Left
        LabelType             Static
-       LabelString           "Place Figure here: "
-       Font 
+       LabelSep              M
+       LabelString           "Place Figure here:"
+       Font
          Family              Roman
          Size                Normal
          Shape               Italic
        EndFont
 End
 
-# Placetable style definition
+
 Style PlaceTable
        Margin                Dynamic
        LatexType             Command
        InTitle               0
        LatexName             placetable
-       TopSep                1.2     
+       TopSep                1.2
        ParSkip               0.4
        BottomSep             0.8
        Align                 Left
        AlignPossible         Left
        LabelType             Static
-       LabelString           "Place Table here: "
-       Font 
+       LabelSep              M
+       LabelString           "Place Table here:"
+       Font
          Family              Roman
          Size                Normal
          Shape               Italic
        EndFont
 End
 
-# Appendix style definition
+
 Style Appendix
        Margin                Dynamic
        LatexType             Command
        InTitle               0
        LatexName             appendix
-       TopSep                1.2     
+       TopSep                1.2
        ParSkip               0.4
        BottomSep             0.8
        Align                 Left
        AlignPossible         Left
        LabelType             Static
-       LabelString           [Appendix]
-       KeepEmpty             1       
-       Font 
+       LabelString           "[Appendix]"
+       KeepEmpty             1
+       Font
          Family              Roman
          Size                Normal
          Shape               Italic
        EndFont
 End
 
-# MathLetters style redefinition
+
 Style MathLetters
-       LatexType             Environment     
+       LatexType             Environment
        LatexName             mathletters
        LabelType             No_Label
        Align                 Block
        AlignPossible         Block, Left, Right, Center
-       Font 
+       Font
          Size                Normal
        EndFont
-End 
+End
+
 
-# References style redefinition
 Style References
-       Margin                First_Dynamic   
-       LatexType             Item_Environment        
+       Margin                First_Dynamic
+       LatexType             Bib_Environment
        LatexName             thebibliography
        NextNoIndent          1
        LeftMargin            MM
@@ -424,78 +452,81 @@ Style References
        BottomSep             0.7
        ParSep                0.5
        LabelType             Bibliography
-       LabelString           References
+       LabelString           "References"
        LabelBottomSep        0.7
        Align                 Block
        AlignPossible         Block, Left, Right, Center
-       LabelFont 
+       LabelFont
          Family              Roman
          Size                Normal
          Series              Bold
        EndFont
-End 
+End
+
 
 # Need reordering below here
 
-# Notetoeditor style definition
 Style NoteToEditor
        Margin                Dynamic
        LatexType             Command
        InTitle               0
        LatexName             notetoeditor
-       TopSep                1.2     
+       TopSep                1.2
        ParSkip               0.4
        BottomSep             0.8
        Align                 Left
        AlignPossible         Block, Left, Right, Center
        LabelType             Static
-       LabelString           "Note to Editor: "
-       Font 
+       LabelSep              M
+       LabelString           "Note to Editor:"
+       Font
          Family              Roman
          Size                Normal
          Shape               Italic
        EndFont
 End
 
-# TableRefs style definition
+
 Style TableRefs
        Margin                First_Dynamic
        LatexType             Command
        InTitle               0
        LatexName             tablerefs
-       TopSep                1.2     
+       TopSep                1.2
        ParSkip               0.4
        BottomSep             0.8
        Align                 Block
        AlignPossible         Block, Left, Right, Center
        LabelType             Static
-       LabelString           "References. --- "
-       Font 
+        LabelSep              M
+       LabelString           "References. ---"
+       Font
          Family              Roman
          Size                Normal
        EndFont
 End
 
-# TableComments style definition
+
 Style TableComments
        Margin                First_Dynamic
        LatexType             Command
        InTitle               0
        LatexName             tablecomments
-       TopSep                1.2     
+       TopSep                1.2
        ParSkip               0.4
        BottomSep             0.8
        Align                 Block
        AlignPossible         Block, Left, Right, Center
        LabelType             Static
-       LabelString           "Note. --- "
-       Font 
+        LabelSep              M
+       LabelString           "Note. ---"
+       Font
          Family              Roman
          Size                Normal
        EndFont
 End
 
-# Caption style definition
+
 Style Caption
        Margin                First_Dynamic
        LatexType             Command
@@ -507,25 +538,104 @@ Style Caption
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Sensitive
-       LabelString           Caption
-
-       # label font definition
-       LabelFont 
+       LabelString           "Caption"
+       LabelFont
          Series              Bold
        EndFont
 End
 
-# FigCaption style definition
+
 Style FigCaption
        Margin                First_Dynamic
        LatexType             Command
        LatexName             figcaption
-       LatexParam            [FileName]
        LabelSep              xx
        ParSkip               0.4
        TopSep                0.5
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Static
-       LabelString           "Fig. --- "
+       LabelString           "Fig. ---"
+       OptionalArgs          1
+End
+
+# Facility style definition
+Style Facility
+       LeftMargin            MMM
+       Margin                Dynamic
+       LatexType             Command
+       InTitle               0
+       LatexName             facility
+       ParSkip               0.4
+       BottomSep             0.4
+       Align                 Block
+       AlignPossible         Block, Left, Right, Center
+       LabelType             Static
+       LabelSep              M
+       LabelString           "Facility:"
+       Font
+         Family              Roman
+         Shape               Up
+         Size                Normal
+       EndFont
+       LabelFont
+         Family              Roman
+         Shape               Italic
+         Size                Normal
+       EndFont
 End
+
+# Objectname style definition
+Style Objectname
+       LeftMargin            MMM
+       Margin                Dynamic
+       LatexType             Command
+       InTitle               0
+       LatexName             objectname
+       ParSkip               0.4
+       BottomSep             0.4
+       Align                 Block
+       AlignPossible         Block, Left, Right, Center
+       LabelType             Static
+       LabelSep              M
+       LabelString           "Obj:"
+       OptionalArgs          1
+       Font
+         Family              Roman
+         Shape               Up
+         Size                Normal
+       EndFont
+       LabelFont
+         Family              Roman
+         Shape               Italic
+         Size                Normal
+       EndFont
+End
+
+# Dataset style definition
+Style Dataset
+       LeftMargin            MMM
+       Margin                Dynamic
+       LatexType             Command
+       InTitle               0
+       LatexName             dataset
+       ParSkip               0.4
+       BottomSep             0.4
+       Align                 Block
+       AlignPossible         Block, Left, Right, Center
+       LabelType             Static
+       LabelSep              M
+       LabelString           "Dataset:"
+       OptionalArgs          1
+       Font
+         Family              Roman
+         Shape               Up
+         Size                Normal
+       EndFont
+       LabelFont
+         Family              Roman
+         Shape               Italic
+         Size                Normal
+       EndFont
+End
+