]> git.lyx.org Git - lyx.git/blob - lib/layouts/IEEEtran.layout
Move the RefPrefix definitions to their own file, for easy inclusion in
[lyx.git] / lib / layouts / IEEEtran.layout
1 #% Do not delete he line below; configure depends on this
2 #  \DeclareLaTeXClass{article (IEEEtran)}
3 # Based on Article textclass definition file.
4 #
5 # Author : Allan Rae <rae@lyx.org>
6 #
7 # IEEEtran is the class used for submitting to any of the IEEE Transactions.
8 # The on-screen display in LyX is set to reflect the appearance of two column
9 # text.  The section counters appear correctly in the output but are
10 # in arabic numerals in LyX -- this requires some additional code in LyX
11 # to get right (maybe LyX-2.0 ;-).
12 #
13 # IEEEtran.cls can be obtained from the www.ieee.org website -- look for
14 # the author information area.  There is a LaTeX 2.09 IEEEtran.sty available
15 # also but LyX doesn't support 2.09 stuff so don't get that one.
16
17 Format 25
18 Style Standard
19         Margin                Static
20         LatexType             Paragraph
21         LatexName             dummy
22         ParIndent             MM
23         ParSkip               0.4
24         Align                 Block
25         AlignPossible         Block, Left, Right, Center
26         LabelType             No_Label
27 End
28
29
30
31 ##
32 ## stdlists
33 ##
34
35 Input stdlists.inc
36 Input stdinsets.inc
37
38 # First cut at theorem environment support.
39 # What other theorem-like environments are needed?
40 # How many of these should be discarded?
41 # I got this list from amsmaths*.inc but I haven't
42 # found an official list of theorem environments for
43 # IEEE Transactions.
44 # OH!  and all theorems are numbered.  Is that a problem?
45 # Tell me:  rae@lyx.org
46
47
48 # Theorem-numbered style *Template* declaration
49 Style TheoremTemplate
50         Margin                First_Dynamic
51         LatexType             Environment
52         LabelSep              M
53         ParIndent             MM
54         ParSep                0.4
55         Align                 Block
56         AlignPossible         Block, Left
57         LabelType             Static
58         LabelFont
59           Shape               Italic
60         EndFont
61         OptionalArgs          1
62 End
63
64
65 Style Proof
66         CopyStyle             TheoremTemplate
67         LatexName             proof
68         LabelString           "Proof:"
69         EndLabelType          Filled_Box
70 End
71
72
73 Style Theorem
74         CopyStyle             TheoremTemplate
75         LatexName             thm
76         LabelString           "Theorem #:"
77         Preamble
78         \newtheorem{thm}{Theorem}
79         EndPreamble
80 End
81
82
83 Style Lemma
84         CopyStyle             TheoremTemplate
85         LatexName             lemma
86         LabelString           "Lemma #:"
87         Preamble
88         \newtheorem{lemma}{Lemma}
89         EndPreamble
90 End
91
92
93 Style Corollary
94         CopyStyle             TheoremTemplate
95         LatexName             cor
96         LabelString           "Corollary #:"
97         Preamble
98         \newtheorem{cor}{Corollary}
99         EndPreamble
100 End
101
102
103 Style Proposition
104         CopyStyle             TheoremTemplate
105         LatexName             prop
106         LabelString           "Proposition #:"
107         Preamble
108         \newtheorem{prop}{Proposition}
109         EndPreamble
110 End
111
112
113 Style Conjecture
114         CopyStyle             TheoremTemplate
115         LatexName             conject
116         LabelString           "Conjecture #:"
117         Preamble
118         \newtheorem{conject}{Conjecture}
119         EndPreamble
120 End
121
122
123 Style Criterion
124         CopyStyle             TheoremTemplate
125         LatexName             criter
126         LabelString           "Criterion #:"
127         Preamble
128         \newtheorem{criter}{Criterion}
129         EndPreamble
130 End
131
132
133 Style Fact
134         CopyStyle             TheoremTemplate
135         LatexName             fact
136         LabelString           "Fact #:"
137         Preamble
138         \newtheorem{fact}{Fact}
139         EndPreamble
140 End
141
142
143 Style Axiom
144         CopyStyle             TheoremTemplate
145         LatexName             axi
146         LabelString           "Axiom #:"
147         Preamble
148         \newtheorem{axi}{Axiom}
149         EndPreamble
150 End
151
152
153 Style Definition
154         CopyStyle             TheoremTemplate
155         LatexName             definitn
156         LabelString           "Definition #:"
157         Preamble
158         \newtheorem{definitn}{Definition}
159         EndPreamble
160 End
161
162
163 Style Example
164         CopyStyle             TheoremTemplate
165         LatexName             example
166         LabelString           "Example #:"
167         Preamble
168         \newtheorem{example}{Example}
169         EndPreamble
170 End
171
172
173 Style Condition
174         CopyStyle             TheoremTemplate
175         LatexName             condition
176         LabelString           "Condition #:"
177         Preamble
178         \newtheorem{condition}{Condition}
179         EndPreamble
180 End
181
182
183 Style Problem
184         CopyStyle             TheoremTemplate
185         LatexName             problem
186         LabelString           "Problem #:"
187         Preamble
188         \newtheorem{problem}{Problem}
189         EndPreamble
190 End
191
192
193 Style Exercise
194         CopyStyle             TheoremTemplate
195         LatexName             exacise
196         LabelString           "Exercise #:"
197         Preamble
198         \newtheorem{exacise}{Exercise}
199         EndPreamble
200 End
201
202
203 Style Remark
204         CopyStyle             TheoremTemplate
205         LatexName             remrk
206         LabelString           "Remark #:"
207         Preamble
208         \newtheorem{remrk}{Remark}
209         EndPreamble
210 End
211
212
213 Style Claim
214         CopyStyle             TheoremTemplate
215         LatexName             claim
216         LabelString           "Claim #:"
217         Preamble
218         \newtheorem{claim}{Claim}
219         EndPreamble
220 End
221
222
223 Style Note
224         CopyStyle             TheoremTemplate
225         LatexName             note
226         LabelString           "Note #:"
227         Preamble
228         \newtheorem{note}{Note}
229         EndPreamble
230 End
231
232
233 Style Notation
234         CopyStyle             TheoremTemplate
235         LatexName             notation
236         LabelString           "Notation #:"
237         Preamble
238         \newtheorem{notation}{Notation}
239         EndPreamble
240 End
241
242
243 Style Case
244         CopyStyle             TheoremTemplate
245         LatexName             case
246         LabelString           "Case #:"
247         Preamble
248         \newtheorem{case}{Case}
249         EndPreamble
250 End
251
252 NoStyle TheoremTemplate
253
254
255
256 ##
257 ## stdcounters, stdsections, and stdstarsections
258 ##
259
260 Input stdcounters.inc
261 Input stdsections.inc
262 Input stdstarsections.inc
263
264 NoStyle                 Part
265 NoStyle                 Part*
266 NoStyle                 Chapter
267 NoStyle                 Chapter*
268 NoStyle                 Subparagraph
269 NoStyle                 Subparagraph*
270
271
272 Style Section
273         Align                 Center
274         AlignPossible         Block, Center, Left
275         Font
276            Shape              Smallcaps
277            Size               Normal
278         EndFont
279         TocLevel 1
280 End
281
282
283 Style Subsection
284         Font
285            Shape              Italic
286            Size               Normal
287         EndFont
288         TocLevel 2
289 End
290
291
292 Style Subsubsection
293         Font
294            Shape              Up
295            Size               Normal
296         EndFont
297         TocLevel 3
298 End
299
300
301 Style Section*
302         Align                 Center
303         AlignPossible         Block, Center, Left
304         Font
305            Shape              Smallcaps
306            Size               Normal
307         EndFont
308 End
309
310
311 Style Subsection*
312         Font
313            Shape              Italic
314            Size               Normal
315         EndFont
316 End
317
318
319 Style Subsubsection*
320         Font
321            Shape              Up
322            Size               Normal
323         EndFont
324 End
325
326
327
328 ##
329 ## stdstruct
330 ##
331 Input stdtitle.inc
332 Input stdstruct.inc
333
334 Style Abstract
335         Margin                First_Dynamic
336         LeftMargin            ""
337         RightMargin           ""
338 #  ParIndent            MM
339         LabelType             Static
340         LabelString           "Abstract---"
341 #  LabelBottomSep        0.0
342         Font
343           Series              Bold
344           Size                Small
345         EndFont
346         LabelFont
347           Shape               Italic
348           Series              Medium
349           Size                Small
350         EndFont
351 End
352
353
354 Style Keywords
355         Margin                Dynamic
356         LatexType             Environment
357         InTitle               0
358         LatexName             keywords
359         ParSkip               0.4
360         BottomSep             1.5
361         ParSep                1.5
362         Align                 Left
363         AlignPossible         Block, Left, Right, Center
364         LabelType             Static
365         LabelString           "Index Terms---"
366         TextFont
367           Shape               Up
368           Size                Small
369         EndFont
370         LabelFont
371           Shape               Italic
372           Size                Small
373         EndFont
374 End
375
376
377 Style Bibliography
378         LabelFont
379           Shape               Smallcaps
380           Series              Medium
381           Size                Normal
382         EndFont
383 End
384
385
386 Style Appendix
387         Margin                Static
388         LatexType             Command
389         InTitle               0
390         LatexName             appendix
391         ParSkip               0.4
392         BottomSep             1.5
393         ParSep                1.5
394         Align                 Block
395         AlignPossible         Block, Left, Right, Center
396         LabelType             Static
397         LabelString           "Appendix"
398         TextFont
399           Shape               Up
400           Size                Normal
401         EndFont
402         LabelFont
403           Shape               Smallcaps
404           Size                Normal
405         EndFont
406 End
407
408
409 Style Appendices
410         CopyStyle             Appendix
411         LatexName             appendices
412         LabelString           "Appendices"
413 End
414
415
416 Style Biography
417         LaTeXType             Environment
418         LaTeXName             biography
419         Align                 Block
420         TextFont
421           Size                Small
422         EndFont
423 End
424
425
426 Style BiographyNoPhoto
427         LaTeXType             Environment
428         LaTeXName             biographynophoto
429         Align                 Block
430         TextFont
431           Size                Small
432         EndFont
433 End
434
435
436 ##
437 ##  stdlayouts
438 ##
439
440 Input stdlayouts.inc
441
442
443
444
445 Style Footernote
446         Margin                Static
447         LatexType             Command
448         InTitle               0
449         LatexName             footernote
450         ParSkip               0.4
451         BottomSep             1.5
452         ParSep                1.5
453         Align                 Center
454         AlignPossible         Block, Left, Right, Center
455         LabelType             Static
456         LabelString           "Footernote"
457         TextFont
458           Shape               Up
459           Size                Small
460         EndFont
461         LabelFont
462           Shape               Italic
463           Size                Small
464         EndFont
465 End
466
467
468 Style MarkBoth
469         LaTeXType             Command
470         LaTeXName             markboth
471         Align                 Center
472         Preamble
473         % protect \markboth against an old bug reintroduced in babel >= 3.8g
474         \let\oldforeign@language\foreign@language
475         \DeclareRobustCommand{\foreign@language}[1]{%
476           \lowercase{\oldforeign@language{#1}}}
477         EndPreamble
478 End
479
480
481 ##
482 ## Others
483 ##
484
485 Input stdfloats.inc
486 Input lyxmacros.inc
487
488
489 Columns                 1
490 Sides                   1
491 SecNumDepth             3
492 TocDepth                3
493
494
495 ClassOptions
496         FontSize              9|10|11|12
497 End
498
499