]> git.lyx.org Git - lyx.git/blob - lib/layouts/IEEEtran.layout
IEEE: support for Transactions on Magnetics
[lyx.git] / lib / layouts / IEEEtran.layout
1 #% Do not delete he line below; configure depends on this
2 #  \DeclareLaTeXClass{IEEE Transactions}
3 #  \DeclareCategory{Articles}
4 # Author : Allan Rae <rae@lyx.org>
5 #
6 # revised for IEEEtran version 1.7a
7 # Author: Uwe Stöhr (uwestoehr@web.de)
8 #
9 # IEEtran textclass definition file.
10
11
12 Format 43
13
14 Sides           1
15 SecNumDepth     3
16 TocDepth        3
17 DefaultStyle    Standard
18
19 ClassOptions
20   FontSize      9|10|11|12
21 end
22
23
24 # This is just to show how to declare the default font.
25 # The defaults are exactly those shown here.
26 DefaultFont
27   Family        Roman
28   Series        Medium
29   Shape         Up
30   Size          Normal
31   Color         None
32 EndFont
33
34
35 Style Standard
36   Category      MainText
37   Margin        Static
38   LatexType     Paragraph
39   LatexName     dummy
40   ParIndent     MM
41   ParSkip       0.4
42   Align         Block
43   AlignPossible Block, Left, Right, Center
44   LabelType     No_Label
45 End
46
47 Counter         theorem
48 End
49
50 Input stdcounters.inc
51 Input stdfloats.inc
52 Input stdlists.inc
53 Input stdsections.inc
54 Input stdstarsections.inc
55 Input stdlayouts.inc
56 Input lyxmacros.inc
57
58 ProvidesModule theorems-std
59 Input theorems.inc
60
61 NoStyle Chapter
62 NoCounter chapter
63 NoStyle Chapter*
64
65
66 Style Title
67   Margin        Static
68   LatexType     Command
69   LatexName     title
70   Category      FrontMatter
71   InTitle       1
72   ResetArgs     1
73   ParSkip       0.4
74   ItemSep       0
75   TopSep        0
76   BottomSep     1
77   ParSep        1
78   Align         Center
79   LabelType     No_Label
80   Font
81     Size        Largest
82   EndFont
83 End
84
85
86 InsetLayout Flex:IEEE_membership
87   LyxType       custom
88   LatexType     command
89   ForcePlain    1
90   LatexName     IEEEmembership
91   LabelString   "IEEE membership"
92   Font
93     Shape       Italic
94     Size        Large
95     Misc        No_Emph
96     Misc        No_Noun
97     Misc        No_Bar
98   EndFont
99   LabelFont
100     Color       green
101     Size        Small
102   EndFont
103 End
104
105
106 InsetLayout Flex:Lowercase
107   CopyStyle     Flex:IEEE_membership
108   LatexType     command
109   LatexName     MakeLowercase
110   LabelString   "lowercase"
111   Font
112     Size        Normal
113   EndFont
114 End
115
116
117 Style Author
118   Margin        Static
119   LatexType     Command
120   Category      FrontMatter
121   InTitle       1
122   Argument 1
123     LabelString "Short Author|S"
124     Tooltip     "A short version of the author name"
125   EndArgument
126   LatexName     author
127   LabelSep      xxx
128   ParSkip       0.4
129   TopSep        1.3
130   BottomSep     0.7
131   ParSep        0.7
132   Align         Center
133   LabelType     No_Label
134   Font
135     Size        Large
136   EndFont
137 End
138
139
140 InsetLayout Flex:Author_Name
141   LyxType       custom
142   LatexType     command
143   Decoration    Classic
144   ForcePlain    1
145   LaTeXName     IEEEauthorblockN
146   LabelString   "Author name"
147   Font
148     Size        Large
149   EndFont
150   LabelFont
151     Color       blue
152     Size        Small
153   EndFont
154 End
155
156
157 InsetLayout Flex:Author_Affiliation
158   CopyStyle     Flex:Author_Name
159   LaTeXName     IEEEauthorblockA
160   LabelString   "Author affiliation"
161   Font
162     Size        Normal
163   EndFont
164   LabelFont
165     Color       blue
166     Size        Small
167   EndFont
168 End
169
170
171 InsetLayout Flex:Author_Mark
172         LyxType         custom
173         LatexType       command
174         ForcePlain      1
175         LatexName       IEEEauthorrefmark
176         LabelString     "Author mark"
177         Font
178           Color         foreground
179           Size          Small
180           Family        Roman
181           Shape         Up
182           Series        Medium
183           Misc          No_Emph
184           Misc          No_Noun
185           Misc          No_Bar
186         EndFont
187         LabelFont
188           Color         latex
189           Size          Small
190         EndFont
191 End
192
193
194 Style Special_Paper_Notice
195   CopyStyle     Title
196   LatexName     IEEEspecialpapernotice
197   InTitle       1
198   Font
199     Shape       Italic
200     Size        Large
201   EndFont
202 End
203
204
205 Style After_Title_Text
206   CopyStyle     Special_Paper_Notice
207   LatexName     IEEEaftertitletext
208   Font
209     Shape       Up
210     Size        Normal
211   EndFont
212 End
213
214
215 Style Page_headings
216   LaTeXType     Command
217   LaTeXName     markboth
218   Category      FrontMatter
219   InTitle       1
220   Align         Center
221   Argument 1
222     Mandatory   1
223     AutoInsert  1
224     LabelString "Left Side"
225     Tooltip     "Left side of the header line"
226   EndArgument
227   Font
228     Size        Small
229   EndFont
230   Preamble
231   % protect \markboth against an old bug reintroduced in babel >= 3.8g
232   \let\oldforeign@language\foreign@language
233   \DeclareRobustCommand{\foreign@language}[1]{%
234     \lowercase{\oldforeign@language{#1}}}
235   EndPreamble
236 End
237
238
239 Style MarkBoth
240   ObsoletedBy   Page_headings
241 End
242
243
244 Style Publication_ID
245   CopyStyle     Special_Paper_Notice
246   LatexName     IEEEpubid
247   Font
248     Shape       Up
249     Size        Small
250   EndFont
251 End
252
253
254 Style Abstract
255   Margin        First_Dynamic
256   LatexType     Environment
257   LatexName     abstract
258   Category      FrontMatter
259   TopSep        0.7
260   BottomSep     0.7
261   ParSkip       0.4
262   LabelType     Static
263   LabelString   "Abstract---"
264   Font
265     Series      Bold
266     Size        small
267   EndFont
268   LabelFont
269     Shape       Italic
270     Series      Bold
271     Size        Small
272   EndFont
273 End
274
275
276 Style Keywords
277   CopyStyle     Abstract
278   LatexName     IEEEkeywords
279   LabelString   "Index Terms---"
280 End
281
282
283 InsetLayout Flex:Paragraph_Start
284   LyxType       custom
285   LatexType     command
286   LaTeXName     IEEEPARstart
287   LabelString   "Paragraph Start"
288   Argument 1
289     Mandatory   1
290     AutoInsert  1
291     LabelString "First Char"
292     Tooltip     "First character of first word"
293   EndArgument
294   Font
295     Size        Small
296   EndFont
297 End
298
299
300 Style Appendices
301   Margin        Dynamic
302   LatexType     Command
303   LatexName     appendices
304   Category      BackMatter
305   KeepEmpty     1
306   ParSkip       0.4
307   Align         Block
308   LabelSep      xx
309   LabelType     Static
310   LabelString   "Appendices"
311   LabelFont
312     Series      Bold
313     Color       Green
314   EndFont
315 End
316
317
318 Style Peer_Review_Title
319   CopyStyle     Appendices
320   LatexName     IEEEpeerreviewmaketitle
321   Category      FrontMatter
322   TopSep        1
323   LabelString   "PeerReviewTitle"
324 End
325
326
327 Style Appendix
328   CopyStyle     Appendices
329   LatexName     appendix
330   LabelString   "Appendix"
331   Argument 1
332     LabelString "Short Title"
333     Tooltip     "Short title for the appendix"
334   EndArgument
335 End
336
337
338 Style Bibliography
339   Margin        First_Dynamic
340   LatexType     Bib_Environment
341   LatexName     thebibliography
342   Category      BackMatter
343   NextNoIndent  1
344   LeftMargin    MM
345   ParSkip       0.4
346   ItemSep       0
347   TopSep        0.7
348   BottomSep     0.7
349   ParSep        0.5
350   Align         Block
351   AlignPossible Block, Left
352   LabelType     Bibliography
353   LabelString   "References"
354   LabelBottomSep 1.2
355   LabelFont
356     Series      Bold
357     Size        Larger
358   EndFont
359 End
360
361
362 Style Biography
363   LaTeXType     Environment
364   LaTeXName     IEEEbiography
365   Category      BackMatter
366   Argument 1
367     LabelString "Photo"
368     Tooltip     "Optional photo for biography"
369   EndArgument
370   Argument 2
371     Mandatory   1
372     AutoInsert  1
373     LabelString "Name"
374     Tooltip     "Name of the author"
375   EndArgument
376   Align Block
377   TextFont
378     Size        Small
379   EndFont
380 End
381
382
383 Style Biography_without_photo
384   CopyStyle     Biography
385   LaTeXName     IEEEbiographynophoto
386   ResetArgs     1
387   Argument 1
388     Mandatory   1
389     AutoInsert  1
390     LabelString "Name"
391     Tooltip     "Name of the author"
392   EndArgument
393 End
394
395 Style BiographyNoPhoto
396   ObsoletedBy   Biography_without_photo
397 End
398
399
400 Style Proof
401   Category      Reasoning
402   Margin        First_Dynamic
403   LatexType     Environment
404   LatexName     IEEEproof
405   NextNoIndent  1
406   Argument 1
407     LabelString "Alternative Proof String"
408     Tooltip     "An alternative proof string"
409   EndArgument
410   LabelSep      xx
411   ParIndent     MMM
412   ParSkip       0.4
413   ItemSep       0.2
414   TopSep        0.7
415   BottomSep     0.7
416   ParSep        0.3
417   Align         Block
418   AlignPossible Block, Left
419   LabelType     Static
420   LabelString   "Proof."
421   EndLabelType  Filled_Box
422   Font
423     Shape       Up
424     Size        Normal
425   EndFont
426   LabelFont
427     Shape       Italic
428   EndFont
429 End