X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Frevtex4-1.layout;h=f7565961d0cec0de2ecf2e4b78a4ad1cc3f00aee;hb=246b3d79e676481d0b56eb051757763260648c5c;hp=7241e58cc4b0f411f5164a2a279384c80fb16c86;hpb=cebd2451c6e801c29e9b40de2ece938b961bd0c5;p=lyx.git diff --git a/lib/layouts/revtex4-1.layout b/lib/layouts/revtex4-1.layout index 7241e58cc4..f7565961d0 100644 --- a/lib/layouts/revtex4-1.layout +++ b/lib/layouts/revtex4-1.layout @@ -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 +# Author: Julien Rioux # 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 27 +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 @@ -256,18 +269,19 @@ End Float Extension lov GuiName Video + IsPredefined true ListCommand listofvideos ListName "List of Videos" - NeedsFloatPkg false NumberWithin none Placement tbp Style plain Type video + UsesFloatPkg false End -InsetLayout Float_Link - CopyStyle URL +InsetLayout Flex:Float_Link + CopyStyle Flex:URL LabelString "Float Link" LatexName setfloatlink LatexType command @@ -275,7 +289,7 @@ InsetLayout Float_Link End -InsetLayout Lowercase +InsetLayout Flex:Lowercase Decoration conglomerate LabelString Lowercase LatexName lowercase @@ -288,7 +302,7 @@ InsetLayout Lowercase End -InsetLayout Surname +InsetLayout Flex:Surname Decoration conglomerate LabelString Surname LatexName surname