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