]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/revtex.layout
Fix caret painting
[lyx.git] / lib / layouts / revtex.layout
index 5041393b6f54b56d45e88ddecdf66c98362875d8..473f4d4b53b32b66015f8e970261d7bb020c5295 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{Obsolete}
 # 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
-Columns                        1
-Sides                  1
-PageStyle              Headers
-MaxCounter             Counter_Section
+Format 66
+Columns                 1
+Sides                   1
+PageStyle               Headers
 
-# Default textclass options. The user may need to modify this.
 ClassOptions
-  Other                        "aps,manuscript"
+       Other                 "aps,manuscript"
 End
 
-# Standard style definition
+
 Style Standard
-  Margin               Static
-  LatexType            Paragraph
-  LatexName            dummy
-  ParIndent            MM
-  ParSkip              0.4
-  Align                Block
-  AlignPossible        Block, Left, Right, Center
-  LabelType            No_Label
+       Category              MainText
+       Margin                Static
+       LatexType             Paragraph
+       LatexName             dummy
+       ParIndent             MM
+       ParSkip               0.4
+       Align                 Block
+       AlignPossible         Block, Left, Right, Center
+       LabelType             No_Label
 End
 
-############### Sections.
-
+Input stdinsets.inc
 Input stdsections.inc
+Input numrevtex.inc
 
-# Redefine some of the section styles.
 
-# Section-numbered style definition
 Style Section
-  Align                        Center
-  AlignPossible                Block, Center, Left
-
-  # standard font definition
-  Font
-    Series             Medium
-    Shape              Smallcaps
-    Size               Large
-  EndFont
+       Align                 Center
+       AlignPossible         Block, Center, Left
+       Font
+         Series              Medium
+         Shape               Smallcaps
+         Size                Large
+       EndFont
+       TocLevel 1
 End
 
-# Subsection-numbered style definition
+
 Style Subsection
-  # standard font definition
-  Font
-    Series             Bold
-    Size               Normal
-  EndFont
+       Font
+         Series              Bold
+         Size                Normal
+       EndFont
+       TocLevel 2
 End
 
-# Subsubsection-numbered style definition
+
 Style Subsubsection
-  # standard font definition
-  Font
-    Shape              Italic
-    Size               Normal
-  EndFont
+       Font
+         Shape               Italic
+         Size                Normal
+       EndFont
+       TocLevel 3
 End
 
-# Paragraph-numbered style definition
+
 Style Paragraph
-  TopSep               0.7
-  ParSep               0.4
-
-  # standard font definition
-  Font
-    Shape              Italic
-    Size               Normal
-  EndFont
+       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
 
-# Title style definition
 Style Title
-  # standard font definition
-  Font
-    Series             Bold
-    Size               Large
-  EndFont
+       Font
+         Series              Bold
+         Size                Large
+       EndFont
 End
 
-# Author style definition
-# Same as stdstruct.inc except the font
+
 Style Author
-  # standard font definition
-  Font
-    Size               Large
-    Shape              Smallcaps
-  EndFont
+       Font
+         Size                Large
+         Shape               Smallcaps
+       EndFont
 End
 
-# Date style definition
+
 Style Date
-  LabelType            Static
-  LabelString          "Date: "
-
-  # standard font definition
-  LabelFont
-    Shape              Italic
-    Size               Large
-  EndFont
+       LabelType             Static
+       LabelString           "Date:"
+       LabelFont
+         Shape               Italic
+         Size                Large
+       EndFont
 End
 
-# Address style definition
+
 Style Address
-  Margin               Dynamic
-  LatexType            Command
-  InTitle              1
-  LatexName            address
-  ParSkip              0.4
-  BottomSep            1.5
-  ParSep               1.5
-  Align                        Center
-  AlignPossible                Block, Left, Right, Center
-  LabelType            Static
-  LabelString           "Address: "
-
-  LabelFont
-    Shape              Italic
-  EndFont
-End  
-
-# Abstract style definition
-Style Abstract 
-  ItemSep              0.2
-  ParSep               0.3
-
-  # standard font definition
-  Font
-    Size               Normal
-  EndFont
-
-  # label font definition
-  LabelFont
-    Size               Large
-  EndFont
-End 
-
-### Finally a few obsolete definitions for compatibility
-Input obsolete.inc
-
-Style REVTEX_Title
-  ObsoletedBy          Title
+       Margin                Dynamic
+       LatexType             Command
+       InTitle               1
+       LatexName             address
+       ParSkip               0.4
+       BottomSep             1.5
+       ParSep                1.5
+       Align                 Center
+       AlignPossible         Block, Left, Right, Center
+       LabelType             Static
+       LabelSep              M
+       LabelString           "Address:"
+       LabelFont
+         Shape               Italic
+       EndFont
+End
+
+
+Style Abstract
+       ItemSep               0.2
+       ParSep                0.3
+       Font
+         Size                Normal
+       EndFont
+       LabelFont
+         Size                Large
+       EndFont
 End
+
+
+Input stdfloats.inc
+Input stdcounters.inc