]> git.lyx.org Git - features.git/blob - lib/layouts/IEEEtran.layout
fix left margins of labelstrings
[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 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         LabelType             Static
333         LabelString           "Abstract---"
334 #  LabelBottomSep        0.0
335         Font
336           Series              Bold
337           Size                Small
338         EndFont
339         LabelFont
340           Shape               Italic
341           Series              Medium
342           Size                Small
343         EndFont
344 End
345
346
347 Style Keywords
348         Margin                Dynamic
349         LatexType             Environment
350         InTitle               0
351         LatexName             keywords
352         ParSkip               0.4
353         BottomSep             1.5
354         ParSep                1.5
355         Align                 Left
356         AlignPossible         Block, Left, Right, Center
357         LabelType             Static
358         LabelString           "Index Terms---"
359         TextFont
360           Shape               Up
361           Size                Small
362         EndFont
363         LabelFont
364           Shape               Italic
365           Size                Small
366         EndFont
367 End
368
369
370 Style Bibliography
371         LabelFont
372           Shape               Smallcaps
373           Series              Medium
374           Size                Normal
375         EndFont
376 End
377
378
379 Style Appendix
380         Margin                Static
381         LatexType             Command
382         InTitle               0
383         LatexName             appendix
384         ParSkip               0.4
385         BottomSep             1.5
386         ParSep                1.5
387         Align                 Block
388         AlignPossible         Block, Left, Right, Center
389         LabelType             Static
390         LabelString           "Appendix"
391         TextFont
392           Shape               Up
393           Size                Normal
394         EndFont
395         LabelFont
396           Shape               Smallcaps
397           Size                Normal
398         EndFont
399 End
400
401
402 Style Appendices
403         CopyStyle             Appendix
404         LatexName             appendices
405         LabelString           "Appendices"
406 End
407
408
409 Style Biography
410         LaTeXType             Environment
411         LaTeXName             biography
412         Align                 Block
413         AlignPossible         Block
414         TextFont
415           Size                Small
416         EndFont
417 End
418
419
420 ##
421 ##  stdlayouts
422 ##
423
424 Input stdlayouts.inc
425
426
427 Style Caption
428         LabelFont
429           Series              Medium
430         EndFont
431 End
432
433
434 Style Footernote
435         Margin                Static
436         LatexType             Command
437         InTitle               0
438         LatexName             footernote
439         ParSkip               0.4
440         BottomSep             1.5
441         ParSep                1.5
442         Align                 Center
443         AlignPossible         Block, Left, Right, Center
444         LabelType             Static
445         LabelString           "Footernote"
446         TextFont
447           Shape               Up
448           Size                Small
449         EndFont
450         LabelFont
451           Shape               Italic
452           Size                Small
453         EndFont
454 End
455
456
457 Style MarkBoth
458         LaTeXType             Command
459         LaTeXName             markboth
460         Align                 Center
461         AlignPossible         Center
462 End
463
464
465 ##
466 ## Others
467 ##
468
469 Input numarticle.inc
470 Input stdfloats.inc
471 Input stdcounters.inc
472 Input lyxmacros.inc
473
474
475 Columns                 1
476 Sides                   1
477 SecNumDepth             3
478 TocDepth                3
479
480
481 ClassOptions
482         FontSize              9|10|11|12
483 End
484
485