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