]> git.lyx.org Git - lyx.git/blob - lib/layouts/elsart.layout
Revert update of formats. There is more to be done first.
[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 (Elsevier, obsolete 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 28
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         LatexName             ead
153         Align                 Center
154         Labeltype             Static
155         LabelSep              M
156         LabelString           "Email:"
157         TextFont
158           Family              Typewriter
159         EndFont
160         LabelFont
161           Shape               Italic
162           Family              Roman
163         EndFont
164 End
165
166
167 Style Author_URL
168         Margin                Dynamic
169         LatexType             Command
170         InTitle               1
171         PassThru              1
172         LatexName             ead
173         LatexParam            "[url]"
174         Align                 Center
175         Labeltype             Static
176         LabelSep              M
177         LabelString           "URL:"
178         TextFont
179           Family              Typewriter
180         EndFont
181         LabelFont
182           Shape               Italic
183           Family              Roman
184         EndFont
185 End
186
187
188 # thanks is like a footnote
189 Style Thanks
190         Margin                Static
191         LatexType             Command
192         LatexName             thanks
193         InTitle               1
194         OptionalArgs          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         LabelType             Centered_Top_Environment
218         LabelString           "Abstract"
219         LabelBottomSep        0.5
220         Font
221           Size                Small
222         EndFont
223         LabelFont
224           Series              Bold
225           Size                Large
226         EndFont
227 End
228
229
230 # Theorem environments have been copied over from the theorem modules. They
231 # could not be input as they do some stuff which is incompatible with the
232 # Elsevier stlye: redefine the theorem* environments in the preamble.
233
234 # The environments defined are :
235 # - Theorem
236 # - Proof
237 # - Corollary
238 # - Lemma
239 # - Proposition
240 # - Conjecture
241 # - Criterion
242 # - Algorithm
243 # - Definition
244 # - Example
245 # - Problem
246 # - Remark
247 # - Note
248 # - Claim
249 # - Summary
250 # - Acknowledgement
251 # - Case
252
253 Counter theorem
254 End
255
256
257 Style Theorem
258         Margin                First_Dynamic
259         LatexType             Environment
260         LatexName             thm
261         NextNoIndent          1
262         LabelSep              xx
263         ParIndent             MMM
264         ParSkip               0.4
265         ItemSep               0.2
266         TopSep                0.7
267         BottomSep             0.7
268         ParSep                0.3
269         Align                 Block
270         AlignPossible         Block, Left
271         LabelType             Counter
272         LabelCounter          theorem
273         LabelString           "Theorem \arabic{theorem}"
274         Font
275           Shape               Italic
276           Size                Normal
277         EndFont
278         LabelFont
279           Shape               Up
280           Series              Bold
281         EndFont
282 End
283
284
285 # Proof style declaration - from email by Stacy Prowell (sprowell@cs.utk.edu)
286 Style Proof
287         Margin                First_Dynamic
288         LatexType             Environment
289         # elsart defines the unusual environment pf for proofs.
290         LatexName             pf
291         NextNoIndent          1
292         LabelSep              xx
293         ParIndent             MMM
294         ParSkip               0.4
295         ItemSep               0.2
296         TopSep                0.7
297         BottomSep             0.7
298         ParSep                0.3
299         Align                 Block
300         AlignPossible         Block, Left
301         LabelType             Static
302         LabelString           "PROOF."
303         Font
304           Shape               Up
305           Size                Normal
306         EndFont
307         LabelFont
308           Series              Bold
309         EndFont
310 End
311
312
313 Style Lemma
314         CopyStyle             Theorem
315         LatexName             lem
316         LabelString           "Lemma \arabic{theorem}"
317 End
318
319
320 Style Corollary
321         CopyStyle             Theorem
322         LatexName             cor
323         LabelString           "Corollary \arabic{theorem}"
324 End
325
326
327 Style Proposition
328         CopyStyle             Theorem
329         LatexName             prop
330         LabelString           "Proposition \arabic{theorem}"
331 End
332
333
334 Style Criterion
335         CopyStyle             Theorem
336         LatexName             crit
337         LabelString           "Criterion \arabic{theorem}"
338 End
339
340
341 Style Algorithm
342         CopyStyle             Theorem
343         LatexName             alg
344         LabelString           "Algorithm \arabic{theorem}"
345 End
346
347
348 Style Definition
349         CopyStyle             Theorem
350         LatexName             defn
351         LabelString           "Definition \arabic{theorem}"
352         Font
353           Shape               Up
354         EndFont
355         LabelFont
356           Shape               Up
357           Series              Bold
358         EndFont
359 End
360
361
362 Style Conjecture
363         CopyStyle             Theorem
364         LatexName             conj
365         LabelString           "Conjecture \arabic{theorem}"
366 End
367
368
369 Style Example
370         CopyStyle             Theorem
371         LatexName             exmp
372         LabelString           "Example \arabic{theorem}"
373 End
374
375
376 Style Problem
377         CopyStyle             Theorem
378         LatexName             prob
379         LabelString           "Problem \arabic{theorem}"
380 End
381
382
383 Style Remark
384         CopyStyle             Theorem
385         LatexName             rem
386         LabelString           "Remark \arabic{theorem}"
387 End
388
389
390 Style Note
391         CopyStyle             Theorem
392         LatexName             note
393         LabelString           "Note \arabic{theorem}"
394 End
395
396
397 Style Claim
398         CopyStyle             Theorem
399         LatexName             claim
400         LabelString           "Claim \arabic{theorem}"
401 End
402
403
404 Style Summary
405         CopyStyle             Theorem
406         LatexName             summ
407         LabelCounter          summ
408         LabelString           "Summary \arabic{summ}"
409 End
410
411
412 Style Case
413         CopyStyle             Theorem
414         LatexName             case
415         LabelCounter          case
416         LabelString           "Case \arabic{case}"
417 End
418
419
420 # This is not taken from the AMS defs, so as to match the output of the
421 # style file.
422 Style Acknowledgement
423         Margin                Static
424         LatexType             environment
425         LatexName             ack
426         Labeltype             Top_Environment
427         LabelBottomsep        1
428         LabelString           "Acknowledgements"
429         parsep                0.3
430         LabelFont
431           Size                large
432           Series              Bold
433         EndFont
434 End
435
436 Input theorems-refprefix.inc