]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/amsart.layout
fix typos.
[lyx.git] / lib / layouts / amsart.layout
index 11f923d5ffe169f2ebe22299dd43aa026bf0fa22..a2194936853bdb9cf85cccb4b38f731cd08379f3 100644 (file)
@@ -6,8 +6,11 @@
 # Author : David L. Johnson <dlj0@lehigh.edu>
 # Probably broken by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
 # 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 2
+Format 11
 Columns                 1
 Sides                   2
 PageStyle               Headers
@@ -17,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
@@ -29,23 +36,15 @@ Style Standard
        LabelType             No_Label
 End
 
-
-Preamble
-       \theoremstyle{plain}
-       \newtheorem{thm}{Theorem}[section]
-       \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 amsdefs.inc
 Input stdlayouts.inc
 Input stdlists.inc
-Input stdfloats.inc
-Input stdcounters.inc
+Input amsdefs.inc
 
 NoStyle                 Chapter
 NoStyle                 Paragraph
@@ -55,12 +54,21 @@ 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
-       AlignPossible         Block, Center, Left
+       Font
+         Series              Medium
+         Shape               Smallcaps
+         Size                Normal
+       EndFont
+End
+
+
+Style Section*
+       Align                 Center
        Font
          Series              Medium
          Shape               Smallcaps
@@ -69,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