]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/revtex4.layout
New layout for aastex6.cls. Fixes #10027.
[lyx.git] / lib / layouts / revtex4.layout
index a468f2e78dcfb816f8224f3fb2df3c907117e5a3..cc4429c4b0c9cb1a5f9f66632b97d1e11dfdf4d2 100644 (file)
@@ -1,5 +1,6 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[revtex4,natbib.sty,revsymb.sty]{article (REVTeX 4)}
+#  \DeclareLaTeXClass[revtex4,natbib.sty,revsymb.sty]{REVTeX (V. 4)}
+#  \DeclareCategory{Articles}
 # RevTeX 4 textclass definition file. Based on:
 # AMS-Article textclass definition file. Taken from initial LyX source code
 # and from the Article textclass definition file, following the AMS sample
@@ -10,7 +11,7 @@
 #          Amir Karger (RevTeX 4 beta) 9/1999, 7/2000
 # Heavily modifed and enhanced by serveral developers.
 
-Format 35
+Format 60
 
 Columns                   1
 Sides                     1
@@ -67,12 +68,6 @@ Style Section
        Font
          Shape               Smallcaps
        EndFont
-       TocLevel              1
-End
-
-
-Style Subsection
-       TocLevel              2
 End
 
 
@@ -81,18 +76,14 @@ Style Subsubsection
          Series              Medium
          Shape               Italic
        EndFont
-       TocLevel              3
 End
 
 
 Style Paragraph
-       TopSep                0.7
-       ParSep                0.4
        Font
          Series              Medium
          Shape               Italic
        EndFont
-       TocLevel              4
 End
 
 # then define the unumbered sections, based on the numbered ones.
@@ -158,13 +149,29 @@ Style Affiliation
 End
 
 
-Style AltAffiliation
+Style Affiliation_(alternate)
        CopyStyle             Affiliation
        PassThru              1
        ParbreakIsNewline     1
        LatexName             altaffiliation
-       OptionalArgs          1
-       LabelString           "AltAffiliation"
+       Argument 1
+               LabelString   "Alternate Affiliation Option"
+               Tooltip       "Optional argument to the altaffiliation command"
+       EndArgument
+       LabelString           "Affiliation (alternate):"
+End
+
+
+Style Affiliation_(none)
+       CopyStyle             Affiliation
+       KeepEmpty             1
+       LabelString           "No affiliation"
+       LatexName             noaffiliation%
+End
+
+
+Style AltAffiliation
+       ObsoletedBy           Affiliation_(alternate)
 End
 
 
@@ -177,6 +184,13 @@ Style Address
 End
 
 
+Style Collaboration
+       CopyStyle             Affiliation
+       LatexName             collaboration
+       LabelString           "Collaboration:"
+End
+
+
 Style Thanks
        CopyStyle             Affiliation
        LatexName             thanks
@@ -189,7 +203,10 @@ Style Author_Email
        PassThru              1
        ParbreakIsNewline     1
        LatexName             email
-       OptionalArgs          1
+       Argument 1
+               LabelString   "Electronic Address Option|s"
+               Tooltip       "Optional argument to the email command"
+       EndArgument
        LabelString           "Electronic Address:"
        TextFont
          Family              Typewriter
@@ -205,7 +222,10 @@ Style Author_URL
        PassThru              1
        ParbreakIsNewline     1
        LatexName             homepage
-       OptionalArgs          1
+       Argument 1
+               LabelString   "Author URL Option"
+               Tooltip       "Optional argument to the homepage command"
+       EndArgument
        LabelString           "URL:"
 End
 
@@ -226,7 +246,7 @@ Style Acknowledgments
        TopSep                0.7
        Align                 Block
        AlignPossible         Block, Left, Right, Center
-       LabelType             Centered_Top_Environment
+       LabelType             Centered
        LabelString           "Acknowledgments"
        LabelBottomSep        0.5
        LabelFont