2011-06-20 23:41:16 +00:00
|
|
|
#% Do not delete the line below; configure depends on this
|
2018-07-07 14:08:48 +00:00
|
|
|
# \DeclareLaTeXClass[revtex4-1,natbib.sty,revsymb4-1.sty,textcase.sty,url.sty]{REVTeX (V. 4.1)}
|
2012-10-09 05:24:32 +00:00
|
|
|
# \DeclareCategory{Articles}
|
2011-06-20 23:41:16 +00:00
|
|
|
# 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.
|
2014-10-26 16:20:21 +00:00
|
|
|
#
|
2014-10-26 13:26:31 +00:00
|
|
|
# Author: Julien Rioux <jrioux@lyx.org> and Uwe Stöhr
|
2014-10-26 16:20:21 +00:00
|
|
|
#
|
|
|
|
# This layout is according to
|
|
|
|
# https://journals.aps.org/files/revtex/auguide4-1.pdf
|
2011-06-20 23:41:16 +00:00
|
|
|
|
2014-10-26 13:26:31 +00:00
|
|
|
# a note:
|
|
|
|
# - we provide natbib-internal according to LyX bug #5182
|
2014-10-26 16:20:21 +00:00
|
|
|
# todo:
|
|
|
|
# - add support for \onlinecite{}
|
|
|
|
|
2011-06-20 23:41:16 +00:00
|
|
|
|
2018-11-10 15:07:07 +00:00
|
|
|
Format 70
|
2011-06-20 23:41:16 +00:00
|
|
|
|
|
|
|
Input stdclass.inc
|
|
|
|
Input numrevtex.inc
|
|
|
|
|
2014-10-26 16:20:21 +00:00
|
|
|
Provides natbib-internal 1
|
|
|
|
Provides url 1
|
2017-12-27 14:43:40 +00:00
|
|
|
Provides tablefootnote 1
|
|
|
|
Provides footnote-alternative 1
|
|
|
|
|
2014-10-26 16:20:21 +00:00
|
|
|
SecNumDepth 4
|
|
|
|
TocDepth 3
|
2015-05-22 19:50:48 +00:00
|
|
|
DefaultStyle Standard
|
2011-06-20 23:41:16 +00:00
|
|
|
|
|
|
|
Style Section
|
2014-10-27 00:39:18 +00:00
|
|
|
Align Center
|
2011-06-20 23:41:16 +00:00
|
|
|
Font
|
2014-10-27 00:39:18 +00:00
|
|
|
Shape Smallcaps
|
2011-06-20 23:41:16 +00:00
|
|
|
EndFont
|
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Style Subsubsection
|
|
|
|
Font
|
2014-10-27 00:39:18 +00:00
|
|
|
Shape Italic
|
2011-06-20 23:41:16 +00:00
|
|
|
EndFont
|
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Style Paragraph
|
|
|
|
Font
|
2014-10-27 00:39:18 +00:00
|
|
|
Shape Italic
|
2011-06-20 23:41:16 +00:00
|
|
|
EndFont
|
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
# This input needs to appear *after* modifications to sections
|
|
|
|
Input stdstarsections.inc
|
|
|
|
|
|
|
|
|
|
|
|
########### Front matter ############
|
|
|
|
|
|
|
|
Style Abstract
|
2014-10-27 00:39:18 +00:00
|
|
|
InTitle 1
|
2011-06-20 23:41:16 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Style Affiliation
|
2014-10-27 00:39:18 +00:00
|
|
|
Category FrontMatter
|
|
|
|
Margin Dynamic
|
|
|
|
LatexType Command
|
|
|
|
InTitle 1
|
|
|
|
LatexName affiliation
|
|
|
|
ParSkip 0.4
|
|
|
|
Align Center
|
2015-05-22 19:50:48 +00:00
|
|
|
AlignPossible Block, Left, Right, Center
|
2014-10-27 00:39:18 +00:00
|
|
|
LabelType Static
|
|
|
|
LabelSep M
|
|
|
|
TextFont
|
|
|
|
Family Typewriter
|
|
|
|
EndFont
|
|
|
|
LabelString "Affiliation:"
|
2011-06-20 23:41:16 +00:00
|
|
|
LabelFont
|
2014-10-27 00:39:18 +00:00
|
|
|
Color Green
|
|
|
|
Series Bold
|
2011-06-20 23:41:16 +00:00
|
|
|
EndFont
|
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Style Affiliation_(alternate)
|
2014-10-27 00:39:18 +00:00
|
|
|
CopyStyle Affiliation
|
|
|
|
LatexName altaffiliation
|
|
|
|
LabelString "Affiliation (alternate):"
|
2012-11-19 13:21:02 +00:00
|
|
|
Argument 1
|
2015-05-22 19:50:48 +00:00
|
|
|
LabelString "Alternate Affiliation Option"
|
2014-10-27 00:39:18 +00:00
|
|
|
Tooltip "Optional argument to the altaffiliation command"
|
2012-11-19 13:21:02 +00:00
|
|
|
EndArgument
|
2015-05-22 19:50:48 +00:00
|
|
|
PassThru 1
|
2011-06-20 23:41:16 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Style Affiliation_(none)
|
2014-10-27 00:39:18 +00:00
|
|
|
CopyStyle Affiliation
|
|
|
|
KeepEmpty true
|
|
|
|
LabelString "No affiliation"
|
|
|
|
LatexName noaffiliation%
|
2011-06-20 23:41:16 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
# Address is exactly the same as Affiliation. We just put
|
|
|
|
# this in so that tex2lyx will know what to do with it.
|
|
|
|
Style Address
|
2014-10-27 00:39:18 +00:00
|
|
|
CopyStyle Affiliation
|
|
|
|
LatexName address
|
|
|
|
LabelString "Address:"
|
2011-06-20 23:41:16 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Style Author_Email
|
2014-10-27 00:39:18 +00:00
|
|
|
CopyStyle Affiliation
|
|
|
|
LatexName email
|
|
|
|
LabelString "Electronic Address:"
|
2012-11-19 13:21:02 +00:00
|
|
|
Argument 1
|
2015-05-22 19:50:48 +00:00
|
|
|
LabelString "Electronic Address Option|s"
|
2014-10-27 00:39:18 +00:00
|
|
|
Tooltip "Optional argument to the email command"
|
2012-11-19 13:21:02 +00:00
|
|
|
EndArgument
|
2014-10-27 00:39:18 +00:00
|
|
|
PassThru 1
|
2011-06-20 23:41:16 +00:00
|
|
|
TextFont
|
2014-10-27 00:39:18 +00:00
|
|
|
Family Roman
|
2011-06-20 23:41:16 +00:00
|
|
|
EndFont
|
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Style Author_URL
|
2014-10-27 00:39:18 +00:00
|
|
|
CopyStyle Author_Email
|
|
|
|
LatexName homepage
|
|
|
|
LabelString "URL:"
|
2012-11-19 13:21:02 +00:00
|
|
|
Argument 1
|
2015-05-22 19:50:48 +00:00
|
|
|
LabelString "Author URL Option"
|
2014-10-27 00:39:18 +00:00
|
|
|
Tooltip "Optional argument to the homepage command"
|
2012-11-19 13:21:02 +00:00
|
|
|
EndArgument
|
2014-10-27 00:39:18 +00:00
|
|
|
PassThru 1
|
2011-06-20 23:41:16 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Style Collaboration
|
2014-10-27 00:39:18 +00:00
|
|
|
CopyStyle Affiliation
|
|
|
|
LatexName collaboration
|
|
|
|
LabelString "Collaboration:"
|
2011-06-20 23:41:16 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Style Date
|
2014-10-27 00:39:18 +00:00
|
|
|
LabelType Static
|
|
|
|
LabelString "Date:"
|
2011-06-20 23:41:16 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Style Keywords
|
2014-10-27 00:39:18 +00:00
|
|
|
Category FrontMatter
|
|
|
|
Margin Dynamic
|
|
|
|
LatexType Command
|
|
|
|
InTitle 1
|
|
|
|
LatexName keywords
|
|
|
|
LabelType Static
|
|
|
|
LabelSep M
|
|
|
|
LabelString "Keywords:"
|
|
|
|
LabelFont
|
|
|
|
Color Green
|
|
|
|
Series Bold
|
|
|
|
EndFont
|
2011-06-20 23:41:16 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Style PACS
|
2014-10-27 00:39:18 +00:00
|
|
|
CopyStyle Keywords
|
|
|
|
LatexName pacs
|
|
|
|
LabelString "PACS numbers:"
|
2011-06-20 23:41:16 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Style Preprint
|
2014-10-27 00:39:18 +00:00
|
|
|
Category FrontMatter
|
|
|
|
Margin Right_Address_Box
|
|
|
|
LatexType Command
|
|
|
|
InTitle 1
|
|
|
|
LatexName preprint
|
|
|
|
ParSkip 0.4
|
|
|
|
BottomSep 1.5
|
|
|
|
ParSep 1.5
|
|
|
|
Align Left
|
2011-06-20 23:41:16 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Style Thanks
|
2014-10-27 00:39:18 +00:00
|
|
|
CopyStyle Affiliation
|
|
|
|
LatexName thanks
|
|
|
|
LabelString "Title footnote:"
|
2011-06-20 23:41:16 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Style Title
|
2012-11-19 13:21:02 +00:00
|
|
|
Argument 1
|
2015-05-22 19:50:48 +00:00
|
|
|
LabelString "Short Title|S"
|
2014-10-27 00:39:18 +00:00
|
|
|
Tooltip "Short title as it appears in the running headers"
|
2015-05-22 19:50:48 +00:00
|
|
|
InsertCotext 1
|
2012-11-19 13:21:02 +00:00
|
|
|
EndArgument
|
2011-06-20 23:41:16 +00:00
|
|
|
Font
|
2014-10-27 00:39:18 +00:00
|
|
|
Series Bold
|
|
|
|
Size Large
|
2011-06-20 23:41:16 +00:00
|
|
|
EndFont
|
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
########### Back matter #############
|
|
|
|
|
|
|
|
Style Acknowledgments
|
2014-10-27 00:39:18 +00:00
|
|
|
CopyStyle Standard
|
|
|
|
Category BackMatter
|
|
|
|
LatexType Environment
|
|
|
|
LatexName acknowledgments
|
|
|
|
LabelType Centered
|
|
|
|
LabelString "acknowledgments"
|
2015-05-22 19:50:48 +00:00
|
|
|
LabelBottomSep 0.5
|
2011-06-20 23:41:16 +00:00
|
|
|
LabelFont
|
2014-10-27 00:39:18 +00:00
|
|
|
Series Bold
|
|
|
|
Shape Smallcaps
|
|
|
|
Size Larger
|
2011-06-20 23:41:16 +00:00
|
|
|
EndFont
|
2014-10-27 00:39:18 +00:00
|
|
|
TopSep 0.7
|
2011-06-20 23:41:16 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
##### stuff specific to REVTeX 4.1
|
|
|
|
|
|
|
|
Style Ruled_Table
|
2014-10-27 00:39:18 +00:00
|
|
|
CopyStyle Standard
|
|
|
|
Category Specials
|
|
|
|
LatexName ruledtabular
|
|
|
|
LatexType environment
|
2011-06-20 23:41:16 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Style Turn_Page
|
2014-10-27 00:39:18 +00:00
|
|
|
CopyStyle Standard
|
|
|
|
Category Specials
|
|
|
|
LatexName turnpage
|
|
|
|
LatexType environment
|
2011-06-20 23:41:16 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Style Wide_Text
|
2014-10-27 00:39:18 +00:00
|
|
|
CopyStyle Standard
|
|
|
|
Category Specials
|
|
|
|
LatexName widetext
|
|
|
|
LatexType environment
|
2011-06-20 23:41:16 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
2017-05-13 15:36:20 +00:00
|
|
|
Input stdfloatnames.inc
|
|
|
|
|
2015-05-23 00:22:49 +00:00
|
|
|
Float
|
|
|
|
Type algorithm
|
|
|
|
GuiName Algorithm
|
|
|
|
Placement H
|
|
|
|
AllowedPlacement none
|
|
|
|
AllowsSideways 0
|
2015-05-23 18:15:40 +00:00
|
|
|
AllowsWide 0
|
2015-05-23 00:22:49 +00:00
|
|
|
Extension loa
|
|
|
|
NumberWithin none
|
|
|
|
Style ruled
|
|
|
|
ListName "List of Algorithms"
|
|
|
|
IsPredefined false
|
|
|
|
UsesFloatPkg true
|
|
|
|
RefPrefix alg
|
|
|
|
End
|
|
|
|
|
|
|
|
|
2011-06-20 23:41:16 +00:00
|
|
|
Float
|
2014-10-27 00:39:18 +00:00
|
|
|
Extension lov
|
|
|
|
GuiName Video
|
2015-05-22 19:50:48 +00:00
|
|
|
IsPredefined true
|
2014-10-27 00:39:18 +00:00
|
|
|
ListCommand listofvideos
|
|
|
|
ListName "List of Videos"
|
2015-05-22 19:50:48 +00:00
|
|
|
NumberWithin none
|
2014-10-27 00:39:18 +00:00
|
|
|
Placement tbp
|
2015-05-23 18:15:40 +00:00
|
|
|
AllowsSideways 0
|
2014-10-27 00:39:18 +00:00
|
|
|
Style plain
|
|
|
|
Type video
|
2015-05-22 19:50:48 +00:00
|
|
|
UsesFloatPkg false
|
2011-06-20 23:41:16 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
2017-12-27 14:43:40 +00:00
|
|
|
OutlinerName video "Videos"
|
|
|
|
|
|
|
|
|
2011-06-20 23:46:27 +00:00
|
|
|
InsetLayout Flex:Float_Link
|
2014-10-27 00:39:18 +00:00
|
|
|
CopyStyle Flex:URL
|
|
|
|
LabelString "Float link"
|
|
|
|
LatexName setfloatlink
|
|
|
|
LatexType command
|
|
|
|
LyXType custom
|
2011-06-20 23:41:16 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
2011-06-20 23:46:27 +00:00
|
|
|
InsetLayout Flex:Lowercase
|
2014-10-27 00:39:18 +00:00
|
|
|
LyxType custom
|
|
|
|
LatexType command
|
|
|
|
LatexName lowercase
|
|
|
|
LabelString "lowercase text"
|
2011-06-20 23:41:16 +00:00
|
|
|
Font
|
2014-10-27 00:39:18 +00:00
|
|
|
# Keep empty to preserve font settings
|
|
|
|
# from the surrounding environment
|
|
|
|
EndFont
|
|
|
|
LabelFont
|
|
|
|
Size Small
|
|
|
|
EndFont
|
|
|
|
ResetsFont true
|
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
InsetLayout "Flex:Online cite"
|
|
|
|
LyxType custom
|
|
|
|
LatexType command
|
|
|
|
LatexName onlinecite
|
|
|
|
LabelString "online cite"
|
|
|
|
Argument 1
|
2015-05-22 19:50:48 +00:00
|
|
|
LabelString "Text behind"
|
2014-10-27 00:39:18 +00:00
|
|
|
Tooltip "text behind the cite"
|
|
|
|
EndArgument
|
|
|
|
Font
|
|
|
|
# Keep empty to preserve font settings
|
|
|
|
# from the surrounding environment
|
|
|
|
EndFont
|
|
|
|
LabelFont
|
|
|
|
Size Small
|
2011-06-20 23:41:16 +00:00
|
|
|
EndFont
|
2014-02-10 21:06:32 +00:00
|
|
|
ResetsFont true
|
2011-06-20 23:41:16 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
2011-06-20 23:46:27 +00:00
|
|
|
InsetLayout Flex:Surname
|
2014-10-27 00:39:18 +00:00
|
|
|
Decoration conglomerate
|
|
|
|
LabelString Surname
|
|
|
|
LatexName surname
|
|
|
|
LatexType command
|
|
|
|
LyXType custom
|
2011-06-20 23:41:16 +00:00
|
|
|
Font
|
2014-10-27 00:39:18 +00:00
|
|
|
# Keep empty to preserve font settings
|
|
|
|
# from the surrounding environment
|
|
|
|
EndFont
|
|
|
|
LabelFont
|
|
|
|
Color green
|
|
|
|
Size Small
|
2011-06-20 23:41:16 +00:00
|
|
|
EndFont
|
2014-02-10 21:06:32 +00:00
|
|
|
ResetsFont true
|
2011-06-20 23:41:16 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
2017-12-27 14:43:40 +00:00
|
|
|
# RevTeX uses normal footnotes in tables
|
|
|
|
InsetLayout Foot:InFloatTable
|
|
|
|
CopyStyle Foot
|
|
|
|
End
|
|
|
|
|
|
|
|
|
2011-06-20 23:41:16 +00:00
|
|
|
NoStyle Chapter
|
|
|
|
NoStyle Chapter*
|
|
|
|
NoStyle LyX-Code
|
|
|
|
NoStyle Right_Address
|
|
|
|
NoStyle Subparagraph
|
|
|
|
NoStyle Subparagraph*
|