]> git.lyx.org Git - lyx.git/blob - lib/layouts/siamltex.layout
Support for beamer block arguments (#3280)
[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 41
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         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         EndArgument
208         Font
209           Shape               Smallcaps
210           Series              Bold
211           Size                Larger
212         EndFont
213         HTMLTitle             true
214 End
215
216
217 Style Author
218         Margin                Static
219         LatexType             Command
220         InTitle               1
221         LatexName             author
222         LabelSep              xxx
223         ParSkip               0.4
224         TopSep                1.3
225         BottomSep             0.7
226         ParSep                0.7
227         Align                 Center
228         LabelType             No_Label
229         Font
230           Size                Large
231           Shape               Smallcaps
232         EndFont
233 End
234
235
236 Style Date
237         Margin                Dynamic
238         LatexType             Command
239         InTitle               1
240         LatexName             date
241         LabelSep              xxx
242         ParSkip               0.4
243         TopSep                0.9
244         BottomSep             0.5
245         ParSep                1
246         Align                 Center
247         LabelType             Static
248         LabelString           "Date:"
249         Font
250           Size                Large
251         EndFont
252         LabelFont
253           Shape               Italic
254           Size                Large
255         EndFont
256 End
257
258
259 Style Abstract
260         Margin                First_Dynamic
261         LatexType             Environment
262         InTitle               0
263         LatexName             abstract
264         LeftMargin            MMM
265         LabelIndent           MMM
266         RightMargin           MMM
267         ParIndent             MM
268         TopSep                0.7
269         BottomSep             0.7
270         Align                 Block
271         LabelType             Static
272         LabelString           "Abstract."
273         LabelSep              M
274         Font
275           Size                Small
276         EndFont
277         LabelFont
278           Shape               Smallcaps
279         EndFont
280 End
281
282
283 # Clear Address definition from lyxmacros
284 NoStyle Address
285
286 Style Address
287         Category              FrontMatter
288         Margin                Dynamic
289         LatexType             Command
290         InTitle               1
291         LatexName             address
292         ParSkip               0.4
293         BottomSep             1.5
294         ParSep                1.5
295         Align                 Left
296         AlignPossible         Block, Left, Right, Center
297         LabelType             Static
298         LabelString           "Address:"
299         LabelSep              M
300         LabelFont
301           Shape               Italic
302         EndFont
303 End
304
305
306 Style Right_Address
307         Category              FrontMatter
308 End
309
310
311 Style Keywords
312         CopyStyle             Abstract
313         LatexName             keywords
314         LabelString           "Key words:"
315 End
316
317
318 Style Subjectclass
319         CopyStyle             Abstract
320         LatexName             AMS
321         LabelString           "AMS subject classifications:"
322 End
323
324
325 Style Bibliography
326         Category              BackMatter
327         Margin                First_Dynamic
328         LatexType             Bib_Environment
329         LatexName             thebibliography
330         NextNoIndent          1
331         LeftMargin            MM
332         ParSkip               0.4
333         ItemSep               0
334         TopSep                0.7
335         BottomSep             0.7
336         ParSep                0.5
337         Align                 Block
338         AlignPossible         Block, Left
339         LabelType             Bibliography
340         LabelString           "References"
341         LabelBottomSep        0.7
342         Font
343           Size                Small
344         EndFont
345         LabelFont
346           Size                Normal
347           Shape               Smallcaps
348         EndFont
349 End
350
351 NoStyle                 Chapter
352 NoCounter                 chapter
353 NoStyle                 Paragraph
354 NoCounter                 paragraph
355 NoStyle                 Subparagraph
356 NoCounter                 subparagraph
357 NoStyle                 Chapter*
358 #NoStyle                Paragraph*
359 #NoStyle                Subparagraph*
360
361 NoStyle Verse    # Although mathematicians tend to be poets at times,
362                  # we don't need this.
363
364
365 Style Section
366         Align                 Center
367         Font
368           Series              Medium
369           Shape               Smallcaps
370           Size                Large
371         EndFont
372         TocLevel 1
373 End
374
375
376 Style Subsection
377         Font
378           Series              Bold
379           Size                Normal
380         EndFont
381         TocLevel 2
382 End
383
384
385 Style Subsubsection
386         Font
387           Shape               Italic
388           Size                Normal
389         EndFont
390         TocLevel 3
391 End