]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/aastex.layout
- aa.layout: updatesd for aa.cls version 6.1
[lyx.git] / lib / layouts / aastex.layout
index 9345e5950596aa6aaf18372722f0e8a84fdb4a63..6a6bdb04217392e88724a0dfdafd04d4d30ec2e8 100644 (file)
@@ -1,7 +1,9 @@
 #% Do not delete the line below; configure depends on this
 #  \DeclareLaTeXClass[aastex]{article (AASTeX)}
 #
-# Author: Mike Ressler <mike.ressler@alum.mit.edu>
+# Authors:
+#  Mike Ressler <mike.ressler@alum.mit.edu>
+#  Uwe Stöhr <uwestoehr@web.de>
 #
 # 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
 # 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
+# Version 1.4   26-10-2008  - new custom insets for \altaffilmark, \tablenotemark
+#                           - new environments for \altaffiltext and \tablenotetext
 
 
+Format 11
 Columns                 1
 Sides                   1
 #SecNumDepth            3
 TocDepth                0
 PageStyle               Plain
-ProvidesAmsmath         1
-ProvidesNatbib          1
-ProvidesUrl             1
+Provides amsmath         1
+Provides natbib          1
+Provides url             1
 
 
 ClassOptions
@@ -129,8 +134,6 @@ End
 Style TableRefs
 End
 
-Style Caption
-End
 
 Style MathLetters
 End
@@ -150,8 +153,8 @@ End
 # OK, now we have a more or less consistent Ordering. Now fill the
 # definitions. First, the standard includes
 
+Input stdinsets.inc
 Input stdsections.inc
-Input numarticle.inc
 Input stdtitle.inc
 Input stdstruct.inc
 Input stdlists.inc
@@ -167,7 +170,6 @@ NoStyle Bibliography
 
 Style Section
        Align                 Center
-       AlignPossible         Center
        NextNoIndent          0
        TopSep                2.0
        BottomSep             1.3
@@ -180,7 +182,6 @@ End
 
 Style Subsection
        Align                 Center
-       AlignPossible         Center
        NextNoIndent          0
        TopSep                1.7
        BottomSep             1.1
@@ -193,7 +194,6 @@ End
 
 Style Subsubsection
        Align                 Center
-       AlignPossible         Center
        NextNoIndent          0
        TopSep                1.7
        BottomSep             1.1
@@ -206,161 +206,197 @@ End
 
 
 Style Title
-       TopSep                2
-       BottomSep             1.3
-       Align                 Center
-       AlignPossible         Center
-       InTitle               0
+       TopSep                  2
+       BottomSep               1.3
+       Align                   Center
+       InTitle                 0
        Font
-         Series              Bold
-         Size                Large
+         Series                Bold
+         Size                  Large
        EndFont
 End
 
 
 Style Author
-       Align                 Center
-       AlignPossible         Center
-       LabelType             No_Label
-       InTitle               0
+       Align                   Center
+       LabelType               No_Label
+       InTitle                 0
        Font
-         Size                Normal
-         Series              Medium
-         Shape               SmallCaps
+         Size                  Normal
+         Series                Medium
+         Shape                 SmallCaps
        EndFont
 End
 
 
 Style Date
-       LabelSep              ""
-       TopSep                1.2
-       Align                 Center
-       AlignPossible         Center
-       InTitle               0
+       InTitle                 0
+       LabelSep                ""
+       TopSep                  1.2
+       Align                   Center
        Font
-         Size                Small
+         Size                  Small
        EndFont
 End
 
 
 Style Abstract
-       LeftMargin            "MMM"
-       RightMargin           "MMM"
-       ParIndent             "MM"
-       TopSep                1.4
-       BottomSep             0.7
-       LabelType             Centered_Top_Environment
-       Align                 Block
-       AlignPossible         Block, Left, Right, Center
+       LeftMargin              "MMM"
+       RightMargin             "MMM"
+       ParIndent               "MM"
+       InTitle                 0
+       TopSep                  1.4
+       BottomSep               0.7
+       LabelType               Centered_Top_Environment
+       Align                   Block
+       AlignPossible           Block, Left, Right, Center
        Font
-         Size                Normal
+         Size                  Normal
        EndFont
        LabelFont
-         Series              Bold
-         Size                Normal
+         Series                Bold
+         Size                  Normal
        EndFont
 End
 
 
 Style Affiliation
