]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/revtex4-1.layout
Merge remote-tracking branch 'origin/master' into features/latexargs
[lyx.git] / lib / layouts / revtex4-1.layout
index 52b5647f539b6afcec3d3e1aa9ded22296c7dadb..3c3e57f3b48017b013f1990dac46985da22b8b71 100644 (file)
@@ -1,5 +1,6 @@
 #% 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.
@@ -11,7 +12,7 @@
 #   - We provide natbib-internal according to LyX bug #5182.
 #   - The command \lovname is missing from the class file.
 
-Format 36
+Format 40
 
 Input stdclass.inc
 Input numrevtex.inc
@@ -98,7 +99,11 @@ Style Affiliation_(alternate)
        CopyStyle             Affiliation
        LatexName             altaffiliation
        LabelString           "Affiliation (alternate):"
-       OptionalArgs          1
+       Argument 1
+               LabelString   "Alternate Affiliation Option"
+               Shortcut      S
+               Tooltip       "Optional argument to the altaffiliation command"
+       EndArgument
        PassThru              1
 End
 
@@ -124,7 +129,11 @@ Style Author_Email
        CopyStyle             Affiliation
        LatexName             email
        LabelString           "Electronic Address:"
-       OptionalArgs          1
+       Argument 1
+               LabelString   "Electronic Address Option"
+               Shortcut      S
+               Tooltip       "Optional argument to the email command"
+       EndArgument
        PassThru              1
        TextFont
          Family              Typewriter
@@ -139,7 +148,11 @@ Style Author_URL
        CopyStyle             Author_Email
        LatexName             homepage
        LabelString           "URL:"
-       OptionalArgs          1
+       Argument 1
+               LabelString   "Author URL Option"
+               Shortcut      S
+               Tooltip       "Optional argument to the homepage command"
+       EndArgument
        PassThru              1
 End
 
@@ -200,7 +213,11 @@ End
 
 
 Style Title
-       OptionalArgs          1
+       Argument 1
+               LabelString   "Short Title"
+               Shortcut      S
+               Tooltip       "Short title as it appears in the running headers"
+       EndArgument
        Font
          Series              Bold
          Size                Large