]> git.lyx.org Git - lyx.git/blob - lib/layouts/IEEEtran.layout
Update layout format.
[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 8
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 End
280
281
282 Style Subsection
283         Font
284            Shape              Italic
285            Size               Normal
286         EndFont
287 End
288
289
290 Style Subsubsection
291         Font
292            Shape              Up
293            Size               Normal
294         EndFont
295 End
296
297
298 Style Section*
299         Align                 Center
300         AlignPossible         Block, Center, Left
301         Font
302            Shape              Smallcaps
303            Size               Normal
304         EndFont
305 End
306
307
308 Style Subsection*
309         Font
310            Shape              Italic
311            Size               Normal
312         EndFont
313 End
314
315
316 Style Subsubsection*
317         Font
318            Shape              Up
319            Size               Normal
320         EndFont
321 End
322
323
324
325 ##
326 ## stdstruct
327 ##
328 Input stdtitle.inc
329 Input stdstruct.inc
330
331 Style Abstract
332         Margin                First_Dynamic
333         LeftMargin            ""
334         RightMargin           ""
335 #  ParIndent            MM
336         LabelType             Static
337         LabelString           "Abstract---"
338 #  LabelBottomSep        0.0
339         Font
340           Series              Bold
341           Size                Small
342         EndFont
343         LabelFont
344           Shape               Italic
345           Series              Medium
346           Size                Small
347         EndFont
348 End
349
350
351 Style Keywords
352         Margin                Dynamic
353         LatexType             Environment
354         InTitle               0
355         LatexName             keywords
356         ParSkip               0.4
357         BottomSep             1.5
358         ParSep                1.5
359         Align                 Left
360         AlignPossible         Block, Left, Right, Center
361         LabelType             Static
362         LabelString           "Index Terms---"
363         TextFont
364           Shape               Up
365           Size                Small
366         EndFont
367         LabelFont
368           Shape               Italic
369           Size                Small
370         EndFont
371 End
372
373
374 Style Bibliography
375         LabelFont
376           Shape               Smallcaps
377           Series              Medium
378           Size                Normal
379         EndFont
380 End
381
382
383 Style Appendix
384         Margin                Static
385         LatexType             Command
386         InTitle               0
387         LatexName             appendix
388         ParSkip               0.4
389         BottomSep             1.5
390         ParSep                1.5
391         Align                 Block
392         AlignPossible         Block, Left, Right, Center
393         LabelType             Static
394         LabelString           "Appendix"
395         TextFont
396           Shape               Up
397           Size                Normal
398         EndFont
399         LabelFont
400           Shape               Smallcaps
401           Size                Normal
402         EndFont
403 End
404
405
406 Style Appendices
407         CopyStyle             Appendix
408         LatexName             appendices
409         LabelString           "Appendices"
410 End
411
412
413 Style Biography
414         LaTeXType             Environment
415         LaTeXName             biography
416         Align                 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         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             markboth
468         Align                 Center
469         Preamble
470         % protect \markboth against an old bug reintroduced in babel >= 3.8g
471         \let\oldforeign@language\foreign@language
472         \DeclareRobustCommand{\foreign@language}[1]{%
473           \lowercase{\oldforeign@language{#1}}}
474         EndPreamble
475 End
476
477
478 ##
479 ## Others
480 ##
481
482 Input stdfloats.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