-       Margin                Static
-       LatexType             Command
-       InTitle               0
-       LatexName             affil
-       ParSkip               0.4
-       BottomSep             0.4
-       Align                 Center
-       AlignPossible         Block, Left, Right, Center
-       LabelType             No_Label
+       Margin                  Static
+       LatexType               Command
+       LatexName               affil
+       Category                FrontMatter
+       ParSkip                 0.4
+       BottomSep               0.4
+       Align                   Center
+       AlignPossible           Block, Left, Right, Center
+       LabelType               No_Label
+       Font
+         Family                Roman
+         Size                  Normal
+       EndFont
+End
+
+
+Style Altaffilation
+       Margin                  Dynamic
+       LatexType               Command
+       LatexName               altaffiltext
+       Category                FrontMatter
+       ParSkip                 0.4
+       Align                   Block
+       LabelSep                xx
+       LabelType               Static
+       LabelString             "Alternative affiliation:"
+       LabelFont
+         Color                 green
+       EndFont
+End
+
 
+InsetLayout altaffilmark
+       LyxType                 custom
+       LatexType               command
+       LatexName               altaffilmark
+       LabelString             "altaffiliation mark"
        Font
-         Family              Roman
-         Size                Normal
+         Color                 foreground
+         Size                  Small
+         Family                Roman
+         Shape                 Up
+         Series                Medium
+         Misc                  No_Emph
+         Misc                  No_Noun
+         Misc                  No_Bar
+       EndFont
+       LabelFont
+         Color                 green
+         Size                  Small
        EndFont
 End
 
 
 Style Keywords
-       LeftMargin            MMM
-       Margin                Dynamic
-       LatexType             Command
-       InTitle               0
-       LatexName             keywords
-       ParSkip               0.4
-       BottomSep             0.4
-       Align                 Block
-       AlignPossible         Block, Left, Right, Center
-       LabelType             Static
-       LabelSep              M
-       LabelString           "Subject headings:"
+       LeftMargin              MMM
+       Margin                  Dynamic
+       LatexType               Command
+       InTitle                 0
+       LatexName               keywords
+       Category                FrontMatter
+       ParSkip                 0.4
+       BottomSep               0.4
+       Align                   Block
+       AlignPossible           Block, Left, Right, Center
+       LabelType               Static
+       LabelSep                M
+       LabelString             "Subject headings:"
        Font
-         Family              Roman
-         Shape               Up
-         Size                Normal
+         Family                Roman
+         Shape                 Up
+         Size                  Normal
        EndFont
        LabelFont
-         Family              Roman
-         Shape               Italic
-         Size                Normal
+         Family                Roman
+         Shape                 Italic
+         Size                  Normal
        EndFont
 End
 
 
 Style Email
-       Margin                Static
-       LatexType             Command
-       InTitle               0
-       LatexName             email
-       ParSkip               0.4
-       BottomSep             0.4
-       Align                 Center
-       AlignPossible         Block, Left, Right, Center
-       LabelType             No_Label
+       Margin                  Static
+       LatexType               Command
+       InTitle                 0
+       LatexName               email
+       Category                FrontMatter
+       ParSkip                 0.4
+       BottomSep               0.4
+       Align                   Center
+       AlignPossible           Block, Left, Right, Center
+       LabelType               No_Label
        Font
-         Family              Roman
-         Size                Normal
-         Shape               Italic
+         Family                Roman
+         Size                  Normal
+         Shape                 Italic
        EndFont
 End
 
 
 Style Acknowledgements
-       Margin                Dynamic
-       LatexType             Command
-       InTitle               0
-       LatexName             acknowledgements
-       TopSep                1.2
-       ParSkip               0.4
-       BottomSep             0.8
-       Align                 Left
-       AlignPossible         Left
-       LabelType             Static
-       LabelString           [Acknowledgements]
-       KeepEmpty             1
+       Margin                  Dynamic
+       LatexType               Command
+       InTitle                 0
+       LatexName               acknowledgements
+       TopSep                  1.2
+       ParSkip                 0.4
+       BottomSep               0.8
+       Align                   Left
+       LabelType               Static
+       LabelString             "[Acknowledgements]"
+       KeepEmpty               1
        Font
-         Family              Roman
-         Size                Normal
-         Shape               Italic
+         Family                Roman
+         Size                  Normal
+         Shape                 Italic
        EndFont
 End
 
 
 Style And
