]> git.lyx.org Git - lyx.git/blob - lib/layouts/IEEEtran.layout
d321b3eab676c494fd47f6ee67f04a47e30f5d64
[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 5
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 ## stdsections and stdstarsections
258 ##
259
260 Input stdsections.inc
261 Input stdstarsections.inc
262
263 NoStyle                 Part
264 NoStyle                 Part*
265 NoStyle                 Chapter
266 NoStyle                 Chapter*
267 NoStyle                 Subparagraph
268 NoStyle                 Subparagraph*
269
270
271 Style Section
272         Align                 Center
273         AlignPossible         Block, Center, Left
274         Font
275            Shape              Smallcaps
276            Size               Normal
277         EndFont
278 End
279
280
281 Style Subsection
282         Font
283            Shape              Italic
284            Size               Normal
285         EndFont
286 End
287
288
289 Style Subsubsection
290         Font
291            Shape              Up
292            Size               Normal
293         EndFont
294 End
295
296
297 Style Section*
298         Align                 Center
299         AlignPossible         Block, Center, Left
300         Font
301            Shape              Smallcaps
302            Size               Normal
303         EndFont
304 End
305
306
307 Style Subsection*
308         Font
309            Shape              Italic
310            Size               Normal
311         EndFont
312 End
313
314
315 Style Subsubsection*
316         Font
317            Shape              Up
318            Size               Normal
319         EndFont
320 End
321
322
323
324 ##
325 ## stdstruct
326 ##
327 Input stdtitle.inc
328 Input stdstruct.inc
329
330 Style Abstract
331         Margin                First_Dynamic
332         LeftMargin            ""
333         RightMargin           ""
334 #  ParIndent            MM
335         LabelType             Static
336         LabelString           "Abstract---"
337 #  LabelBottomSep        0.0
338         Font
339           Series              Bold
340           Size                Small
341         EndFont
342         LabelFont
343           Shape               Italic
344           Series              Medium
345           Size                Small
346         EndFont
347 End
348
349
350 Style Keywords
351         Margin                Dynamic
352         LatexType             Environment
353         InTitle               0
354         LatexName             keywords
355         ParSkip               0.4
356         BottomSep             1.5
357         ParSep                1.5
358         Align                 Left
359         AlignPossible         Block, Left, Right, Center
360         LabelType             Static
361         LabelString           "Index Terms---"
362         TextFont
363           Shape               Up
364           Size                Small
365         EndFont
366         LabelFont
367           Shape               Italic
368           Size                Small
369         EndFont
370 End
371
372
373 Style Bibliography
374         LabelFont
375           Shape               Smallcaps
376           Series              Medium
377           Size                Normal
378         EndFont
379 End
380
381
382 Style Appendix
383         Margin                Static
384         LatexType             Command
385         InTitle               0
386         LatexName             appendix
387         ParSkip               0.4
388         BottomSep             1.5
389         ParSep                1.5
390         Align                 Block
391         AlignPossible         Block, Left, Right, Center
392         LabelType             Static
393         LabelString           "Appendix"
394         TextFont
395           Shape               Up
396           Size                Normal
397         EndFont
398         LabelFont
399           Shape               Smallcaps
400           Size                Normal
401         EndFont
402 End
403
404
405 Style Appendices
406         CopyStyle             Appendix
407         LatexName             appendices
408         LabelString           "Appendices"
409 End
410
411
412 Style Biography
413         LaTeXType             Environment
414         LaTeXName             biography
415         Align                 Block
416         AlignPossible         Block
417         TextFont
418           Size                Small
419         EndFont
420 End
421
422
423 Style BiographyNoPhoto
424         LaTeXType             Environment
425         LaTeXName             biographynophoto
426         Align                 Block
427         AlignPossible         Block
428         TextFont
429           Size                Small
430         EndFont
431 End
432
433
434 ##
435 ##  stdlayouts
436 ##
437
438 Input stdlayouts.inc
439
440
441
442
443 Style Footernote
444         Margin                Static
445         LatexType             Command
446         InTitle               0
447         LatexName             footernote
448         ParSkip               0.4
449         BottomSep             1.5
450         ParSep                1.5
451         Align                 Center
452         AlignPossible         Block, Left, Right, Center
453         LabelType             Static
454         LabelString           "Footernote"
455         TextFont
456           Shape               Up
457           Size                Small
458         EndFont
459         LabelFont
460           Shape               Italic
461           Size                Small
462         EndFont
463 End
464
465
466 Style MarkBoth
467         LaTeXType             Command
468         LaTeXName             IEEEmarkboth
469         Align                 Center
470         AlignPossible         Center
471         Preamble
472         % protect against redefinition of \markboth by babel >= 3.6
473         \let\IEEEmarkboth=\markboth
474         EndPreamble
475 End
476
477
478 ##
479 ## Others
480 ##
481
482 Input stdfloats.inc
483 Input stdcounters.inc
484 Input lyxmacros.inc
485
486
487 Columns                 1
488 Sides                   1
489 SecNumDepth             3
490 TocDepth                3
491
492
493 ClassOptions
494         FontSize              9|10|11|12
495 End
496
497