]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/amsart.layout
KOMA-script layout files: don't check for KOMA-script's internal dependencies, scrbas...
[lyx.git] / lib / layouts / amsart.layout
index f133008d6f62e8db289e5620ab9f54682f06e717..4215fb5240369711d247bff3710d4defb22c4fe9 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 27
 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
@@ -62,6 +58,17 @@ NoStyle Verse    # Although mathematicians tend to be poets at times,
 
 
 Style Section
+       Align                 Center
+       Font
+         Series              Medium
+         Shape               Smallcaps
+         Size                Normal
+       EndFont
+       TocLevel 1
+End
+
+
+Style Section*
        Align                 Center
        Font
          Series              Medium
@@ -71,17 +78,63 @@ 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
+
+
+Style Subsection*
+       Font
+         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