-       Margin                Dynamic
-       LatexType             Command
-       InTitle               0
-       LatexName             and
-       TopSep                1.2
-       ParSkip               0.4
-       BottomSep             1.2
-       Align                 Center
-       AlignPossible         Center
-       LabelType             Static
-       LabelString           and
-       KeepEmpty             1
+       Margin                  Dynamic
+       LatexType               Command
+       InTitle                 0
+       LatexName               and
+       Category                FrontMatter
+       TopSep                  1.2
+       ParSkip                 0.4
+       BottomSep               1.2
+       Align                   Center
+       LabelType               Static
+       LabelString             "and"
+       KeepEmpty               1
        Font
-         Family              Roman
-         Size                Normal
+         Family                Roman
+         Size                  Normal
        EndFont
 End
 
@@ -374,9 +410,9 @@ Style PlaceFigure
        ParSkip               0.4
        BottomSep             0.8
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
-       LabelString           "Place Figure here: "
+       LabelSep              M
+       LabelString           "Place Figure here:"
        Font
          Family              Roman
          Size                Normal
@@ -394,9 +430,9 @@ Style PlaceTable
        ParSkip               0.4
        BottomSep             0.8
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
-       LabelString           "Place Table here: "
+       LabelSep              M
+       LabelString           "Place Table here:"
        Font
          Family              Roman
          Size                Normal
@@ -408,15 +444,14 @@ End
 Style Appendix
        Margin                Dynamic
        LatexType             Command
-       InTitle               0
        LatexName             appendix
+       Category                BackMatter
        TopSep                1.2
        ParSkip               0.4
        BottomSep             0.8
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
-       LabelString           [Appendix]
+       LabelString           "[Appendix]"
        KeepEmpty             1
        Font
          Family              Roman
@@ -440,8 +475,9 @@ End
 
 Style References
        Margin                First_Dynamic
-       LatexType             Item_Environment
+       LatexType             Bib_Environment
        LatexName             thebibliography
+       Category                BackMatter
        NextNoIndent          1
        LeftMargin            MM
        ParSkip               0.4
@@ -450,7 +486,7 @@ Style References
        BottomSep             0.7
        ParSep                0.5
        LabelType             Bibliography
-       LabelString           References
+       LabelString           "References"
        LabelBottomSep        0.7
        Align                 Block
        AlignPossible         Block, Left, Right, Center
@@ -475,7 +511,8 @@ Style NoteToEditor
        Align                 Left
        AlignPossible         Block, Left, Right, Center
        LabelType             Static
-       LabelString           "Note to Editor: "
+       LabelSep              M
+       LabelString           "Note to Editor:"
        Font
          Family              Roman
          Size                Normal
@@ -495,7 +532,8 @@ Style TableRefs
        Align                 Block
        AlignPossible         Block, Left, Right, Center
        LabelType             Static
-       LabelString           "References. --- "
+        LabelSep              M
+       LabelString           "References. ---"
        Font
          Family              Roman
          Size                Normal
@@ -514,7 +552,8 @@ Style TableComments
        Align                 Block
        AlignPossible         Block, Left, Right, Center
        LabelType             Static
-       LabelString           "Note. --- "
+        LabelSep              M
+       LabelString           "Note. ---"
        Font
          Family              Roman
          Size                Normal
@@ -522,20 +561,39 @@ Style TableComments
 End
 
 
-Style Caption
-       Margin                First_Dynamic
-       LatexType             Command
-       LatexName             caption
-       NeedProtect           1
-       LabelSep              xx
-       ParSkip               0.4
-       TopSep                0.5
-       Align                 Block
-       AlignPossible         Block, Left
-       LabelType             Sensitive
-       LabelString           Caption
+Style "Table note"
+       Margin                  Dynamic
+       LatexType               Command
+       LatexName               tablenotetext
+       ParSkip                 0.4
+       Align                   Block
+       LabelSep                xx
+       LabelType               Static
+       LabelString             "Table note:"
        LabelFont
-         Series              Bold
+         Color                 magenta
+       EndFont
+End
+
+
+InsetLayout tablenotemark
+       LyxType                 custom
+       LatexType               command
+       LatexName               tablenotemark
+       LabelString             "tablenote mark"
+       Font
+         Color                 foreground
+         Size                  Small
+         Family                Roman
+         Shape                 Up
+         Series                Medium
+         Misc                  No_Emph
+         Misc                  No_Noun
+         Misc                  No_Bar
+       EndFont
+       LabelFont
+         Color                 magenta
+         Size                  Small
        EndFont
 End
 
@@ -550,7 +608,7 @@ Style FigCaption
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Static
-       LabelString           "Fig. --- "
+       LabelString           "Fig. ---"
        OptionalArgs          1
 End