]> git.lyx.org Git - features.git/blob - lib/layouts/siamltex.layout
DocBook: implement title for layouts that previously missed it.
[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         DocBookTag            title
217         DocBookTagType        paragraph
218         DocBookInInfo         maybe
219 End
220
221
222 Style Author
223         Margin                Static
224         LatexType             Command
225         InTitle               1
226         LatexName             author
227         LabelSep              xxx
228         ParSkip               0.4
229         TopSep                1.3
230         BottomSep             0.7
231         ParSep                0.7
232         Align                 Center
233         LabelType             No_Label
234         Font
235           Size                Large
236           Shape               Smallcaps
237         EndFont
238 End
239
240
241 Style Date
242         Margin                Dynamic
243         LatexType             Command
244         InTitle               1
245         LatexName             date
246         LabelSep              xxx
247         ParSkip               0.4
248         TopSep                0.9
249         BottomSep             0.5
250         ParSep                1
251         Align                 Center
252         LabelType             Static
253         LabelString           "Date:"
254         Font
255           Size                Large
256         EndFont
257         LabelFont
258           Shape               Italic
259           Size                Large
260         EndFont
261 End
262
263
264 Style Abstract
265         Margin                First_Dynamic
266         LatexType             Environment
267         InTitle               0
268         LatexName             abstract
269         LeftMargin            MMM
270         LabelIndent           MMM
271         RightMargin           MMM
272         ParIndent             MM
273         TopSep                0.7
274         BottomSep             0.7
275         Align                 Block
276         LabelType             Static
277         LabelString           "Abstract."
278         LabelSep              M
279         Font
280           Size                Small
281         EndFont
282         LabelFont
283           Shape               Smallcaps
284         EndFont
285 End
286
287
288 # Clear Address definition from lyxmacros
289 NoStyle Address
290
291 Style Address
292         Category              FrontMatter
293         Margin                Dynamic
294         LatexType             Command
295         InTitle               1
296         LatexName             address
297         ParSkip               0.4
298         BottomSep             1.5
299         ParSep                1.5
300         Align                 Left
301         AlignPossible         Block, Left, Right, Center
302         LabelType             Static
303         LabelString           "Address:"
304         LabelSep              M
305         LabelFont
306           Shape               Italic
307         EndFont
308 End
309
310
311 Style Right_Address
312         Category              FrontMatter
313 End
314
315
316 Style Keywords
317         CopyStyle             Abstract
318         LatexName             keywords
319         LabelString           "Key words:"
320         DocBookTag         keyword
321         DocBookTagType     paragraph
322         DocBookWrapperTag  keywordset
323         DocBookInInfo      always
324 End
325
326
327 Style Subjectclass
328         CopyStyle             Abstract
329         LatexName             AMS
330         LabelString           "AMS subject classifications:"
331 End
332
333
334 Style Bibliography
335         Category              BackMatter
336         Margin                First_Dynamic
337         LatexType             Bib_Environment
338         LatexName             thebibliography
339         NextNoIndent          1
340         ToggleIndent          Never
341         LeftMargin            MM
342         ParSkip               0.4
343         ItemSep               0
344         TopSep                0.7
345         BottomSep             0.7
346         ParSep                0.5
347         Align                 Block
348         AlignPossible         Block, Left
349         LabelType             Bibliography
350         LabelString           "References"
351         LabelBottomSep        0.7
352         Font
353           Size                Small
354         EndFont
355         LabelFont
356           Size                Normal
357           Shape               Smallcaps
358         EndFont
359         TocLevel              1
360         IsTocCaption          0
361         Argument listpreamble:1
362           LabelString    "Bib preamble"
363           MenuString     "Bibliography Preamble"
364           Tooltip        "LaTeX code to be inserted before the first bibliography item"
365           PassThru       1
366           Font
367             Family typewriter
368             Color latex
369           EndFont
370         EndArgument
371 End
372
373 NoStyle                 Chapter
374 NoCounter                 chapter
375 NoStyle                 Paragraph
376 NoCounter                 paragraph
377 NoStyle                 Subparagraph
378 NoCounter                 subparagraph
379 NoStyle                 Chapter*
380 #NoStyle                Paragraph*
381 #NoStyle                Subparagraph*
382
383 NoStyle Verse    # Although mathematicians tend to be poets at times,
384                  # we don't need this.
385
386
387 Style Section
388         Align                 Center
389         Font
390           Series              Medium
391           Shape               Smallcaps
392           Size                Large
393         EndFont
394         TocLevel 1
395 End
396
397
398 Style Subsection
399         Font
400           Series              Bold
401           Size                Normal
402         EndFont
403         TocLevel 2
404 End
405
406
407 Style Subsubsection
408         Font
409           Shape               Italic
410           Size                Normal
411         EndFont
412         TocLevel 3
413 End