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