]> git.lyx.org Git - lyx.git/blob - lib/layouts/amsart.layout
From Jean-Marc: Make sure that standard sectioning styles have proper counters
[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 Format 2
11 Columns                 1
12 Sides                   2
13 PageStyle               Headers
14
15
16 ClassOptions
17         FontSize   8|9|10|11|12
18 End
19
20
21 Style Standard
22         Margin                Static
23         LatexType             Paragraph
24         LatexName             dummy
25         ParIndent             MM
26         ParSkip               0.4
27         Align                 Block
28         AlignPossible         Block, Left, Right, Center
29         LabelType             No_Label
30 End
31
32
33 Preamble
34         \theoremstyle{plain}
35         \newtheorem{thm}{Theorem}[section]
36         \numberwithin{equation}{section} %% Comment out for sequentially-numbered
37         \numberwithin{figure}{section} %% Comment out for sequentially-numbered
38 EndPreamble
39
40
41 Input stdsections.inc
42 Input stdstarsections.inc
43 Input lyxmacros.inc
44 Input amsdefs.inc
45 Input stdlayouts.inc
46 Input stdlists.inc
47 Input stdfloats.inc
48 Input stdcounters.inc
49
50 NoStyle                 Chapter
51 NoStyle                 Paragraph
52 NoStyle                 Subparagraph
53 NoStyle                 Chapter*
54 NoStyle                 Address
55 #NoStyle                Paragraph*
56 #NoStyle                Subparagraph*
57
58 NoStyle Verse    # Although mathematicians tend to be poets at times,
59                        # we don't need this.
60
61
62 Style Section
63         Align                 Center
64         AlignPossible         Block, Center, Left
65         Font
66           Series              Medium
67           Shape               Smallcaps
68           Size                Large
69         EndFont
70 End
71
72
73 Style Subsection
74         Font
75           Series              Bold
76           Size                Normal
77         EndFont
78 End
79
80
81 Style Subsubsection
82         Font
83           Shape               Italic
84           Size                Normal
85         EndFont
86 End