]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/revtex4.layout
- theorems-without-preamble.inc: new file to provide theorem environments without...
[lyx.git] / lib / layouts / revtex4.layout
index 38224dcc0aeb11d012e8be3d7bfe8fd48b70152f..0a796fadefb126f078f75b2bcedcade3d5027571 100644 (file)
@@ -1,5 +1,5 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass{article (REVTeX 4)}
+#  \DeclareLaTeXClass[revtex4,natbib.sty,revsymb.sty]{article (REVTeX 4)}
 # 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
 
 
-Format 3
+Format 35
 Columns                 1
 Sides                   1
 PageStyle               Headers
-ProvidesNatbib         1
-ProvidesUrl            1
+Provides natbib-internal       1
+Provides url           1
 
 # Default textclass options. The user may need to modify this.
 ClassOptions
        Other                 "aps,manuscript"
 End
 
+Preamble
+       \@ifundefined{textcolor}{}
+       {%
+        \definecolor{BLACK}{gray}{0}
+        \definecolor{WHITE}{gray}{1}
+        \definecolor{RED}{rgb}{1,0,0}
+        \definecolor{GREEN}{rgb}{0,1,0}
+        \definecolor{BLUE}{rgb}{0,0,1}
+        \definecolor{CYAN}{cmyk}{1,0,0,0}
+        \definecolor{MAGENTA}{cmyk}{0,1,0,0}
+        \definecolor{YELLOW}{cmyk}{0,0,1,0}
+        }
+EndPreamble
+
 
 Style Standard
        Margin                Static
@@ -38,6 +52,7 @@ End
 # Idea from aapaper: declare all layouts here ("Style Foo\nEnd\n")
 # so that they appear in a specific order in the layout dropdown menu.
 
+Input stdinsets.inc
 Input stdsections.inc
 Input numrevtex.inc
 
@@ -49,6 +64,7 @@ Style Section
          Shape               Smallcaps
          Size                Large
        EndFont
+       TocLevel 1
 End
 
 
@@ -57,6 +73,7 @@ Style Subsection
          Series              Bold
          Size                Normal
        EndFont
+       TocLevel 2
 End
 
 
@@ -65,6 +82,7 @@ Style Subsubsection
          Shape               Italic
          Size                Normal
        EndFont
+       TocLevel 3
 End
 
 
@@ -75,6 +93,7 @@ Style Paragraph
          Shape               Italic
          Size                Normal
        EndFont
+       TocLevel 4
 End
 
 # then define the unumbered sections, based on the numbered ones.
@@ -100,7 +119,6 @@ Style Preprint
        BottomSep             1.5
        ParSep                1.5
        Align                 Left
-       AlignPossible         Left
 End
 
 
@@ -153,6 +171,7 @@ End
 Style AltAffiliation
        CopyStyle             Affiliation
        PassThru              1
+       ParbreakIsNewline     1
        LatexName             altaffiliation
        OptionalArgs          1
        LabelString           "AltAffiliation"
@@ -178,6 +197,7 @@ End
 Style Author_Email
        CopyStyle             Affiliation
        PassThru              1
+       ParbreakIsNewline     1
        LatexName             email
        OptionalArgs          1
        LabelString           "Electronic Address:"
@@ -193,6 +213,7 @@ End
 Style Author_URL
        CopyStyle             Author_Email
        PassThru              1
+       ParbreakIsNewline     1
        LatexName             homepage
        OptionalArgs          1
        LabelString           "URL:"