]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/amsbook.layout
Allow literate documents other than noweb to work out of the box. Currently
[lyx.git] / lib / layouts / amsbook.layout
index e71bd0d55b1bec36fb41664566edd392ce170bda..2b2e2f1e3f54d0b3884c99a1b6d6842763950982 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>
 
 
+Format 11
 Columns                 1
 Sides                   2
 PageStyle               Headers
@@ -15,10 +18,12 @@ PageStyle               Headers
 
 ClassOptions
        FontSize   8|9|10|11|12
-End  
+End
 
+DefaultModule theorems-ams
 
 Style Standard
+       Category              MainText
        Margin                Static
        LatexType             Paragraph
        LatexName             dummy
@@ -32,20 +37,18 @@ End
 
 Preamble
        \numberwithin{section}{chapter}
-       \theoremstyle{plain}    
-       \newtheorem{thm}{Theorem}[section]
        \numberwithin{equation}{section} %% Comment out for sequentially-numbered
        \numberwithin{figure}{section} %% Comment out for sequentially-numbered
 EndPreamble
 
 
 Input stdsections.inc
+Input stdinsets.inc
 Input numreport.inc
 
 
 Style Section
        Align                 Center
-       AlignPossible         Block, Center, Left
        Font
          Series              Medium
          Shape               Smallcaps
@@ -71,24 +74,16 @@ End
 
 
 Input stdstarsections.inc
-
-
 Input lyxmacros.inc
-NoStyle Address
-
-
-Input amsdefs.inc
-
-
 Input stdlayouts.inc
-NoStyle Verse
-NoStyle Abstract
-
-
 Input stdlists.inc
 Input stdfloats.inc
 Input stdcounters.inc
+Input amsdefs.inc
 
+# Unwanted styles from the includes
+NoStyle Address
+NoStyle Verse
 
 # Chapter is _not_ prepended
 Style Section
@@ -97,11 +92,9 @@ Style Section
 End
 
 
-# Paragraph doesn't have numbered labels
 Style Paragraph
-       LabelString          ""
-       LabelStringAppendix  ""
        Font
+         Series Medium
        EndFont
 End