]> git.lyx.org Git - lyx.git/blob - lib/layouts/siamltex.layout
Question environments, from Russ Woodroofe.
[lyx.git] / lib / layouts / siamltex.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass{article (SIAM)}
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 # Modified from  amsart.layout May '08 by Andrew Corrigan <acorriga@gmu.edu>
11
12
13 Format 11
14 Columns                 1
15 Sides                   2
16 PageStyle               Headers
17 Provides makeidx        1
18
19
20 ClassOptions
21         FontSize   8|9|10|11|12
22 End
23
24 # We need to load the module this way 
25 # so we can disable some layouts below.
26 Input theorems-ams.module
27 ProvidesModule theorems-ams
28 ExcludesModule theorems-ams-extended
29
30 Style Standard
31         Category              MainText
32         Margin                Static
33         LatexType             Paragraph
34         LatexName             dummy
35         ParIndent             MM
36         ParSkip               0.4
37         Align                 Block
38         AlignPossible         Block, Left, Right, Center
39         LabelType             No_Label
40 End
41
42
43 Preamble
44 \newcommand\eqref[1]{(\ref{#1})}
45 EndPreamble
46
47
48 Input stdsections.inc
49 Input stdstarsections.inc
50 Input lyxmacros.inc
51 Input stdlayouts.inc
52 Input stdlists.inc
53 Input stdfloats.inc
54 Input stdcounters.inc
55
56 Input amsdefs.inc
57
58 #
59 # some redefinitions of the AMS Theorems
60 #
61 Style Theorem
62         LatexName             theorem
63         Preamble
64         EndPreamble
65 End
66
67 Style Theorem*
68         Obsoletedby           Theorem
69 End
70
71 Style Corollary
72         LatexName             corollary
73         Preamble
74         EndPreamble
75 End
76
77 Style Corollary*
78         Obsoletedby           Corollary
79 End
80
81 Style Lemma
82         LatexName             lemma
83         Preamble
84         EndPreamble
85 End
86
87 Style Lemma*
88         Obsoletedby           Lemma
89 End
90
91 Style Proposition
92         LatexName             proposition
93         Preamble
94         EndPreamble
95 End
96
97 Style Proposition*
98         Obsoletedby           Proposition
99 End
100
101 Style Conjecture
102         Preamble
103         EndPreamble
104 End
105
106 Style Conjecture*
107         Obsoletedby          Conjecture
108 End
109
110 Style Algorithm
111         Category              Theorem
112         Preamble
113         EndPreamble
114 End
115
116 Style Algorithm*
117         Obsoletedby          Algorithm
118 End
119
120 Style Definition
121         LatexName            definition
122         Preamble
123         EndPreamble
124 End
125
126 Style Definition*
127         Obsoletedby          Definition
128 End
129
130 Style AMS
131         Obsoletedby          Subjectclass
132 End
133
134
135 NoStyle Fact
136 NoStyle Fact*
137 NoStyle Example
138 NoStyle Example*
139 NoStyle Problem
140 NoStyle Problem*
141 NoStyle Exercise
142 NoStyle Exercise*
143 NoStyle Remark
144 NoStyle Remark*
145 NoStyle Claim
146 NoStyle Claim*
147
148
149 Style Proof
150         Margin                First_Dynamic
151         LatexType             Environment
152         LatexName             proof
153         NextNoIndent          1
154         OptionalArgs          1
155         LabelSep              xx
156         ParIndent             MMM
157         ParSkip               0.4
158         ItemSep               0.2
159         TopSep                0.7
160         BottomSep             0.7
161         ParSep                0.3
162         Align                 Block
163         AlignPossible         Block, Left
164         LabelType             Static
165         LabelString           "Proof."
166         EndLabelType          Box
167         Font
168           Shape               Up
169           Size                Normal
170         EndFont
171         LabelFont
172           Shape               Italic
173         EndFont
174         # We don't want the preamble from Theorem
175         Preamble
176         EndPreamble
177 End
178
179
180 ### Now the title stuff. We do not use stdstruct.inc to keep
181 ### things in the right order
182 Style Title
183         Margin                Static
184         LatexType             Command
185         InTitle               1
186         LatexName             title
187         ParSkip               0.4
188         ItemSep               0
189         TopSep                0
190         BottomSep             1
191         ParSep                1
192         Align                 Center
193         LabelType             No_Label
194         OptionalArgs          1
195         Font
196           Shape               Smallcaps
197           Series              Bold
198           Size                Larger
199         EndFont
200 End
201
202
203 Style Author
204         Margin                Static
205         LatexType             Command
206         InTitle               1
207         LatexName             author
208         LabelSep              xxx
209         ParSkip               0.4
210         TopSep                1.3
211         BottomSep             0.7
212         ParSep                0.7
213         Align                 Center
214         LabelType             No_Label
215         Font
216           Size                Large
217           Shape               Smallcaps
218         EndFont
219 End
220
221
222 Style Date
223         Margin                Dynamic
224         LatexType             Command
225         InTitle               1
226         LatexName             date
227         LabelSep              xxx
228         ParSkip               0.4
229         TopSep                0.9
230         BottomSep             0.5
231         ParSep                1
232         Align                 Center
233         LabelType             Static
234         LabelString           "Date:"
235         Font
236           Size                Large
237         EndFont
238         LabelFont
239           Shape               Italic
240           Size                Large
241         EndFont
242 End
243
244
245 Style Abstract
246         Margin                First_Dynamic
247         LatexType             Environment
248         InTitle               0
249         LatexName             abstract
250         LeftMargin            MMM
251         LabelIndent           MMM
252         RightMargin           MMM
253         ParIndent             MM
254         TopSep                0.7
255         BottomSep             0.7
256         Align                 Block
257         LabelType             Static
258         LabelString           "Abstract."
259         LabelSep              M
260         Font
261           Size                Small
262         EndFont
263         LabelFont
264           Shape               Smallcaps
265         EndFont
266 End
267
268
269 # Clear Address definition from lyxmacros
270 NoStyle Address
271
272 Style Address
273         Category              FrontMatter
274         Margin                Dynamic
275         LatexType             Command
276         InTitle               1
277         LatexName             address
278         ParSkip               0.4
279         BottomSep             1.5
280         ParSep                1.5
281         Align                 Left
282         AlignPossible         Block, Left, Right, Center
283         LabelType             Static
284         LabelString           "Address:"
285         LabelSep              M
286         LabelFont
287           Shape               Italic
288         EndFont
289 End
290
291
292 Style Right_Address
293         Category              FrontMatter
294 End
295
296
297 Style Keywords
298         CopyStyle             Abstract
299         LatexName             keywords
300         LabelString           "Key words:"
301 End
302
303
304 Style Subjectclass
305         CopyStyle             Abstract
306         LatexName             AMS
307         LabelString           "AMS subject classifications:"
308 End
309
310
311 Style Bibliography
312         Category              BackMatter
313         Margin                First_Dynamic
314         LatexType             Bib_Environment
315         LatexName             thebibliography
316         NextNoIndent          1
317         LeftMargin            MM
318         ParSkip               0.4
319         ItemSep               0
320         TopSep                0.7
321         BottomSep             0.7
322         ParSep                0.5
323         Align                 Block
324         AlignPossible         Block, Left
325         LabelType             Bibliography
326         LabelString           "References"
327         LabelBottomSep        0.7
328         Font
329           Size                Small
330         EndFont
331         LabelFont
332           Size                Normal
333           Shape               Smallcaps
334         EndFont
335 End
336
337 NoStyle                 Chapter
338 NoStyle                 Paragraph
339 NoStyle                 Subparagraph
340 NoStyle                 Chapter*
341 #NoStyle                Paragraph*
342 #NoStyle                Subparagraph*
343
344 NoStyle Verse    # Although mathematicians tend to be poets at times,
345                  # we don't need this.
346
347
348 Style Section
349         Align                 Center
350         Font
351           Series              Medium
352           Shape               Smallcaps
353           Size                Large
354         EndFont
355 End
356
357
358 Style Subsection
359         Font
360           Series              Bold
361           Size                Normal
362         EndFont
363 End
364
365
366 Style Subsubsection
367         Font
368           Shape               Italic
369           Size                Normal
370         EndFont
371 End