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