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