]> git.lyx.org Git - lyx.git/blob - lib/layouts/elsart.layout
Added categories for style Standard, Title, Abstract, ShortTitle,
[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{Articles}
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 43
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_Top_Environment
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 # Theorem 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         Margin                First_Dynamic
274         LatexType             Environment
275         LatexName             thm
276         NextNoIndent          1
277         LabelSep              xx
278         ParIndent             MMM
279         ParSkip               0.4
280         ItemSep               0.2
281         TopSep                0.7
282         BottomSep             0.7
283         ParSep                0.3
284         Align                 Block
285         AlignPossible         Block, Left
286         LabelType             Counter
287         LabelCounter          theorem
288         LabelString           "Theorem \arabic{theorem}"
289         Font
290           Shape               Italic
291           Size                Normal
292         EndFont
293         LabelFont
294           Shape               Up
295           Series              Bold
296         EndFont
297 End
298
299
300 # Proof style declaration - from email by Stacy Prowell (sprowell@cs.utk.edu)
301 Style Proof
302         Margin                First_Dynamic
303         LatexType             Environment
304         # elsart defines the unusual environment pf for proofs.
305         LatexName             pf
306         NextNoIndent          1
307         LabelSep              xx
308         ParIndent             MMM
309         ParSkip               0.4
310         ItemSep               0.2
311         TopSep                0.7
312         BottomSep             0.7
313         ParSep                0.3
314         Align                 Block
315         AlignPossible         Block, Left
316         LabelType             Static
317         LabelString           "PROOF."
318         Font
319           Shape               Up
320           Size                Normal
321         EndFont
322         LabelFont
323           Series              Bold
324         EndFont
325 End
326
327
328 Style Lemma
329         CopyStyle             Theorem
330         LatexName             lem
331         LabelString           "Lemma \arabic{theorem}"
332 End
333
334
335 Style Corollary
336         CopyStyle             Theorem
337         LatexName             cor
338         LabelString           "Corollary \arabic{theorem}"
339 End
340
341
342 Style Proposition
343         CopyStyle             Theorem
344         LatexName             prop
345         LabelString           "Proposition \arabic{theorem}"
346 End
347
348
349 Style Criterion
350         CopyStyle             Theorem
351         LatexName             crit
352         LabelString           "Criterion \arabic{theorem}"
353 End
354
355
356 Style Algorithm
357         CopyStyle             Theorem
358         LatexName             alg
359         LabelString           "Algorithm \arabic{theorem}"
360 End
361
362
363 Style Definition
364         CopyStyle             Theorem
365         LatexName             defn
366         LabelString           "Definition \arabic{theorem}"
367         Font
368           Shape               Up
369         EndFont
370         LabelFont
371           Shape               Up
372           Series              Bold
373         EndFont
374 End
375
376
377 Style Conjecture
378         CopyStyle             Theorem
379         LatexName             conj
380         LabelString           "Conjecture \arabic{theorem}"
381 End
382
383
384 Style Example
385         CopyStyle             Theorem
386         LatexName             exmp
387         LabelString           "Example \arabic{theorem}"
388 End
389
390
391 Style Problem
392         CopyStyle             Theorem
393         LatexName             prob
394         LabelString           "Problem \arabic{theorem}"
395 End
396
397
398 Style Remark
399         CopyStyle             Theorem
400         LatexName             rem
401         LabelString           "Remark \arabic{theorem}"
402 End
403
404
405 Style Note
406         CopyStyle             Theorem
407         LatexName             note
408         LabelString           "Note \arabic{theorem}"
409 End
410
411
412 Style Claim
413         CopyStyle             Theorem
414         LatexName             claim
415         LabelString           "Claim \arabic{theorem}"
416 End
417
418
419 Style Summary
420         CopyStyle             Theorem
421         LatexName             summ
422         LabelCounter          summ
423         LabelString           "Summary \arabic{summ}"
424 End
425
426
427 Style Case
428         CopyStyle             Theorem
429         LatexName             case
430         LabelCounter          case
431         LabelString           "Case \arabic{case}"
432 End
433
434
435 # This is not taken from the AMS defs, so as to match the output of the
436 # style file.
437 Style Acknowledgement
438         Margin                Static
439         LatexType             environment
440         LatexName             ack
441         Labeltype             Top_Environment
442         LabelBottomsep        1
443         LabelString           "Acknowledgements"
444         parsep                0.3
445         LabelFont
446           Size                large
447           Series              Bold
448         EndFont
449 End
450
451 Input theorems-refprefix.inc