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