]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/amsart.layout
fix typos.
[lyx.git] / lib / layouts / amsart.layout
index c18972caa1ce1776949f49e4fff4084d7272cdbf..a2194936853bdb9cf85cccb4b38f731cd08379f3 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 6
+Format 11
 Columns                 1
 Sides                   2
 PageStyle               Headers
@@ -19,8 +20,12 @@ ClassOptions
        FontSize   8|9|10|11|12
 End
 
+DefaultModule theorems-ams
+DefaultModule eqs-within-sections
+DefaultModule figs-within-sections
 
 Style Standard
+       Category              MainText
        Margin                Static
        LatexType             Paragraph
        LatexName             dummy
@@ -31,20 +36,14 @@ 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
 Input stdsections.inc
 Input stdstarsections.inc
 Input lyxmacros.inc
 Input stdlayouts.inc
 Input stdlists.inc
-Input stdfloats.inc
-Input stdcounters.inc
 Input amsdefs.inc
 
 NoStyle                 Chapter
@@ -55,10 +54,20 @@ NoStyle                 Chapter*
 #NoStyle                Subparagraph*
 
 NoStyle Verse    # Although mathematicians tend to be poets at times,
-                    # we don't need this.
+                 # we don't need this.
 
 
 Style Section
+       Align                 Center
+       Font
+         Series              Medium
+         Shape               Smallcaps
+         Size                Normal
+       EndFont
+End
+
+
+Style Section*
        Align                 Center
        Font
          Series              Medium
@@ -68,17 +77,61 @@ Style Section
 End
 
 
+Style SpecialSection
+       CopyStyle             Section
+       LatexName             specialsection
+       Font
+         Shape               Roman
+       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
+End
+
+
+Style Subsection*
+       Font
+         Series              Bold
+         Size                Normal
+       EndFont
+       LabelFont
+         Series              Medium
+       EndFont
 End
 
 
 Style Subsubsection
        Font
          Shape               Italic
+         Series              Medium
+         Size                Normal
+       EndFont
+End
+
+
+Style Subsubsection*
+       Font
+         Shape               Italic
+         Series              Medium
          Size                Normal
        EndFont
 End