]> git.lyx.org Git - lyx.git/blob - lib/layouts/elsart.layout
fix bug 2090 (remove param \quotes_times). File format is up to 245 now.
[lyx.git] / lib / layouts / elsart.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[elsart,amssymb.sty]{article (elsevier)}
3 # Author: Rod Pinna <rpinna@civil.uwa.edu.au>
4 # The Elsevier doc style also duplicates the theorem
5 # environments used by the AMS. The definitions here have been
6 # mainly taken from the amsmath.inc file, from lyx-1.0.2, by
7 # David L. Johnson and Jean-Marc Lasgouttes. Some modifications
8 # have been made.
9 #
10 # The Elsevier style *does not* implement the starred versions
11 # of these environments, so they are not supported by this layout.
12 # There are also a few AMS environments not impletemented by Elsevier,
13 # so they are not included either.
14 #
15 # Version 1.0   19990506 R. Pinna Inital version
16 # modified 2002-04-02   Herbert Voss <voss@perce.de>
17 #       for use of BeginTitle/EndTitle
18 # modified 2003-03-11 JMarc for use of TitleLatexType/TitleLatexName
19 # modified 2003-04-10 Rod Pinna - added proof env. sent to me by Stacy Prowell
20 # modified 2003-07-23 Rod Pinna - changes MaxCounter to Section,
21 #       rather than subsection. The Elsevier doc file allows for
22 #       numbered sections, as does the class file.
23
24
25 Columns                 1
26 Sides                   2
27 PageStyle               headings
28
29
30 ClassOptions
31 #  FontSize             "default"       # controlled by class
32 End
33
34 # elsart does not use the plain old \maketitle
35 TitleLatexType Environment
36 TitleLatexName frontmatter
37
38 Counter
39         Name                  summ
40 End
41
42
43 Counter
44         Name                  case
45 End
46
47
48 Style Standard
49         LatexName             dummy
50         LatexType             Paragraph
51         Margin                Static
52         ParIndent             MM
53         ParSkip               0.4
54         ParSep                0.4
55         TopSep                1.0
56         BottomSep             1.0
57         Align                 Block
58         AlignPossible         Block, Left, Right, Center
59         LabelType             No_Label
60 End
61
62
63 Style Keywords
64         LatexName             keyword
65         LatexType             Environment
66         Margin                Static
67         ParIndent             MM
68         InTitle               1
69         ParSkip               0.4
70         ParSep                0.4
71         TopSep                1.0
72         BottomSep             1.0
73         Align                 Block
74         AlignPossible         Block, Left, Right, Center
75         LabelType             No_Label
76         Font
77           Color               blue
78         EndFont
79 End
80
81
82 Input stdsections.inc
83 Input numarticle.inc
84 Input stdstarsections.inc
85 Input stdlists.inc
86 Input stdstruct.inc
87 Input stdlayouts.inc
88 Input stdfloats.inc
89 Input stdcounters.inc
90
91
92 Style Title
93         Margin                Static
94         LatexType             Command
95         InTitle               1
96         LatexName             title
97         NextNoIndent          1
98         ParSkip               0.4
99         TopSep                1.3
100         BottomSep             0.7
101         ParSep                0.7
102         Align                 Center
103         LabelType             No_Label
104         Font
105           Family              Sans
106           Series              Bold
107           Size                Largest
108         EndFont
109 End
110
111
112 Style Author
113         Margin                Static
114         LatexType             Command
115         InTitle               1
116         LatexName             author
117         NextNoIndent          1
118         ParSkip               0.4
119         TopSep                0.7
120         BottomSep             0.7
121         ItemSep               0
122         ParSep                0
123         Align                 Center
124         AlignPossible         Center
125         OptionalArgs          1
126         Font
127           Series              Bold
128         EndFont
129 End
130
131
132 Style Author_Address
133         Margin                Static
134         LatexType             Command
135         InTitle               1
136         LatexName             address
137         Align                 Center
138         AlignPossible         Center
139         Labeltype             Static
140         LabelSep              M
141         LabelString           "Address:"
142         OptionalArgs          1
143         LabelFont
144           Shape               Italic
145         EndFont
146 End
147
148
149 Style Author_Email
150         Margin                Static
151         LatexType             Command
152         InTitle               1
153         PassThru              1
154         LatexName             ead
155         Align                 Center
156         AlignPossible         Center
157         Labeltype             Static
158         LabelSep              M
159         LabelString           "Email:"
160         TextFont
161           Family              Typewriter
162         EndFont
163         LabelFont
164           Shape               Italic
165           Family              Roman
166         EndFont
167 End
168
169
170 Style Author_URL
171         Margin                Static
172         LatexType             Command
173         InTitle               1
174         PassThru              1
175         LatexName             ead
176         LatexParam            "[url]"
177         Align                 Center
178         AlignPossible         Center
179         Labeltype             Static
180         LabelSep              M
181         LabelString           "URL:"
182         TextFont
183           Family              Typewriter
184         EndFont
185         LabelFont
186           Shape               Italic
187           Family              Roman
188         EndFont
189 End
190
191
192 # thanks is like a footnote
193 Style Thanks
194         Margin                Static
195         LatexType             Command
196         LatexName             thanks
197         InTitle               1
198         Font
199           Size                Small
200           Family              Typewriter
201           Shape               Italic
202         EndFont
203 End
204
205
206 Style Abstract
207         Margin                Static
208         LatexType             Environment
209         LatexName             abstract
210         NextNoIndent          1
211         InTitle               1
212         LeftMargin            MMM
213         RightMargin           MMM
214         ParIndent             MM
215         ItemSep               0
216         TopSep                0.7
217         BottomSep             0.7
218         ParSep                0
219         Align                 Block
220         AlignPossible         Block
221         LabelType             Centered_Top_Environment
222         LabelString           "Abstract"
223         LabelBottomSep        0.5
224         Font
225           Size                Small
226         EndFont
227         LabelFont
228           Series              Bold
229           Size                Large
230         EndFont
231 End
232
233
234 # Theorem environments have been copied over from the amsmaths.inc file. It
235 # could not be input as it does some stuff which is incompatible with the
236 # Elsevier stlye: it redefines the theorem* environments in the preamble.
237
238 # The environments defined are :
239 # - Theorem
240 # - Proof
241 # - Corollary
242 # - Lemma
243 # - Proposition
244 # - Conjecture
245 # - Criterion
246 # - Algorithm
247 # - Definition
248 # - Example
249 # - Problem
250 # - Remark
251 # - Note
252 # - Claim
253 # - Summary
254 # - Acknowledgement
255 # - Case
256
257 Counter
258         Name                  theorem
259 End
260
261
262 Style Theorem
263         Margin                First_Dynamic
264         LatexType             Environment
265         LatexName             thm
266         NextNoIndent          1
267         LabelSep              xx
268         ParIndent             MMM
269         ParSkip               0.4
270         ItemSep               0.2
271         TopSep                0.7
272         BottomSep             0.7
273         ParSep                0.3
274         Align                 Block
275         AlignPossible         Block, Left
276         LabelType             Counter
277         LabelCounter          theorem
278         LabelString           "Theorem \arabic{theorem}"
279         Font
280           Shape               Italic
281           Size                Normal
282         EndFont
283         LabelFont
284           Shape               Up
285           Series              Bold
286         EndFont
287 End
288
289
290 # Proof style declaration - from email by Stacy Prowell (sprowell@cs.utk.edu)
291 Style Proof
292         Margin                First_Dynamic
293         LatexType             Environment
294         # elsart defines the unusual environment pf for proofs.
295         LatexName             pf
296         NextNoIndent          1
297         LabelSep              xx
298         ParIndent             MMM
299         ParSkip               0.4
300         ItemSep               0.2
301         TopSep                0.7
302         BottomSep             0.7
303         ParSep                0.3
304         Align                 Block
305         AlignPossible         Block, Left
306         LabelType             Static
307         LabelString           "PROOF."
308         Font
309           Shape               Up
310           Size                Normal
311         EndFont
312         LabelFont
313           Series              Bold
314         EndFont
315 End
316
317
318 Style Lemma
319         CopyStyle             Theorem
320         LatexName             lem
321         LabelString           "Lemma \arabic{theorem}"
322 End
323
324
325 Style Corollary
326         CopyStyle             Theorem
327         LatexName             cor
328         LabelString           "Corollary \arabic{theorem}"
329 End
330
331
332 Style Proposition
333         CopyStyle             Theorem
334         LatexName             prop
335         LabelString           "Proposition \arabic{theorem}"
336 End
337
338
339 Style Criterion
340         CopyStyle             Theorem
341         LatexName             crit
342         LabelString           "Criterion \arabic{theorem}"
343 End
344
345
346 Style Algorithm
347         CopyStyle             Theorem
348         LatexName             alg
349         LabelString           "Algorithm \arabic{theorem}"
350 End
351
352
353 Style Definition
354         CopyStyle             Theorem
355         LatexName             defn
356         LabelString           "Definition \arabic{theorem}"
357         Font
358           Shape               Up
359         EndFont
360         LabelFont
361           Shape               Up
362           Series              Bold
363         EndFont
364 End
365
366
367 Style Conjecture
368         CopyStyle             Theorem
369         LatexName             conj
370         LabelString           "Conjecture \arabic{theorem}"
371 End
372
373
374 Style Example
375         CopyStyle             Theorem
376         LatexName             exmp
377         LabelString           "Example \arabic{theorem}"
378 End
379
380
381 Style Problem
382         CopyStyle             Theorem
383         LatexName             prob
384         LabelString           "Problem \arabic{theorem}"
385 End
386
387
388 Style Remark
389         CopyStyle             Theorem
390         LatexName             rem
391         LabelString           "Remark \arabic{theorem}"
392 End
393
394
395 Style Note
396         CopyStyle             Theorem
397         LatexName             note
398         LabelString           "Note \arabic{theorem}"
399 End
400
401
402 Style Claim
403         CopyStyle             Theorem
404         LatexName             claim
405         LabelString           "Claim \arabic{theorem}"
406 End
407
408
409 Style Summary
410         CopyStyle             Theorem
411         LatexName             summ
412         LabelCounter          summ
413         LabelString           "Summary \arabic{summ}"
414 End
415
416
417 Style Case
418         CopyStyle             Theorem
419         LatexName             case
420         LabelCounter          case
421         LabelString           "Case \arabic{case}"
422 End
423
424
425 # This is not taken from the AMS defs, so as to match the output of the
426 # style file.
427 Style Acknowledgement
428         Margin                Static
429         LatexType             environment
430         LatexName             ack
431         Labeltype             Top_Environment
432         LabelBottomsep        1
433         LabelString           "Acknowledgement \arabic{theorem}"
434         parsep                0.3
435         LabelFont
436           Size                large
437           Series              Bold
438         EndFont
439 End