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