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