]> git.lyx.org Git - lyx.git/blob - lib/layouts/amsart.layout
6e8ab40a4bbb4ce6bc5a5ab860dbe0e3f268c7c0
[lyx.git] / lib / layouts / amsart.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass{article (AMS)}
3 # AMS-Article textclass definition file. Taken from initial LyX source code
4 # and from the Article textclass definition file, following the AMS sample
5 # paper "testmath.tex" of January, 1995
6 # Author : David L. Johnson <dlj0@lehigh.edu>
7 # Probably broken by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8 # modified and modularized by Emmanuel GUREGHIAN <gureghia@boston.bertin.fr>
9
10
11 # General textclass parameters
12 # Description          "article (AMS)"
13 Columns                 1
14 Sides                   2
15 PageStyle               Headers
16 MaxCounter              Counter_Section
17
18 ClassOptions
19   FontSize   8|9|10|11|12
20 End  
21
22 # Standard style definition
23 Style Standard
24   Margin                Static
25   LatexType             Paragraph
26   LatexName             dummy
27   ParIndent             MM
28   ParSkip               0.4
29   Align                 Block
30   AlignPossible         Block, Left, Right, Center
31   LabelType             No_Label
32 End
33
34 ############### Sections.
35 # First the standard numbered definitions
36 Input stdsections.inc
37
38
39 # Redefine some of the section styles.
40 Style Section
41   Align                 Center
42   AlignPossible         Block, Center, Left
43
44   # standard font definition
45   Font
46     Series              Medium
47     Shape               Smallcaps
48     Size                Large
49   EndFont
50 End
51
52 # Subsection-numbered style definition
53 Style Subsection
54   # standard font definition
55   Font
56     Series              Bold
57     Size                Normal
58   EndFont
59 End
60
61 # Subsubsection-numbered style definition
62 Style Subsubsection
63   # standard font definition
64   Font
65     Shape               Italic
66     Size                Normal
67   EndFont
68 End
69
70 # then define the unumbered sections, based on the numbered ones.
71 Input stdstarsections.inc
72
73 # remove the layouts that we do not need.
74 NoStyle         Chapter
75 NoStyle         Paragraph
76 NoStyle         Subparagraph
77 NoStyle         Chapter*
78 #NoStyle                Paragraph*
79 #NoStyle                Subparagraph*
80
81 # Perharp's we should put this at the end of the file so it appears at the end
82 # of the list box ??
83
84 Preamble
85   \theoremstyle{plain}    
86   \newtheorem{thm}{Theorem}[section]
87   \numberwithin{equation}{section} %% Comment out for sequentially-numbered
88   \numberwithin{figure}{section} %% Comment out for sequentially-numbered
89 EndPreamble
90
91
92
93 Input amsdefs.inc
94
95  
96 Input stdlayouts.inc
97 NoStyle Verse    # Although mathematicians tend to be poets at times, 
98                  # we don't need this.
99
100
101 Input stdlists.inc
102 Input lyxmacros.inc
103
104 ### Finally a few obsolete definitions for compatibility
105 Input obsolete.inc
106