]> git.lyx.org Git - lyx.git/blob - lib/layouts/IEEEtran.layout
Preserve compatibility with old documents.
[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 MarkBoth
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 Publication_ID
172         CopyStyle               Special_Paper_Notice
173         LatexName               IEEEpubid
174         Font
175           Shape                 Up
176           Size                  Small
177         EndFont
178 End
179
180
181 Style Abstract
182         Margin                  First_Dynamic
183         LatexType               Environment
184         LatexName               abstract
185         Category                FrontMatter
186         TopSep                  0.7
187         BottomSep               0.7
188         ParSkip                 0.4
189         LabelType               Static
190         LabelString             "Abstract---"
191         Font
192           Series                Bold
193           Size                  small
194         EndFont
195         LabelFont
196           Shape                 Italic
197           Series                Bold
198           Size                  Small
199         EndFont
200 End
201
202
203 Style Keywords
204         CopyStyle               Abstract
205         LatexName               IEEEkeywords
206         LabelString             "Index Terms---"
207 End
208
209
210 Style Appendices
211         Margin                  Dynamic
212         LatexType               Command
213         LatexName               appendices
214         Category                BackMatter
215         KeepEmpty               1
216         ParSkip                 0.4
217         Align                   Block
218         LabelSep                xx
219         LabelType               Static
220         LabelString             "Appendices"
221         LabelFont
222           Series                Bold
223           Color                 Green
224         EndFont
225 End
226
227 Style Appendix
228         CopyStyle               Appendices
229         LatexName               appendix
230         LabelString             "Appendix"
231         OptionalArgs            1
232 End
233
234
235 Style Bibliography
236         Margin                  First_Dynamic
237         LatexType               Bib_Environment
238         LatexName               thebibliography
239         Category                BackMatter
240         NextNoIndent            1
241         LeftMargin              MM
242         ParSkip                 0.4
243         ItemSep                 0
244         TopSep                  0.7
245         BottomSep               0.7
246         ParSep                  0.5
247         Align                   Block
248         AlignPossible           Block, Left
249         LabelType               Bibliography
250         LabelString             "References"
251         LabelBottomSep          1.2
252         LabelFont
253           Series                Bold
254           Size                  Larger
255         EndFont
256 End
257
258
259 Style Biography
260         LaTeXType               Environment
261         LaTeXName               IEEEbiography
262         Category                BackMatter
263         OptionalArgs            1
264         Align                   Block
265         TextFont
266           Size                  Small
267         EndFont
268 End
269
270
271 Style BiographyNoPhoto
272         CopyStyle               Biography
273         LaTeXName               IEEEbiographynophoto
274         OptionalArgs            0
275 End
276
277
278 Style Proof
279         Category                Theorem
280         Margin                  First_Dynamic
281         LatexType               Environment
282         LatexName               IEEEproof
283         NextNoIndent            1
284         OptionalArgs            1
285         LabelSep                xx
286         ParIndent               MMM
287         ParSkip                 0.4
288         ItemSep                 0.2
289         TopSep                  0.7
290         BottomSep               0.7
291         ParSep                  0.3
292         Align                   Block
293         AlignPossible           Block, Left
294         LabelType               Static
295         LabelString             "Proof."
296         EndLabelType            Filled_Box
297         Font
298           Shape                 Up
299           Size                  Normal
300         EndFont
301         LabelFont
302           Shape                 Italic
303         EndFont
304 End