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