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