]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/revtex4.layout
Make continuous spellcheck the default.
[lyx.git] / lib / layouts / revtex4.layout
index ee26a138215b7a2cd65e54ae4678cbcb360b96b2..27be7c5aa018aa5af3013d8a3df5a131e814bab5 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 93
 
 Columns                   1
 Sides                     1
 PageStyle                 Headers
+
 Provides natbib-internal  1
 Provides url              1
+Provides tablefootnote    1
+Provides footnote-alternative 1
+
+SecNumDepth               4
+TocDepth                  3
 
 # Default textclass options. The user may need to modify this.
 ClassOptions
@@ -48,6 +55,7 @@ Style Standard
        Align                 Block
        AlignPossible         Block, Left, Right, Center
        LabelType             No_Label
+       DocBookTag            para
 End
 
 
@@ -62,40 +70,24 @@ Style Section
        Align                 Center
        AlignPossible         Block, Center, Left
        Font
-         Series              Medium
          Shape               Smallcaps
-         Size                Large
        EndFont
-       TocLevel              1
-End
-
-
-Style Subsection
-       Font
-         Series              Bold
-         Size                Normal
-       EndFont
-       TocLevel              2
 End
 
 
 Style Subsubsection
        Font
+         Series              Medium
          Shape               Italic
-         Size                Normal
        EndFont
-       TocLevel              3
 End
 
 
 Style Paragraph
-       TopSep                0.7
-       ParSep                0.4
        Font
+         Series              Medium
          Shape               Italic
-         Size                Normal
        EndFont
-       TocLevel              4
 End
 
 # then define the unumbered sections, based on the numbered ones.
@@ -122,6 +114,10 @@ Style Preprint
        BottomSep             1.5
        ParSep                1.5
        Align                 Left
+       DocBookWrapperTag   cover
+       DocBookWrapperAttr  role='preprint'
+       DocBookTag          para
+       DocBookInInfo       always
 End
 
 
@@ -133,20 +129,11 @@ Style Title
 End
 
 
-Style Author
-       Font
-         Size                Large
-         Shape               Smallcaps
-       EndFont
-End
-
-
 Style Date
        LabelType             Static
        LabelString           "Date:"
        LabelFont
          Shape               Italic
-         Size                Large
        EndFont
 End
 
@@ -167,16 +154,43 @@ Style Affiliation
        LabelFont
          Shape               Italic
        EndFont
+       DocBookTag                        address
+       DocBookTagType                    paragraph
+       DocBookWrapperTag                 author
+       DocBookWrapperMergeWithPrevious   true
+       DocBookInInfo                     always
 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):"
+       DocBookTag                        address
+       DocBookAttr                       role='alternate'
+       DocBookTagType                    paragraph
+       DocBookWrapperTag                 author
+       DocBookWrapperMergeWithPrevious   true
+       DocBookInInfo                     always
+End
+
+
+Style Affiliation_(none)
+       CopyStyle             Affiliation
+       KeepEmpty             1
+       LabelString           "No affiliation"
+       LatexName             noaffiliation%
+End
+
+
+Style AltAffiliation
+       ObsoletedBy           Affiliation_(alternate)
 End
 
 
@@ -189,10 +203,24 @@ Style Address
 End
 
 
+Style Collaboration
+       CopyStyle             Affiliation
+       LatexName             collaboration
+       LabelString           "Collaboration:"
+End
+
+
 Style Thanks
        CopyStyle             Affiliation
        LatexName             thanks
        LabelString           "Thanks:"
+       DocBookTag            personblurb
+       DocBookAttr           role='thanks'
+       DocBookTagType        paragraph
+       DocBookItemTag        para
+       DocBookWrapperTag     author
+       DocBookWrapperMergeWithPrevious true
+       DocBookInInfo         always
 End
 
 
@@ -201,7 +229,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
@@ -209,6 +240,12 @@ Style Author_Email
        LabelFont
          Family              Roman
        EndFont
+       DocBookTag            email
+       DocBookTagType        paragraph
+       DocBookWrapperTag     author
+       DocBookWrapperTagType block
+       DocBookWrapperMergeWithPrevious  true
+       DocBookInInfo         always
 End
 
 
@@ -217,8 +254,17 @@ 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:"
+       DocBookTag            uri
+       DocBookTagType        paragraph
+       DocBookWrapperTag     author
+       DocBookWrapperTagType block
+       DocBookWrapperMergeWithPrevious  true
+       DocBookInInfo         always
 End
 
 
@@ -226,9 +272,6 @@ Style Abstract
        InTitle               1
        ItemSep               0.2
        ParSep                0.3
-       LabelFont
-         Size                Large
-       EndFont
 End
 
 
@@ -238,16 +281,19 @@ Style Acknowledgments
        LatexName             acknowledgments
        ParIndent             MM
        ParSkip               0.4
+       TopSep                0.7
        Align                 Block
        AlignPossible         Block, Left, Right, Center
-       LabelType             Centered_Top_Environment
-       LabelString           "acknowledgments"
+       LabelType             Centered
+       LabelString           "Acknowledgments"
        LabelBottomSep        0.5
        LabelFont
-         Series              Medium
-         Shape               Smallcaps
+         Series              Bold
          Size                Large
        EndFont
+       DocBookTag            para
+       DocBookWrapperTag     acknowledgements
+       DocBookSection        true
 End
 
 
@@ -260,6 +306,16 @@ Style PACS
        LabelType             Static
        LabelSep              M
        LabelString           "PACS number:"
+       DocBookTag            subjectset
+       DocBookAttr           role='pacs'
+       DocBookTagType        block
+       DocBookItemWrapperTag      subject
+       DocBookItemWrapperTagType  paragraph
+       DocBookItemTag        subjectterm
+       DocBookItemTagType    inline
+       DocBookWrapperTag     NONE
+       DocBookWrapperAttr    ""
+       DocBookInInfo         always
 End
 
 
@@ -272,5 +328,11 @@ Style Keywords
 End
 
 
+# RevTeX uses normal footnotes in tables
+InsetLayout Foot:InFloatTable
+       CopyStyle             Foot
+End
+
+
 Input stdfloats.inc
 Input stdcounters.inc