]> git.lyx.org Git - lyx.git/blob - lib/layouts/IEEEtran.layout
2ce20d5ae408874aa63738acb2d550ad11542c34
[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 theorems.inc
55
56
57 NoStyle Chapter
58 NoStyle Chapter*
59
60
61 Style Title
62         Margin                  Static
63         LatexType               Command
64         LatexName               title
65         Category                FrontMatter
66         InTitle                 1
67         OptionalArgs            0
68         ParSkip                 0.4
69         ItemSep                 0
70         TopSep                  0
71         BottomSep               1
72         ParSep                  1
73         Align                   Center
74         LabelType               No_Label
75         Font
76           Size                  Largest
77         EndFont
78 End
79
80
81 InsetLayout IEEE_membership
82         LyxType                 custom
83         LatexType               command
84         LatexName               IEEEmembership
85         LabelString             "IEEE membership"
86         Font
87           Shape                 Italic
88           Size                  Large
89           Misc                  No_Emph
90           Misc                  No_Noun
91           Misc                  No_Bar
92         EndFont
93         LabelFont
94           Color                 green
95           Size                  Small
96         EndFont
97 End
98
99
100 InsetLayout Lowercase
101         CopyStyle               IEEE_membership
102         LatexType               command
103         LatexName               MakeLowercase
104         LabelString             "lowercase"
105         Font
106           Size                  Normal
107         EndFont
108 End
109
110
111 Style Author
112         Margin                  Static
113         LatexType               Command
114         Category                FrontMatter
115         InTitle                 1
116         OptionalArgs            1
117         LatexName               author
118         LabelSep                xxx
119         ParSkip                 0.4
120         TopSep                  1.3
121         BottomSep               0.7
122         ParSep                  0.7
123         Align                   Center
124         LabelType               No_Label
125         Font
126           Size                  Large
127         EndFont
128 End
129
130
131 Style Special_Paper_Notice
132         CopyStyle               Title
133         LatexName               IEEEspecialpapernotice
134         InTitle                 1
135         Font
136           Shape                 Italic
137           Size                  Large
138         EndFont
139 End
140
141
142 Style After_Title_Text
143         CopyStyle               Special_Paper_Notice
144         LatexName               IEEEaftertitletext
145         Font
146           Shape                 Up
147           Size                  Normal
148         EndFont
149 End
150
151
152 Style MarkBoth
153         LaTeXType               Command
154         LaTeXName               markboth
155         Category                FrontMatter
156         InTitle                 1
157         Align                   Center
158         Font
159           Size                  Small
160         EndFont
161         Preamble
162         % protect \markboth against an old bug reintroduced in babel >= 3.8g
163         \let\oldforeign@language\foreign@language
164         \DeclareRobustCommand{\foreign@language}[1]{%
165           \lowercase{\oldforeign@language{#1}}}
166         EndPreamble
167 End
168
169
170 Style Publisher_ID
171         CopyStyle               Special_Paper_Notice
172         LatexName               IEEEpubid
173         Font
174           Shape                 Up
175           Size                  Small
176         EndFont
177 End
178
179
180 Style Abstract
181         Margin                  First_Dynamic
182         LatexType               Environment
183         LatexName               abstract
184         Category                FrontMatter
185         TopSep                  0.7
186         BottomSep               0.7
187         ParSkip                 0.4
188         LabelType               Static
189         LabelString             "Abstract---"
190         Font
191           Series                Bold
192           Size                  small
193         EndFont
194         LabelFont
195           Shape                 Italic
196           Series                Bold
197           Size                  Small
198         EndFont
199 End
200
201
202 Style Keywords
203         CopyStyle               Abstract
204         LatexName               IEEEkeywords
205         LabelString             "Index Terms---"
206 End
207
208
209 Style Appendices
210         Margin                  Dynamic
211         LatexType               Command
212         LatexName               appendices
213         Category                BackMatter
214         KeepEmpty               1
215         ParSkip                 0.4
216         Align                   Block
217         LabelSep                xx
218         LabelType               Static
219         LabelString             "Appendices"
220         LabelFont
221           Series                Bold
222           Color                 Green
223         EndFont
224 End
225
226 Style Appendix
227         CopyStyle               Appendices
228         LatexName               appendix
229         LabelString             "Appendix"
230         OptionalArgs            1
231 End
232
233
234 Style Bibliography
235         Margin                  First_Dynamic
236         LatexType               Bib_Environment
237         LatexName               thebibliography
238         Category                BackMatter
239         NextNoIndent            1
240         LeftMargin              MM
241         ParSkip                 0.4
242         ItemSep                 0
243         TopSep                  0.7
244         BottomSep               0.7
245         ParSep                  0.5
246         Align                   Block
247         AlignPossible           Block, Left
248         LabelType               Bibliography
249         LabelString             "References"
250         LabelBottomSep          1.2
251         LabelFont
252           Series                Bold
253           Size                  Larger
254         EndFont
255 End
256
257
258 Style Biography
259         LaTeXType               Environment
260         LaTeXName               IEEEbiography
261         Category                BackMatter
262         OptionalArgs            1
263         Align                   Block
264         TextFont
265           Size                  Small
266         EndFont
267 End
268
269
270 Style Biography_without_photo
271         CopyStyle               Biography
272         LaTeXName               IEEEbiographynophoto
273         OptionalArgs            0
274 End
275
276
277 Style Proof
278         Category                Theorem
279         Margin                  First_Dynamic
280         LatexType               Environment
281         LatexName               IEEEproof
282         NextNoIndent            1
283         OptionalArgs            1
284         LabelSep                xx
285         ParIndent               MMM
286         ParSkip                 0.4
287         ItemSep                 0.2
288         TopSep                  0.7
289         BottomSep               0.7
290         ParSep                  0.3
291         Align                   Block
292         AlignPossible           Block, Left
293         LabelType               Static
294         LabelString             "Proof."
295         EndLabelType            Filled_Box
296         Font
297           Shape                 Up
298           Size                  Normal
299         EndFont
300         LabelFont
301           Shape                 Italic
302         EndFont
303 End