]> git.lyx.org Git - lyx.git/blob - lib/layouts/siamltex.layout
76ab0da13783b15bd160389a40f8880d333ec788
[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 68
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              Reasoning
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         Argument 1
162                 LabelString   "Alternative Proof String"
163                 Tooltip       "An alternative proof string"
164         EndArgument
165         LabelSep              xx
166         ParIndent             MMM
167         ParSkip               0.4
168         ItemSep               0.2
169         TopSep                0.7
170         BottomSep             0.7
171         ParSep                0.3
172         Align                 Block
173         AlignPossible         Block, Left
174         LabelType             Static
175         LabelString           "Proof."
176         EndLabelType          Box
177         Font
178           Shape               Up
179           Size                Normal
180         EndFont
181         LabelFont
182           Shape               Italic
183         EndFont
184         # We don't want the preamble from Theorem
185         Preamble
186         EndPreamble
187 End
188
189
190 ### Now the title stuff. We do not use stdstruct.inc to keep
191 ### things in the right order
192 Style Title
193         Margin                Static
194         LatexType             Command
195         InTitle               1
196         LatexName             title
197         ParSkip               0.4
198         ItemSep               0
199         TopSep                0
200         BottomSep             1
201         ParSep                1
202         Align                 Center
203         LabelType             No_Label
204         Argument 1
205                 LabelString   "Short Title|S"
206                 Tooltip       "The title as it appears in the running headers"
207                 InsertCotext   1
208         EndArgument
209         Font
210           Shape               Smallcaps
211           Series              Bold
212           Size                Larger
213         EndFont
214         HTMLTitle             true
215 End
216
217
218 Style Author
219         Margin                Static
220         LatexType             Command
221         InTitle               1
222         LatexName             author
223         LabelSep              xxx
224         ParSkip               0.4
225         TopSep                1.3
226         BottomSep             0.7
227         ParSep                0.7
228         Align                 Center
229         LabelType             No_Label
230         Font
231           Size                Large
232           Shape               Smallcaps
233         EndFont
234 End
235
236
237 Style Date
238         Margin                Dynamic
239         LatexType             Command
240         InTitle               1
241         LatexName             date
242         LabelSep              xxx
243         ParSkip               0.4
244         TopSep                0.9
245         BottomSep             0.5
246         ParSep                1
247         Align                 Center
248         LabelType             Static
249         LabelString           "Date:"
250         Font
251           Size                Large
252         EndFont
253         LabelFont
254           Shape               Italic
255           Size                Large
256         EndFont
257 End
258
259
260 Style Abstract
261         Margin                First_Dynamic
262         LatexType             Environment
263         InTitle               0
264         LatexName             abstract
265         LeftMargin            MMM
266         LabelIndent           MMM
267         RightMargin           MMM
268         ParIndent             MM
269         TopSep                0.7
270         BottomSep             0.7
271         Align                 Block
272         LabelType             Static
273         LabelString           "Abstract."
274         LabelSep              M
275         Font
276           Size                Small
277         EndFont
278         LabelFont
279           Shape               Smallcaps
280         EndFont
281 End
282
283
284 # Clear Address definition from lyxmacros
285 NoStyle Address
286
287 Style Address
288         Category              FrontMatter
289         Margin                Dynamic
290         LatexType             Command
291         InTitle               1
292         LatexName             address
293         ParSkip               0.4
294         BottomSep             1.5
295         ParSep                1.5
296         Align                 Left
297         AlignPossible         Block, Left, Right, Center
298         LabelType             Static
299         LabelString           "Address:"
300         LabelSep              M
301         LabelFont
302           Shape               Italic
303         EndFont
304 End
305
306
307 Style Right_Address
308         Category              FrontMatter
309 End
310
311
312 Style Keywords
313         CopyStyle             Abstract
314         LatexName             keywords
315         LabelString           "Key words:"
316 End
317
318
319 Style Subjectclass
320         CopyStyle             Abstract
321         LatexName             AMS
322         LabelString           "AMS subject classifications:"
323 End
324
325
326 Style Bibliography
327         Category              BackMatter
328         Margin                First_Dynamic
329         LatexType             Bib_Environment
330         LatexName             thebibliography
331         NextNoIndent          1
332         ToggleIndent          Never
333         LeftMargin            MM
334         ParSkip               0.4
335         ItemSep               0
336         TopSep                0.7
337         BottomSep             0.7
338         ParSep                0.5
339         Align                 Block
340         AlignPossible         Block, Left
341         LabelType             Bibliography
342         LabelString           "References"
343         LabelBottomSep        0.7
344         Font
345           Size                Small
346         EndFont
347         LabelFont
348           Size                Normal
349           Shape               Smallcaps
350         EndFont
351         TocLevel              1
352         IsTocCaption          0
353 End
354
355 NoStyle                 Chapter
356 NoCounter                 chapter
357 NoStyle                 Paragraph
358 NoCounter                 paragraph
359 NoStyle                 Subparagraph
360 NoCounter                 subparagraph
361 NoStyle                 Chapter*
362 #NoStyle                Paragraph*
363 #NoStyle                Subparagraph*
364
365 NoStyle Verse    # Although mathematicians tend to be poets at times,
366                  # we don't need this.
367
368
369 Style Section
370         Align                 Center
371         Font
372           Series              Medium
373           Shape               Smallcaps
374           Size                Large
375         EndFont
376         TocLevel 1
377 End
378
379
380 Style Subsection
381         Font
382           Series              Bold
383           Size                Normal
384         EndFont
385         TocLevel 2
386 End
387
388
389 Style Subsubsection
390         Font
391           Shape               Italic
392           Size                Normal
393         EndFont
394         TocLevel 3
395 End