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