]> git.lyx.org Git - lyx.git/blob - lib/layouts/amsbook.layout
Don't need \makeat*.
[lyx.git] / lib / layouts / amsbook.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass{book (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 # Tinkered with Sep. '07 by Paul Rubin <rubin@msu.edu>
10 # Modularized Jan '08 by Richard Heck <rgheck@brown.edu>
11 # Moved "number within sections" to modules Aug '09 (Paul Rubin <rubin@msu.edu>)
12
13
14 Format 30
15 Columns                 1
16 Sides                   2
17 PageStyle               Headers
18
19
20 ClassOptions
21         FontSize   8|9|10|11|12
22 End
23
24 DefaultModule theorems-ams
25 DefaultModule eqs-within-sections
26 DefaultModule figs-within-sections
27
28 Style Standard
29         Category              MainText
30         Margin                Static
31         LatexType             Paragraph
32         LatexName             dummy
33         ParIndent             MM
34         ParSkip               0.4
35         Align                 Block
36         AlignPossible         Block, Left, Right, Center
37         LabelType             No_Label
38 End
39
40
41 Preamble
42         \numberwithin{section}{chapter}
43 EndPreamble
44
45
46 Input stdsections.inc
47 Input stdinsets.inc
48 Input numreport.inc
49
50
51 Style Section
52         Align                 Center
53         Font
54           Series              Bold
55           Size                Large
56         EndFont
57         TocLevel 1
58 End
59
60
61 Style Subsection
62         Font
63           Series              Bold
64           Size                Normal
65         EndFont
66         TocLevel 2
67 End
68
69
70 Style Subsubsection
71         Font
72           Shape               Italic
73           Size                Normal
74         EndFont
75         TocLevel 3
76 End
77
78
79 Input stdstarsections.inc
80
81
82 Style Section*
83         Align                 Center
84         Font
85           Series              Bold
86           Size                Large
87         EndFont
88 End
89
90
91 Style Subsection*
92         Font
93           Series              Bold
94           Size                Normal
95         EndFont
96 End
97
98
99 Style Subsubsection*
100         Font
101           Shape               Italic
102           Size                Normal
103         EndFont
104 End
105
106
107 Input lyxmacros.inc
108 Input stdlayouts.inc
109 Input stdlists.inc
110 Input stdfloats.inc
111 Input stdcounters.inc
112 Input amsdefs.inc
113
114 # Unwanted styles from the includes
115 NoStyle Address
116 NoStyle Verse
117
118 # Chapter is _not_ prepended
119 # JSpitz: this seems to be not true (anymore?)
120 #Style Section
121 #       LabelString          "\arabic{section}"
122 #       LabelStringAppendix  "\arabic{section}"
123 #End
124
125
126 Style Paragraph
127         Font
128           Series Medium
129         EndFont
130         TocLevel 4
131 End
132
133
134 # End-of Chapter exercises  I need a way to do this.
135 Style Chapter_Exercises
136         Margin                First_Dynamic
137         LatexType             Item_Environment
138         LatexName             lyxxcb
139         NextNoIndent          1
140         LeftMargin            MMN
141         LabelSep              xx
142         ParSkip               0.0
143         ItemSep               0.2
144         TopSep                0.7
145         BottomSep             0.7
146         ParSep                0.3
147         Align                 Block
148         AlignPossible         Block, Left
149         LabelType             Counter
150         LabelFont
151           Shape               Up
152           Series              Bold
153         EndFont
154         Preamble
155           \newenvironment{lyxxcb}{\begin{xcb}{Exercises}\begin{enumerate}}
156                              {\end{enumerate}\end{xcb}}
157         EndPreamble
158 End