]> git.lyx.org Git - lyx.git/blob - lib/layouts/IEEEtran.layout
read the ChangeLog... no huge changes .. but some might get reversed...
[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 stdstruct.inc
355
356 Style Abstract
357   Margin                First_Dynamic
358   LeftMargin            ""
359   RightMargin           ""
360 #  ParIndent            MM
361   LabelSep              M
362   LabelType             Static
363   LabelString           "Abstract---"
364 #  LabelBottomSep        0.0
365
366   # standard font definition
367   Font 
368     Series              Bold
369     Size                Small
370   EndFont
371
372   # label font definition
373   LabelFont
374     Shape               Italic
375     Series              Medium
376     Size                Small
377   EndFont
378 End 
379
380 Style Keywords
381   Margin                Dynamic
382   LatexType             Environment
383   InTitle               0
384   LatexName             keywords
385   ParSkip               0.4
386   BottomSep             1.5
387   ParSep                1.5
388   Align                 Left
389   AlignPossible         Block, Left, Right, Center
390   LabelType             Static
391   LabelString           "Keywords---"
392   # label font definition
393   TextFont
394     Shape               Up
395     Size                Small
396   EndFont
397   LabelFont
398     Shape               Italic
399     Size                Small
400   EndFont
401 End
402
403 # Bibliography style definition
404 Style Bibliography
405   # label font definition
406   LabelFont
407     Shape               Smallcaps             
408     Series              Medium
409     Size                Normal
410   EndFont
411 End
412
413 Style Appendix
414   Margin                Static
415   LatexType             Command
416   InTitle               0
417   LatexName             appendix
418   ParSkip               0.4
419   BottomSep             1.5
420   ParSep                1.5
421   Align                 Block
422   AlignPossible         Block, Left, Right, Center
423   LabelType             Static
424   LabelString           "Appendix"
425   # label font definition
426   TextFont
427     Shape               Up
428     Size                Normal
429   EndFont
430   LabelFont
431     Shape               Smallcaps
432     Size                Normal
433   EndFont
434 End
435
436 Style Appendices
437   Margin                Static
438   LatexType             Command
439   InTitle               0
440   LatexName             appendices
441   ParSkip               0.4
442   BottomSep             1.5
443   ParSep                1.5
444   Align                 Center
445   AlignPossible         Block, Left, Right, Center
446   LabelType             Static
447   LabelString           "Appendices"
448   # label font definition
449   TextFont
450     Shape               Up
451     Size                Small
452   EndFont
453   LabelFont
454     Shape               Smallcaps
455     Size                Normal
456   EndFont
457 End
458
459 Style Biography
460   LaTeXType             Environment
461   LaTeXName             biography
462   Align                 Block
463   AlignPossible         Block
464   TextFont
465     Size                Small
466   EndFont
467 End
468
469 ##
470 ##  stdlayouts
471 ##
472 Input stdlayouts.inc
473
474 Style Caption
475   LabelFont
476     Series              Medium
477   EndFont
478 End
479
480 Style Footernote
481   Margin                Static
482   LatexType             Command
483   InTitle               0
484   LatexName             footernote
485   ParSkip               0.4
486   BottomSep             1.5
487   ParSep                1.5
488   Align                 Center
489   AlignPossible         Block, Left, Right, Center
490   LabelType             Static
491   LabelString           "Footernote"
492   # label font definition
493   TextFont
494     Shape               Up
495     Size                Small
496   EndFont
497   LabelFont
498     Shape               Italic
499     Size                Small
500   EndFont
501 End
502
503 Style MarkBoth
504   LaTeXType             Command
505   LaTeXName             markboth
506   Align                 Center
507   AlignPossible         Center
508 End
509
510 ##
511 ## Others
512 ##
513 Input lyxmacros.inc
514 Input obsolete.inc