]> git.lyx.org Git - lyx.git/blob - lib/layouts/elsart.layout
Whitespace, only whitespace. Part II.
[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         LabelString           "Address: "
141         OptionalArgs          1
142         LabelFont
143           Shape               Italic
144         EndFont
145 End
146
147
148 Style Author_Email
149         Margin                Static
150         LatexType             Command
151         InTitle               1
152         PassThru              1
153         LatexName             ead
154         Align                 Center
155         AlignPossible         Center
156         Labeltype             Static
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                Static
170         LatexType             Command
171         InTitle               1
172         PassThru              1
173         LatexName             ead
174         LatexParam            "[url]"
175         Align                 Center
176         AlignPossible         Center
177         Labeltype             Static
178         LabelString           "URL: "
179         TextFont
180           Family              Typewriter
181         EndFont
182         LabelFont
183           Shape               Italic
184           Family              Roman
185         EndFont
186 End
187
188
189 # thanks is like a footnote
190 Style Thanks
191         Margin                Static
192         LatexType             Command
193         LatexName             thanks
194         InTitle               1
195         Font
196           Size                Small
197           Family              Typewriter
198           Shape               Italic
199         EndFont
200 End
201
202
203 Style Abstract
204         Margin                Static
205         LatexType             Environment
206         LatexName             abstract
207         NextNoIndent          1
208         InTitle               1
209         LeftMargin            MMM
210         RightMargin           MMM
211         ParIndent             MM
212         ItemSep               0
213         TopSep                0.7
214         BottomSep             0.7
215         ParSep                0
216         Align                 Block
217         AlignPossible         Block
218         LabelType             Centered_Top_Environment
219         LabelString           Abstract
220         LabelBottomSep        0.5
221         Font
222           Size                Small
223         EndFont
224         LabelFont
225           Series              Bold
226           Size                Large
227         EndFont
228 End
229
230
231 # Theorem environments have been copied over from the amsmaths.inc file. It
232 # could not be input as it does some stuff which is incompatible with the
233 # Elsevier stlye: it redefines the theorem* environments in the preamble.
234
235 # The environments defined are :
236 # - Theorem
237 # - Proof
238 # - Corollary
239 # - Lemma
240 # - Proposition
241 # - Conjecture
242 # - Criterion
243 # - Algorithm
244 # - Definition
245 # - Example
246 # - Problem
247 # - Remark
248 # - Note
249 # - Claim
250 # - Summary
251 # - Acknowledgement
252 # - Case
253
254 Counter
255         Name                  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           "Acknowledgement \arabic{theorem}"
431         parsep                0.3
432         LabelFont
433           Size                large
434           Series              Bold
435         EndFont
436 End