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