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