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