]> git.lyx.org Git - lyx.git/blob - lib/layouts/IEEEtran.layout
small compilation fixes
[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 End
87
88 # Theorem-numbered style declaration
89 Style Theorem
90   CopyStyle             TheoremTemplate
91   LatexName             thm
92   LabelString           "Theorem #:"
93
94   Preamble
95     \newtheorem{thm}{Theorem}
96   EndPreamble
97 End  
98
99 # Lemma-numbered style declaration
100 Style Lemma
101   CopyStyle             TheoremTemplate
102   LatexName             lemma
103   LabelString           "Lemma #:"
104
105   Preamble
106     \newtheorem{lemma}{Lemma}
107   EndPreamble
108 End  
109
110 # Corollary-numbered style declaration
111 Style Corollary
112   CopyStyle             TheoremTemplate
113   LatexName             cor
114   LabelString           "Corollary #:"
115
116   Preamble
117     \newtheorem{cor}{Corollary}
118   EndPreamble
119 End
120
121 # Proposition-numbered style declaration
122 Style Proposition
123   CopyStyle             TheoremTemplate
124   LatexName             prop
125   LabelString           "Proposition #:"
126
127   Preamble
128     \newtheorem{prop}{Proposition}
129   EndPreamble
130 End  
131
132 # Conjecture-numbered style declaration
133 Style Conjecture
134   CopyStyle             TheoremTemplate
135   LatexName             conject
136   LabelString           "Conjecture #:"
137
138   Preamble
139     \newtheorem{conject}{Conjecture}
140   EndPreamble
141 End  
142
143 # Criterion-numbered style declaration
144 Style Criterion
145   CopyStyle             TheoremTemplate
146   LatexName             criter
147   LabelString           "Criterion #:"
148
149   Preamble
150     \newtheorem{criter}{Criterion}
151   EndPreamble
152 End  
153
154 # Fact-numbered style declaration
155 Style Fact
156   CopyStyle             TheoremTemplate
157   LatexName             fact
158   LabelString           "Fact #:"
159
160   Preamble
161     \newtheorem{fact}{Fact}
162   EndPreamble
163 End  
164
165 # Axiom-numbered style declaration
166 Style Axiom
167   CopyStyle             TheoremTemplate
168   LatexName             axi
169   LabelString           "Axiom #:"
170
171   Preamble
172     \newtheorem{axi}{Axiom}
173   EndPreamble
174 End  
175
176 # Definition-numbered style declaration
177 Style Definition
178   CopyStyle             TheoremTemplate
179   LatexName             definitn
180   LabelString           "Definition #:"
181
182   Preamble
183     \newtheorem{definitn}{Definition}
184   EndPreamble
185 End
186
187 # Example-numbered style declaration
188 Style Example
189   CopyStyle             TheoremTemplate
190   LatexName             example
191   LabelString           "Example #:"
192
193   Preamble
194     \newtheorem{example}{Example}
195   EndPreamble
196 End
197
198 # Condition-numbered style declaration
199 Style Condition
200   CopyStyle             TheoremTemplate
201   LatexName             condition
202   LabelString           "Condition #:"
203
204   Preamble
205     \newtheorem{condition}{Condition}
206   EndPreamble
207 End
208
209 # Problem-numbered style declaration
210 Style Problem
211   CopyStyle             TheoremTemplate
212   LatexName             problem
213   LabelString           "Problem #:"
214
215   Preamble
216     \newtheorem{problem}{Problem}
217   EndPreamble
218 End
219
220 # Exercise-numbered style declaration
221 Style Exercise
222   CopyStyle             TheoremTemplate
223   LatexName             exacise
224   LabelString           "Exercise #:"
225
226   Preamble
227     \newtheorem{exacise}{Exercise}
228   EndPreamble
229 End
230
231 # Remark-numbered style declaration
232 Style Remark
233   CopyStyle             TheoremTemplate
234   LatexName             remrk
235   LabelString           "Remark #:"
236
237   Preamble
238     \newtheorem{remrk}{Remark}
239   EndPreamble
240 End
241
242 # Claim-numbered style declaration
243 Style Claim
244   CopyStyle             TheoremTemplate
245   LatexName             claim
246   LabelString           "Claim #:"
247
248   Preamble
249     \newtheorem{claim}{Claim}
250   EndPreamble
251 End
252
253 # Note-numbered style declaration
254 Style Note
255   CopyStyle             TheoremTemplate
256   LatexName             note
257   LabelString           "Note #:"
258
259   Preamble
260     \newtheorem{note}{Note}
261   EndPreamble
262 End
263
264 # Notation-numbered style declaration
265 Style Notation
266   CopyStyle             TheoremTemplate
267   LatexName             notation
268   LabelString           "Notation #:"
269
270   Preamble
271     \newtheorem{notation}{Notation}
272   EndPreamble
273 End
274
275 # Case-numbered style declaration
276 Style Case
277   CopyStyle             TheoremTemplate
278   LatexName             case
279   LabelString           "Case #:"
280
281   Preamble
282     \newtheorem{case}{Case}
283   EndPreamble
284 End
285
286 NoStyle TheoremTemplate
287
288 ##
289 ## stdsections and stdstarsections
290 ##
291 Input stdsections.inc
292 Input stdstarsections.inc
293
294 NoStyle                 Part
295 NoStyle                 Part*
296 NoStyle                 Chapter
297 NoStyle                 Chapter*
298 NoStyle                 Subparagraph
299 NoStyle                 Subparagraph*
300
301 Style Section
302   Align                 Center
303   AlignPossible         Block, Center, Left
304
305   Font
306      Shape              Smallcaps
307      Size               Normal
308   EndFont
309 End
310
311
312 Style Subsection
313   Font
314      Shape              Italic
315      Size               Normal
316   EndFont
317 End
318
319 Style Subsubsection
320   Font
321      Shape              Up
322      Size               Normal
323   EndFont
324 End
325
326 Style Section*
327   Align                 Center
328   AlignPossible         Block, Center, Left
329
330   Font
331      Shape              Smallcaps
332      Size               Normal
333   EndFont
334 End
335
336
337 Style Subsection*
338   Font
339      Shape              Italic
340      Size               Normal
341   EndFont
342 End
343
344 Style Subsubsection*
345   Font
346      Shape              Up
347      Size               Normal
348   EndFont
349 End
350
351 ##
352 ## stdstruct
353 ##
354 Input stdtitle.inc
355 Input stdstruct.inc
356
357 Style Abstract
358   Margin                First_Dynamic
359   LeftMargin            ""
360   RightMargin           ""
361 #  ParIndent            MM
362   LabelSep              M
363   LabelType             Static
364   LabelString           "Abstract---"
365 #  LabelBottomSep        0.0
366
367   # standard font definition
368   Font 
369     Series              Bold
370     Size                Small
371   EndFont
372
373   # label font definition
374   LabelFont
375     Shape               Italic
376     Series              Medium
377     Size                Small
378   EndFont
379 End 
380
381 Style Keywords
382   Margin                Dynamic
383   LatexType             Environment
384   InTitle               0
385   LatexName             keywords
386   ParSkip               0.4
387   BottomSep             1.5
388   ParSep                1.5
389   Align                 Left
390   AlignPossible         Block, Left, Right, Center
391   LabelType             Static
392   LabelString           "Keywords---"
393   # label font definition
394   TextFont
395     Shape               Up
396     Size                Small
397   EndFont
398   LabelFont
399     Shape               Italic
400     Size                Small
401   EndFont
402 End
403
404 # Bibliography style definition
405 Style Bibliography
406   # label font definition
407   LabelFont
408     Shape               Smallcaps             
409     Series              Medium
410     Size                Normal
411   EndFont
412 End
413
414 Style Appendix
415   Margin                Static
416   LatexType             Command
417   InTitle               0
418   LatexName             appendix
419   ParSkip               0.4
420   BottomSep             1.5
421   ParSep                1.5
422   Align                 Block
423   AlignPossible         Block, Left, Right, Center
424   LabelType             Static
425   LabelString           "Appendix"
426   # label font definition
427   TextFont
428     Shape               Up
429     Size                Normal
430   EndFont
431   LabelFont
432     Shape               Smallcaps
433     Size                Normal
434   EndFont
435 End
436
437 Style Appendices
438   Margin                Static
439   LatexType             Command
440   InTitle               0
441   LatexName             appendices
442   ParSkip               0.4
443   BottomSep             1.5
444   ParSep                1.5
445   Align                 Center
446   AlignPossible         Block, Left, Right, Center
447   LabelType             Static
448   LabelString           "Appendices"
449   # label font definition
450   TextFont
451     Shape               Up
452     Size                Small
453   EndFont
454   LabelFont
455     Shape               Smallcaps
456     Size                Normal
457   EndFont
458 End
459
460 Style Biography
461   LaTeXType             Environment
462   LaTeXName             biography
463   Align                 Block
464   AlignPossible         Block
465   TextFont
466     Size                Small
467   EndFont
468 End
469
470 ##
471 ##  stdlayouts
472 ##
473 Input stdlayouts.inc
474
475 Style Caption
476   LabelFont
477     Series              Medium
478   EndFont
479 End
480
481 Style Footernote
482   Margin                Static
483   LatexType             Command
484   InTitle               0
485   LatexName             footernote
486   ParSkip               0.4
487   BottomSep             1.5
488   ParSep                1.5
489   Align                 Center
490   AlignPossible         Block, Left, Right, Center
491   LabelType             Static
492   LabelString           "Footernote"
493   # label font definition
494   TextFont
495     Shape               Up
496     Size                Small
497   EndFont
498   LabelFont
499     Shape               Italic
500     Size                Small
501   EndFont
502 End
503
504 Style MarkBoth
505   LaTeXType             Command
506   LaTeXName             markboth
507   Align                 Center
508   AlignPossible         Center
509 End
510
511 ##
512 ## Others
513 ##
514 Input lyxmacros.inc
515 Input obsolete.inc