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