]> git.lyx.org Git - features.git/blob - lib/layouts/siamltex.layout
b207ad35f7a5759197b17c7ea4616a57fadf4d75
[features.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 85
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         DocBookTag            para
48 End
49
50
51 Preamble
52 \newcommand\eqref[1]{(\ref{#1})}
53 EndPreamble
54
55
56 Input stdsections.inc
57 Input stdstarsections.inc
58 Input lyxmacros.inc
59 Input stdlayouts.inc
60 Input stdlists.inc
61 Input stdfloats.inc
62 Input stdcounters.inc
63
64 Input amsdefs.inc
65
66 #
67 # some redefinitions of the AMS Theorems
68 #
69 Style Theorem
70         LatexName             theorem
71         Preamble
72         EndPreamble
73 End
74
75 Style Theorem*
76         Obsoletedby           Theorem
77 End
78
79 Style Corollary
80         LatexName             corollary
81         Preamble
82         EndPreamble
83 End
84
85 Style Corollary*
86         Obsoletedby           Corollary
87 End
88
89 Style Lemma
90         LatexName             lemma
91         Preamble
92         EndPreamble
93 End
94
95 Style Lemma*
96         Obsoletedby           Lemma
97 End
98
99 Style Proposition
100         LatexName             proposition
101         Preamble
102         EndPreamble
103 End
104
105 Style Proposition*
106         Obsoletedby           Proposition
107 End
108
109 Style Conjecture
110         Preamble
111         EndPreamble
112 End
113
114 Style Conjecture*
115         Obsoletedby          Conjecture
116 End
117
118 Style Algorithm
119         Category              Reasoning
120         Preamble
121         EndPreamble
122 End
123
124 Style Algorithm*
125         Obsoletedby          Algorithm
126 End
127
128 Style Definition
129         LatexName            definition
130         Preamble
131         EndPreamble
132 End
133
134 Style Definition*
135         Obsoletedby          Definition
136 End
137
138 Style AMS
139         Obsoletedby          Subjectclass
140 End
141
142
143 NoStyle Fact
144 NoStyle Fact*
145 NoStyle Example
146 NoStyle Example*
147 NoStyle Problem
148 NoStyle Problem*
149 NoStyle Exercise
150 NoStyle Exercise*
151 NoStyle Remark
152 NoStyle Remark*
153 NoStyle Claim
154 NoStyle Claim*
155
156
157 Style Proof
158         Margin                First_Dynamic
159         LatexType             Environment
160         LatexName             proof
161         NextNoIndent          1
162         Argument 1
163                 LabelString   "Alternative Proof String"
164                 Tooltip       "An alternative proof string"
165         EndArgument
166         LabelSep              xx
167         ParIndent             MMM
168         ParSkip               0.4
169         ItemSep               0.2
170         TopSep                0.7
171         BottomSep             0.7
172         ParSep                0.3
173         Align                 Block
174         AlignPossible         Block, Left
175         LabelType             Static
176         LabelString           "Proof."
177         EndLabelType          Box
178         Font
179           Shape               Up
180           Size                Normal
181         EndFont
182         LabelFont
183           Shape               Italic
184         EndFont
185         # We don't want the preamble from Theorem
186         Preamble
187         EndPreamble
188 End
189
190
191 ### Now the title stuff. We do not use stdstruct.inc to keep
192 ### things in the right order
193 Style Title
194         Margin                Static
195         LatexType             Command
196         InTitle               1
197         LatexName             title
198         ParSkip               0.4
199         ItemSep               0
200         TopSep                0
201         BottomSep             1
202         ParSep                1
203         Align                 Center
204         LabelType             No_Label
205         Argument 1
206                 LabelString   "Short Title|S"
207                 Tooltip       "The title as it appears in the running headers"
208                 InsertCotext   1
209         EndArgument
210         Font
211           Shape               Smallcaps
212           Series              Bold
213           Size                Larger
214         EndFont
215         HTMLTitle             true
216 End
217
218
219 Style Author
220         Margin                Static
221         LatexType             Command
222         InTitle               1
223         LatexName             author
224         LabelSep              xxx
225         ParSkip               0.4
226         TopSep                1.3
227         BottomSep             0.7
228         ParSep                0.7
229         Align                 Center
230         LabelType             No_Label
231         Font
232           Size                Large
233           Shape               Smallcaps
234         EndFont
235 End
236
237
238 Style Date
239         Margin                Dynamic
240         LatexType             Command
241         InTitle               1
242         LatexName             date
243         LabelSep              xxx
244         ParSkip               0.4
245         TopSep                0.9
246         BottomSep             0.5
247         ParSep                1
248         Align                 Center
249         LabelType             Static
250         LabelString           "Date:"
251         Font
252           Size                Large
253         EndFont
254         LabelFont
255           Shape               Italic
256           Size                Large
257         EndFont
258 End
259
260
261 Style Abstract
262         Margin                First_Dynamic
263         LatexType             Environment
264         InTitle               0
265         LatexName             abstract
266         LeftMargin            MMM
267         LabelIndent           MMM
268         RightMargin           MMM
269         ParIndent             MM
270         TopSep                0.7
271         BottomSep             0.7
272         Align                 Block
273         LabelType             Static
274         LabelString           "Abstract."
275         LabelSep              M
276         Font
277           Size                Small
278         EndFont
279         LabelFont
280           Shape               Smallcaps
281         EndFont
282 End
283
284
285 # Clear Address definition from lyxmacros
286 NoStyle Address
287
288 Style Address
289         Category              FrontMatter
290         Margin                Dynamic
291         LatexType             Command
292         InTitle               1
293         LatexName             address
294         ParSkip               0.4
295         BottomSep             1.5
296         ParSep                1.5
297         Align                 Left
298         AlignPossible         Block, Left, Right, Center
299         LabelType             Static
300         LabelString           "Address:"
301         LabelSep              M
302         LabelFont
303           Shape               Italic
304         EndFont
305 End
306
307
308 Style Right_Address
309         Category              FrontMatter
310 End
311
312
313 Style Keywords
314         CopyStyle             Abstract
315         LatexName             keywords
316         LabelString           "Key words:"
317         DocBookTag         keyword
318         DocBookTagType     paragraph
319         DocBookWrapperTag  keywordset
320         DocBookInInfo      always
321 End
322
323
324 Style Subjectclass
325         CopyStyle             Abstract
326         LatexName             AMS
327         LabelString           "AMS subject classifications:"
328 End
329
330
331 Style Bibliography
332         Category              BackMatter
333         Margin                First_Dynamic
334         LatexType             Bib_Environment
335         LatexName             thebibliography
336         NextNoIndent          1
337         ToggleIndent          Never
338         LeftMargin            MM
339         ParSkip               0.4
340         ItemSep               0
341         TopSep                0.7
342         BottomSep             0.7
343         ParSep                0.5
344         Align                 Block
345         AlignPossible         Block, Left
346         LabelType             Bibliography
347         LabelString           "References"
348         LabelBottomSep        0.7
349         Font
350           Size                Small
351         EndFont
352         LabelFont
353           Size                Normal
354           Shape               Smallcaps
355         EndFont
356         TocLevel              1
357         IsTocCaption          0
358         Argument listpreamble:1
359           LabelString    "Bib preamble"
360           MenuString     "Bibliography Preamble"
361           Tooltip        "LaTeX code to be inserted before the first bibliography item"
362           PassThru       1
363           Font
364             Family typewriter
365             Color latex
366           EndFont
367         EndArgument
368 End
369
370 NoStyle                 Chapter
371 NoCounter                 chapter
372 NoStyle                 Paragraph
373 NoCounter                 paragraph
374 NoStyle                 Subparagraph
375 NoCounter                 subparagraph
376 NoStyle                 Chapter*
377 #NoStyle                Paragraph*
378 #NoStyle                Subparagraph*
379
380 NoStyle Verse    # Although mathematicians tend to be poets at times,
381                  # we don't need this.
382
383
384 Style Section
385         Align                 Center
386         Font
387           Series              Medium
388           Shape               Smallcaps
389           Size                Large
390         EndFont
391         TocLevel 1
392 End
393
394
395 Style Subsection
396         Font
397           Series              Bold
398           Size                Normal
399         EndFont
400         TocLevel 2
401 End
402
403
404 Style Subsubsection
405         Font
406           Shape               Italic
407           Size                Normal
408         EndFont
409         TocLevel 3
410 End