]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/revtex4.layout
DocBook: implement Hollywood layout.
[lyx.git] / lib / layouts / revtex4.layout
index b585f06d25bc6c4bd1ba181ec48d3c93594998fc..6597d550b40c74dc112a257de3f78c7f11861086 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
 #          Amir Karger (RevTeX 4 beta) 9/1999, 7/2000
 # Heavily modifed and enhanced by serveral developers.
 
-Format 35
+Format 85
 
 Columns                   1
 Sides                     1
 PageStyle                 Headers
+
 Provides natbib-internal  1
 Provides url              1
+Provides tablefootnote    1
+Provides footnote-alternative 1
 
 SecNumDepth               4
 TocDepth                  3
@@ -148,13 +152,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
 
 
@@ -167,6 +187,13 @@ Style Address
 End
 
 
+Style Collaboration
+       CopyStyle             Affiliation
+       LatexName             collaboration
+       LabelString           "Collaboration:"
+End
+
+
 Style Thanks
        CopyStyle             Affiliation
        LatexName             thanks
@@ -179,7 +206,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
@@ -195,7 +225,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
 
@@ -216,7 +249,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
@@ -247,5 +280,11 @@ Style Keywords
 End
 
 
+# RevTeX uses normal footnotes in tables
+InsetLayout Foot:InFloatTable
+       CopyStyle             Foot
+End
+
+
 Input stdfloats.inc
 Input stdcounters.inc