]> git.lyx.org Git - lyx.git/blob - lib/layouts/IEEEtran.layout
51c49adafd4395cf1b39725e9a9590343c18e244
[lyx.git] / lib / layouts / IEEEtran.layout
1 #% Do not delete he line below; configure depends on this
2 #  \DeclareLaTeXClass{article (IEEEtran)}
3 # Author : Allan Rae <rae@lyx.org>
4 #
5 # revised for IEEEtran version 1.7a
6 # Author: Uwe Stöhr (uwestoehr@web.de)
7 #
8 # IEEtran textclass definition file.
9
10
11 Format 26
12
13 Sides                   1
14 SecNumDepth             3
15 TocDepth                3
16 DefaultStyle            Standard                
17
18 ClassOptions
19         FontSize                9|10|11|12
20 end
21
22
23 # This is just to show how to declare the default font.
24 # The defaults are exactly those shown here.
25 DefaultFont
26         Family                  Roman
27         Series                  Medium
28         Shape                   Up
29         Size                    Normal
30         Color                   None
31 EndFont
32
33
34 Style Standard
35         Margin                  Static
36         LatexType               Paragraph
37         LatexName               dummy
38         ParIndent               MM
39         ParSkip                 0.4
40         Align                   Block
41         AlignPossible           Block, Left, Right, Center
42         LabelType               No_Label
43 End
44
45 Counter                         theorem
46 End
47
48 Input stdcounters.inc
49 Input stdfloats.inc
50 Input stdlists.inc
51 Input stdsections.inc
52 Input stdstarsections.inc
53 Input stdlayouts.inc
54 Input lyxmacros.inc
55 Input theorems.inc
56
57
58 NoStyle Chapter
59 NoStyle Chapter*
60
61
62 Style Title
63         Margin                  Static
64         LatexType               Command
65         LatexName               title
66         Category                FrontMatter
67         InTitle                 1
68         OptionalArgs            0
69         ParSkip                 0.4
70         ItemSep                 0
71         TopSep                  0
72         BottomSep               1
73         ParSep                  1
74         Align                   Center
75         LabelType               No_Label
76         Font
77           Size                  Largest
78         EndFont
79 End
80
81
82 InsetLayout IEEE_membership
83         LyxType                 custom
84         LatexType               command
85         LatexName               IEEEmembership
86         LabelString             "IEEE membership"
87         Font
88           Shape                 Italic
89           Size                  Large
90           Misc                  No_Emph
91           Misc                  No_Noun
92           Misc                  No_Bar
93         EndFont
94         LabelFont
95           Color                 green
96           Size                  Small
97         EndFont
98 End
99
100
101 InsetLayout Lowercase
102         CopyStyle               IEEE_membership
103         LatexType               command
104         LatexName               MakeLowercase
105         LabelString             "lowercase"
106         Font
107           Size                  Normal
108         EndFont
109 End
110
111
112 Style Author
113         Margin                  Static
114         LatexType               Command
115         Category                FrontMatter
116         InTitle                 1
117         OptionalArgs            1
118         LatexName               author
119         LabelSep                xxx
120         ParSkip                 0.4
121         TopSep                  1.3
122         BottomSep               0.7
123         ParSep                  0.7
124         Align                   Center
125         LabelType               No_Label
126         Font
127           Size                  Large
128         EndFont
129 End
130
131
132 Style Special_Paper_Notice
133         CopyStyle               Title
134         LatexName               IEEEspecialpapernotice
135         InTitle                 1
136         Font
137           Shape                 Italic
138           Size                  Large
139         EndFont
140 End
141
142
143 Style After_Title_Text
144         CopyStyle               Special_Paper_Notice
145         LatexName               IEEEaftertitletext
146         Font
147           Shape                 Up
148           Size                  Normal
149         EndFont
150 End
151
152
153 Style Page_headings
154         LaTeXType               Command
155         LaTeXName               markboth
156         Category                FrontMatter
157         InTitle                 1
158         Align                   Center
159         Font
160           Size                  Small
161         EndFont
162         Preamble
163         % protect \markboth against an old bug reintroduced in babel >= 3.8g
164         \let\oldforeign@language\foreign@language
165         \DeclareRobustCommand{\foreign@language}[1]{%
166           \lowercase{\oldforeign@language{#1}}}
167         EndPreamble
168 End
169
170
171 Style MarkBoth
172         ObsoletedBy             Page_headings
173 End
174
175
176 Style Publication_ID
177         CopyStyle               Special_Paper_Notice
178         LatexName               IEEEpubid
179         Font
180           Shape                 Up
181           Size                  Small
182         EndFont
183 End
184
185
186 Style Abstract
187         Margin                  First_Dynamic
188         LatexType               Environment
189         LatexName               abstract
190         Category                FrontMatter
191         TopSep                  0.7
192         BottomSep               0.7
193         ParSkip                 0.4
194         LabelType               Static
195         LabelString             "Abstract---"
196         Font
197           Series                Bold
198           Size                  small
199         EndFont
200         LabelFont
201           Shape                 Italic
202           Series                Bold
203           Size                  Small
204         EndFont
205 End
206
207
208 Style Keywords
209         CopyStyle               Abstract
210         LatexName               IEEEkeywords
211         LabelString             "Index Terms---"
212 End
213
214
215 Style Appendices
216         Margin                  Dynamic
217         LatexType               Command
218         LatexName               appendices
219         Category                BackMatter
220         KeepEmpty               1
221         ParSkip                 0.4
222         Align                   Block
223         LabelSep                xx
224         LabelType               Static
225         LabelString             "Appendices"
226         LabelFont
227           Series                Bold
228           Color                 Green
229         EndFont
230 End
231
232 Style Appendix
233         CopyStyle               Appendices
234         LatexName               appendix
235         LabelString             "Appendix"
236         OptionalArgs            1
237 End
238
239
240 Style Bibliography
241         Margin                  First_Dynamic
242         LatexType               Bib_Environment
243         LatexName               thebibliography
244         Category                BackMatter
245         NextNoIndent            1
246         LeftMargin              MM
247         ParSkip                 0.4
248         ItemSep                 0
249         TopSep                  0.7
250         BottomSep               0.7
251         ParSep                  0.5
252         Align                   Block
253         AlignPossible           Block, Left
254         LabelType               Bibliography
255         LabelString             "References"
256         LabelBottomSep          1.2
257         LabelFont
258           Series                Bold
259           Size                  Larger
260         EndFont
261 End
262
263
264 Style Biography
265         LaTeXType               Environment
266         LaTeXName               IEEEbiography
267         Category                BackMatter
268         OptionalArgs            1
269         Align                   Block
270         TextFont
271           Size                  Small
272         EndFont
273 End
274
275
276 Style Biography_without_photo
277         CopyStyle               Biography
278         LaTeXName               IEEEbiographynophoto
279         OptionalArgs            0
280 End
281
282 Style BiographyNoPhoto
283         ObsoletedBy             Biography_without_photo
284 End
285
286
287 Style Proof
288         Category                Theorem
289         Margin                  First_Dynamic
290         LatexType               Environment
291         LatexName               IEEEproof
292         NextNoIndent            1
293         OptionalArgs            1
294         LabelSep                xx
295         ParIndent               MMM
296         ParSkip                 0.4
297         ItemSep                 0.2
298         TopSep                  0.7
299         BottomSep               0.7
300         ParSep                  0.3
301         Align                   Block
302         AlignPossible           Block, Left
303         LabelType               Static
304         LabelString             "Proof."
305         EndLabelType            Filled_Box
306         Font
307           Shape                 Up
308           Size                  Normal
309         EndFont
310         LabelFont
311           Shape                 Italic
312         EndFont
313 End