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