]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/revtex.layout
IEEEtran-CompSoc.layout: force plain layout
[lyx.git] / lib / layouts / revtex.layout
index 820021a17c72c1105d02eccd6f2a878d728296ff..51af73185db2f829e4584aed712d580d1b169c6c 100644 (file)
@@ -1,5 +1,6 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass{article (REVTeX)}
+#  \DeclareLaTeXClass[revtex,revtex.sty]{REVTeX (Obsolete Version)}
+#  \DeclareCategory{Articles}
 # RevTeX 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 (LyX v11.34 style modifications - using changes
 #                       made by Jean-Marc Lasgouttes to amsart.layout)
 
-# General textclass parameters
+Format 43
 Columns                 1
 Sides                   1
 PageStyle               Headers
-MaxCounter              Counter_Section
 
-# Default textclass options. The user may need to modify this.
 ClassOptions
        Other                 "aps,manuscript"
 End
 
 
 Style Standard
+       Category              MainText
        Margin                Static
        LatexType             Paragraph
        LatexName             dummy
@@ -32,22 +32,20 @@ Style Standard
        LabelType             No_Label
 End
 
-############### Sections.
-
+Input stdinsets.inc
 Input stdsections.inc
-
-# Redefine some of the section styles.
+Input numrevtex.inc
 
 
 Style Section
        Align                 Center
        AlignPossible         Block, Center, Left
-
        Font
          Series              Medium
          Shape               Smallcaps
          Size                Large
        EndFont
+       TocLevel 1
 End
 
 
@@ -56,6 +54,7 @@ Style Subsection
          Series              Bold
          Size                Normal
        EndFont
+       TocLevel 2
 End
 
 
@@ -64,41 +63,36 @@ Style Subsubsection
          Shape               Italic
          Size                Normal
        EndFont
+       TocLevel 3
 End
 
 
 Style Paragraph
        TopSep                0.7
        ParSep                0.4
-
        Font
          Shape               Italic
          Size                Normal
        EndFont
+       TocLevel 4
 End
 
 
 # then define the unumbered sections, based on the numbered ones.
 Input stdstarsections.inc
 
-
 # remove the layouts that do not make sense.
-NoStyle         Chapter
-NoStyle         Chapter*
-NoStyle         Subparagraph
-NoStyle         Subparagraph*
+NoStyle Chapter
+NoStyle Chapter*
+NoStyle Subparagraph
+NoStyle Subparagraph*
 
-########### LAYOUTS quotes, etc.
-Input stdlayouts.inc
 
-########## LISTS
+Input stdlayouts.inc
 Input stdlists.inc
-
-################ STRUCTURE OF THE DOCUMENT
 Input stdtitle.inc
 Input stdstruct.inc
 
-
 Style Title
        Font
          Series              Bold
@@ -106,7 +100,7 @@ Style Title
        EndFont
 End
 
-# Same as stdstruct.inc except the font
+
 Style Author
        Font
          Size                Large
@@ -117,8 +111,7 @@ End
 
 Style Date
        LabelType             Static
-       LabelString           "Date: "
-
+       LabelString           "Date:"
        LabelFont
          Shape               Italic
          Size                Large
@@ -137,33 +130,25 @@ Style Address
        Align                 Center
        AlignPossible         Block, Left, Right, Center
        LabelType             Static
-       LabelString           "Address: "
-
+       LabelSep              M
+       LabelString           "Address:"
        LabelFont
          Shape               Italic
        EndFont
-End  
+End
 
 
-Style Abstract 
+Style Abstract
        ItemSep               0.2
        ParSep                0.3
-
        Font
          Size                Normal
        EndFont
-
        LabelFont
          Size                Large
        EndFont
-End 
+End
+
 
 Input stdfloats.inc
 Input stdcounters.inc
-
-### Finally a few obsolete definitions for compatibility
-Input obsolete.inc
-
-Style REVTEX_Title
-       ObsoletedBy           Title
-End