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