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