]> git.lyx.org Git - lyx.git/blob - lib/layouts/elsart.layout
Add transformations to InsetExternal.
[lyx.git] / lib / layouts / elsart.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[elsart,amssymb.sty]{article (elsevier)}
3 # Author: Rod Pinna <rpinna@civil.uwa.edu.au>
4 # The Elsevier doc style also duplicates the theorem
5 # environments used by the AMS. The definitions here have been
6 # mainly taken from the amsmath.inc file, from lyx-1.0.2, by
7 # David L. Johnson and Jean-Marc Lasgouttes. Some modifications
8 # have been made.
9 #
10 # The Elsevier style *does not* implement the starred versions
11 # of these environments, so they are not supported by this layout.
12 # There are also a few AMS environments not impletemented by Elsevier,
13 # so they are not included either.
14 #
15 # Version 1.0   19990506 R. Pinna Inital version
16 # modified 2002-04-02   Herbert Voss <voss@perce.de>
17 #       for use of BeginTitle/EndTitle
18 # modified 2003-03-11 JMarc for use of TitleLatexType/TitleLatexName
19 # modified 2003-04-10 Rod Pinna - added proof env. sent to me by Stacy Prowell
20 # modified 2003-07-23 Rod Pinna - changes MaxCounter to Section, 
21 #       rather than subsection. The Elsevier doc file allows for 
22 #       numbered sections, as does the class file.
23
24
25 Columns                 1
26 Sides                   2
27 PageStyle               headings
28
29
30 ClassOptions
31 #  FontSize             "default"       # controlled by class
32 End
33
34 # elsart does not use the plain old \maketitle
35 TitleLatexType Environment
36 TitleLatexName frontmatter
37
38 Counter
39         Name                  summ
40 End
41
42
43 Counter
44         Name                  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 stdsections.inc
83 Input numarticle.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 End
110
111
112 Style Author
113         Margin                Static
114         LatexType             Command
115         InTitle               1
116         LatexName             author
117         NextNoIndent          1
118         ParSkip               0.4
119         TopSep                0.7
120         BottomSep             0.7
121         ItemSep               0
122         ParSep                0
123         Align                 Center
124         AlignPossible         Center
125         Font 
126           Series              Bold
127         EndFont
128 End
129
130
131 Style Author_Address
132         Margin                Static
133         LatexType             Command
134         InTitle               1
135         LatexName             address
136         Align                 Center
137         AlignPossible         Center
138         Labeltype             Static
139         LabelString           "Address: "
140         LabelFont
141           Shape               Italic
142         EndFont
143 End
144
145
146 Style Author_Email
147         Margin                Static
148         LatexType             Command
149         InTitle               1
150         PassThru              1
151         LatexName             ead
152         Align                 Center
153         AlignPossible         Center
154         Labeltype             Static
155         LabelString           "Email: "
156         TextFont
157           Family              Typewriter
158         EndFont
159         LabelFont
160           Shape               Italic
161           Family              Roman
162         EndFont
163 End
164
165
166 Style Author_URL
167         Margin                Static
168         LatexType             Command
169         InTitle               1
170         PassThru              1
171         LatexName             ead
172         LatexParam            "[url]"
173         Align                 Center
174         AlignPossible         Center
175         Labeltype             Static
176         LabelString           "URL: "
177         TextFont
178           Family              Typewriter
179         EndFont
180         LabelFont
181           Shape               Italic
182           Family              Roman
183         EndFont
184 End
185
186
187 # thanks is like a footnote
188 Style Thanks
189         Margin                Static
190         LatexType             Command
191         LatexName             thanks          
192         InTitle               1
193         Font  
194           Size                Small
195           Family              Typewriter
196           Shape               Italic
197         EndFont       
198 End
199
200
201 Style Abstract 
202         Margin                Static
203         LatexType             Environment
204         LatexName             abstract
205         NextNoIndent          1
206         InTitle               1
207         LeftMargin            MMM
208         RightMargin           MMM
209         ParIndent             MM
210         ItemSep               0
211         TopSep                0.7
212         BottomSep             0.7
213         ParSep                0
214         Align                 Block
215         AlignPossible         Block
216         LabelType             Centered_Top_Environment
217         LabelString           Abstract
218         LabelBottomSep        0.5
219         Font 
220           Size                Small
221         EndFont
222         LabelFont 
223           Series              Bold
224           Size                Large
225         EndFont
226 End 
227
228
229 # Theorem environments have been copied over from the amsmaths.inc file. It
230 # could not be input as it does some stuff which is incompatible with the
231 # Elsevier stlye: it redefines the theorem* environments in the preamble.
232
233 # The environments defined are :
234 # - Theorem
235 # - Proof
236 # - Corollary
237 # - Lemma
238 # - Proposition
239 # - Conjecture
240 # - Criterion
241 # - Algorithm
242 # - Definition
243 # - Example
244 # - Problem
245 # - Remark
246 # - Note
247 # - Claim
248 # - Summary
249 # - Acknowledgement
250 # - Case
251
252 Counter
253         Name                  theorem
254 End
255
256
257 Style Theorem
258         Margin                First_Dynamic
259         LatexType             Environment
260         LatexName             thm
261         NextNoIndent          1
262         LabelSep              xx
263         ParIndent             MMM  
264         ParSkip               0.4
265         ItemSep               0.2
266         TopSep                0.7
267         BottomSep             0.7
268         ParSep                0.3
269         Align                 Block
270         AlignPossible         Block, Left
271         LabelType             Counter
272         LabelCounter          theorem  
273         LabelString           "Theorem \arabic{theorem}"
274         Font
275           Shape               Italic
276           Size                Normal
277         EndFont
278         LabelFont
279           Shape               Up
280           Series              Bold
281         EndFont
282 End  
283
284
285 # Proof style declaration - from email by Stacy Prowell (sprowell@cs.utk.edu)
286 Style Proof
287         Margin                First_Dynamic
288         LatexType             Environment
289         # elsart defines the unusual environment pf for proofs.
290         LatexName             pf
291         NextNoIndent          1
292         LabelSep              xx
293         ParIndent             MMM
294         ParSkip               0.4
295         ItemSep               0.2
296         TopSep                0.7
297         BottomSep             0.7
298         ParSep                0.3
299         Align                 Block
300         AlignPossible         Block, Left
301         LabelType             Static
302         LabelString           "PROOF."
303         Font
304           Shape               Up
305           Size                Normal
306         EndFont
307         LabelFont
308           Series              Bold
309         EndFont
310 End
311
312
313 Style Lemma
314         CopyStyle             Theorem
315         LatexName             lem
316         LabelString           "Lemma \arabic{theorem}"
317 End
318
319
320 Style Corollary
321         CopyStyle             Theorem
322         LatexName             cor
323         LabelString           "Corollary \arabic{theorem}"
324 End  
325
326
327 Style Proposition
328         CopyStyle             Theorem
329         LatexName             prop
330         LabelString           "Proposition \arabic{theorem}"
331 End  
332
333
334 Style Criterion
335         CopyStyle             Theorem
336         LatexName             crit
337         LabelString           "Criterion \arabic{theorem}"
338 End  
339
340
341 Style Algorithm
342         CopyStyle             Theorem
343         LatexName             alg
344         LabelString           "Algorithm \arabic{theorem}"
345 End  
346
347
348 Style Definition
349         CopyStyle             Theorem
350         LatexName             defn
351         LabelString           "Definition \arabic{theorem}"
352         Font
353           Shape               Up
354         EndFont
355         LabelFont
356           Shape               Up
357           Series              Bold
358         EndFont
359 End  
360
361
362 Style Conjecture
363         CopyStyle             Theorem
364         LatexName             conj
365         LabelString           "Conjecture \arabic{theorem}"
366 End
367
368
369 Style Example
370         CopyStyle             Theorem
371         LatexName             exmp
372         LabelString           "Example \arabic{theorem}"
373 End  
374
375
376 Style Problem
377         CopyStyle             Theorem
378         LatexName             prob
379         LabelString           "Problem \arabic{theorem}"
380 End  
381
382
383 Style Remark
384         CopyStyle             Theorem
385         LatexName             rem
386         LabelString           "Remark \arabic{theorem}"
387 End  
388
389
390 Style Note
391         CopyStyle             Theorem
392         LatexName             note
393         LabelString           "Note \arabic{theorem}"
394 End  
395
396
397 Style Claim
398         CopyStyle             Theorem
399         LatexName             claim
400         LabelString           "Claim \arabic{theorem}"
401 End  
402
403
404 Style Summary
405         CopyStyle             Theorem
406         LatexName             summ
407         LabelCounter          summ
408         LabelString           "Summary \arabic{summ}"
409 End  
410
411
412 Style Case
413         CopyStyle             Theorem
414         LatexName             case
415         LabelCounter          case
416         LabelString           "Case \arabic{case}"
417 End  
418
419
420 # This is not taken from the AMS defs, so as to match the output of the
421 # style file.
422 Style Acknowledgement
423         Margin                Static
424         LatexType             environment
425         LatexName             ack
426         Labeltype             Top_Environment
427         LabelBottomsep        1
428         LabelString           "Acknowledgement \arabic{theorem}"
429         parsep                0.3
430         LabelFont
431           Size                large
432           Series              Bold
433         EndFont
434 End