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