]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/revtex4-1.layout
Enumerate isn't always defined when the case stuff is included.
[lyx.git] / lib / layouts / revtex4-1.layout
index 244a9b30f3067af389d140192447b040b548d317..f7565961d0cec0de2ecf2e4b78a4ad1cc3f00aee 100644 (file)
@@ -1,17 +1,18 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[revtex4-1,natbib.sty,revsymb4-1.sty,textcase.sty,url.sty]{article (REVTeX 4.1)}
+#  \DeclareLaTeXClass[revtex4-1,natbib.sty,revsymb4-1.sty,textcase.sty,url.sty]{REVTeX (V. 4.1)}
+#  \DeclareCategory{Articles}
 # REVTeX 4.1 textclass definition file.
 # Based on official article.layout, revtex4.layout and stdclass.inc definition files,
 # and on the unofficial revtex4-1.layout by Manoj Rajagopalan, posted to the wiki.
 
-# Author: Julien Rioux <jrioux@physics.utoronto.ca>
+# Author: Julien Rioux <jrioux@lyx.org>
 
 # Some notes:
 #   - The \definecolor's are there to avoid LyX bug #4625.
 #   - We provide natbib-internal according to LyX bug #5182.
 #   - The command \lovname is missing from the class file.
 
-Format 35
+Format 45
 
 Input stdclass.inc
 Input numrevtex.inc
@@ -98,7 +99,10 @@ Style Affiliation_(alternate)
        CopyStyle             Affiliation
        LatexName             altaffiliation
        LabelString           "Affiliation (alternate):"
-       OptionalArgs          1
+       Argument 1
+               LabelString   "Alternate Affiliation Option"
+               Tooltip       "Optional argument to the altaffiliation command"
+       EndArgument
        PassThru              1
 End
 
@@ -124,7 +128,10 @@ Style Author_Email
        CopyStyle             Affiliation
        LatexName             email
        LabelString           "Electronic Address:"
-       OptionalArgs          1
+       Argument 1
+               LabelString   "Electronic Address Option|s"
+               Tooltip       "Optional argument to the email command"
+       EndArgument
        PassThru              1
        TextFont
          Family              Typewriter
@@ -139,7 +146,10 @@ Style Author_URL
        CopyStyle             Author_Email
        LatexName             homepage
        LabelString           "URL:"
-       OptionalArgs          1
+       Argument 1
+               LabelString   "Author URL Option"
+               Tooltip       "Optional argument to the homepage command"
+       EndArgument
        PassThru              1
 End
 
@@ -200,7 +210,10 @@ End
 
 
 Style Title
-       OptionalArgs          1
+       Argument 1
+               LabelString   "Short Title|S"
+               Tooltip       "Short title as it appears in the running headers"
+       EndArgument
        Font
          Series              Bold
          Size                Large
@@ -215,7 +228,7 @@ Style Acknowledgments
        Category              BackMatter
        LatexType             Environment
        LatexName             acknowledgments
-       LabelType             Centered_Top_Environment
+       LabelType             Centered
        LabelString           "acknowledgments"
        LabelBottomSep        0.5
        LabelFont
@@ -223,7 +236,7 @@ Style Acknowledgments
          Shape               Smallcaps
          Size                Larger
        EndFont
-    TopSep                0.7
+       TopSep                0.7
 End
 
 
@@ -231,7 +244,7 @@ End
 
 Style Ruled_Table
        CopyStyle             Standard
-    Category              Specials
+       Category              Specials
        LatexName             ruledtabular
        LatexType             environment
 End
@@ -239,7 +252,7 @@ End
 
 Style Turn_Page
        CopyStyle             Standard
-    Category              Specials
+       Category              Specials
        LatexName             turnpage
        LatexType             environment
 End
@@ -247,7 +260,7 @@ End
 
 Style Wide_Text
        CopyStyle             Standard
-    Category              Specials
+       Category              Specials
        LatexName             widetext
        LatexType             environment
 End