]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/revtex4.layout
KOMA-script layout files: don't check for KOMA-script's internal dependencies, scrbas...
[lyx.git] / lib / layouts / revtex4.layout
index 3c045c2bdf797ec11b0d9e39d7775adecbd34109..004bf783fa6aa3354c239eb3621bbc981ae09e40 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,url.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
@@ -10,7 +10,7 @@
 #          Amir Karger (RevTeX 4 beta) 9/1999, 7/2000
 
 
-Format 10
+Format 27
 Columns                 1
 Sides                   1
 PageStyle               Headers
@@ -22,6 +22,20 @@ 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
@@ -50,6 +64,7 @@ Style Section
          Shape               Smallcaps
          Size                Large
        EndFont
+       TocLevel 1
 End
 
 
@@ -58,6 +73,7 @@ Style Subsection
          Series              Bold
          Size                Normal
        EndFont
+       TocLevel 2
 End
 
 
@@ -66,6 +82,7 @@ Style Subsubsection
          Shape               Italic
          Size                Normal
        EndFont
+       TocLevel 3
 End
 
 
@@ -76,6 +93,7 @@ Style Paragraph
          Shape               Italic
          Size                Normal
        EndFont
+       TocLevel 4
 End
 
 # then define the unumbered sections, based on the numbered ones.