]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/amsart.layout
We have the magic keyword ObsoletedBy which allows renaming styles
[lyx.git] / lib / layouts / amsart.layout
index 5171d64c75320c02ff24dee2cbf5fb78bfa4660a..a3149b9b95068b2cb50eeea5d9687cb7aa424713 100644 (file)
@@ -8,8 +8,9 @@
 # modified and modularized by Emmanuel GUREGHIAN <gureghia@boston.bertin.fr>
 # Tinkered with Sep. '07 by Paul Rubin <rubin@msu.edu>
 # Modularized Jan '08 by Richard Heck <rgheck@brown.edu>
+# Moved "number within sections" to modules Aug '09 (Paul Rubin <rubin@msu.edu>)
 
-Format 11
+Format 26
 Columns                 1
 Sides                   2
 PageStyle               Headers
@@ -20,6 +21,8 @@ ClassOptions
 End
 
 DefaultModule theorems-ams
+DefaultModule eqs-within-sections
+DefaultModule figs-within-sections
 
 Style Standard
        Category              MainText
@@ -33,13 +36,6 @@ Style Standard
        LabelType             No_Label
 End
 
-
-Preamble
-       \numberwithin{equation}{section} %% Comment out for sequentially-numbered
-       \numberwithin{figure}{section} %% Comment out for sequentially-numbered
-EndPreamble
-
-
 Input stdfloats.inc
 Input stdcounters.inc
 Input stdinsets.inc
@@ -66,8 +62,9 @@ Style Section
        Font
          Series              Medium
          Shape               Smallcaps
-         Size                Large
+         Size                Normal
        EndFont
+       TocLevel 1
 End
 
 
@@ -81,11 +78,35 @@ Style Section*
 End
 
 
+Style SpecialSection
+       CopyStyle             Section
+       LatexName             specialsection
+       Font
+         Shape               Up
+       EndFont
+End
+
+
+Style SpecialSection*
+       CopyStyle             SpecialSection
+       Category              Unnumbered
+       LatexName             specialsection*
+       Margin                Static
+       LabelType             No_Label
+       LabelCounter          ""        
+       OptionalArgs          0
+End
+
+
 Style Subsection
        Font
          Series              Bold
          Size                Normal
        EndFont
+       LabelFont
+         Series              Medium
+       EndFont
+       TocLevel 2
 End
 
 
@@ -94,20 +115,26 @@ Style Subsection*
          Series              Bold
          Size                Normal
        EndFont
+       LabelFont
+         Series              Medium
+       EndFont
 End
 
 
 Style Subsubsection
        Font
          Shape               Italic
+         Series              Medium
          Size                Normal
        EndFont
+       TocLevel 3
 End
 
 
 Style Subsubsection*
        Font
          Shape               Italic
+         Series              Medium
          Size                Normal
        EndFont
 End