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