]> git.lyx.org Git - features.git/blob - lib/layouts/IEEEtran.layout
815817b3959ddfe46298a2f2cc5692e59600c816
[features.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 85
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   DocBookTag    para
46 End
47
48 Counter         theorem
49         GuiName Theorem
50 End
51
52 Input stdcounters.inc
53 Input stdfloats.inc
54 Input stdlists.inc
55 Input stdsections.inc
56 Input stdstarsections.inc
57 Input stdlayouts.inc
58 Input lyxmacros.inc
59
60 ProvidesModule theorems-std
61 Input theorems.inc
62
63 NoStyle Chapter
64 NoCounter chapter
65 NoStyle Chapter*
66
67
68 Style Title
69   Margin        Static
70   LatexType     Command
71   LatexName     title
72   Category      FrontMatter
73   InTitle       1
74   ResetArgs     1
75   ParSkip       0.4
76   ItemSep       0
77   TopSep        0
78   BottomSep     1
79   ParSep        1
80   Align         Center
81   LabelType     No_Label
82   Font
83     Size        Largest
84   EndFont
85   DocBookTag      title
86   DocBookTagType  paragraph
87   DocBookInInfo   maybe
88 End
89
90
91 InsetLayout Flex:IEEE_membership
92   LyxType       custom
93   LatexType     command
94   ForcePlain    1
95   LatexName     IEEEmembership
96   LabelString   "IEEE membership"
97   Font
98     Shape       Italic
99     Size        Large
100     Misc        No_Emph
101     Misc        No_Noun
102     Misc        No_Bar
103   EndFont
104   LabelFont
105     Color       green
106     Size        Small
107   EndFont
108         ResetsFont true
109 End
110
111
112 InsetLayout Flex:Lowercase
113   CopyStyle     Flex:IEEE_membership
114   LatexType     command
115   LatexName     MakeLowercase
116   LabelString   "lowercase"
117   Font
118     Size        Normal
119   EndFont
120 End
121
122
123 Style Author
124   Margin        Static
125   LatexType     Command
126   Category      FrontMatter
127   InTitle       1
128   Argument 1
129     LabelString "Short Author|S"
130     Tooltip     "A short version of the author name"
131     InsertCotext 1
132   EndArgument
133   LatexName     author
134   LabelSep      xxx
135   ParSkip       0.4
136   TopSep        1.3
137   BottomSep     0.7
138   ParSep        0.7
139   Align         Center
140   LabelType     No_Label
141   Font
142     Size        Large
143   EndFont
144 End
145
146
147 InsetLayout Flex:Author_Name
148   LyxType       custom
149   LatexType     command
150   Decoration    Classic
151   ForcePlain    1
152   LaTeXName     IEEEauthorblockN
153   LabelString   "Author name"
154   Font
155     Size        Large
156   EndFont
157   LabelFont
158     Color       blue
159     Size        Small
160   EndFont
161         ResetsFont true
162 End
163
164
165 InsetLayout Flex:Author_Affiliation
166   CopyStyle     Flex:Author_Name
167   LaTeXName     IEEEauthorblockA
168   LabelString   "Author affiliation"
169   Font
170     Size        Normal
171   EndFont
172   LabelFont
173     Color       blue
174     Size        Small
175   EndFont
176 End
177
178
179 InsetLayout Flex:Author_Mark
180         LyxType         custom
181         LatexType       command
182         ForcePlain      1
183         LatexName       IEEEauthorrefmark
184         LabelString     "Author mark"
185         Font
186           Color         foreground
187           Size          Small
188           Family        Roman
189           Shape         Up
190           Series        Medium
191           Misc          No_Emph
192           Misc          No_Noun
193           Misc          No_Bar
194         EndFont
195         LabelFont
196           Color         latex
197           Size          Small
198         EndFont
199         ResetsFont true
200 End
201
202
203 Style Special_Paper_Notice
204   CopyStyle     Title
205   LatexName     IEEEspecialpapernotice
206   InTitle       1
207   Font
208     Shape       Italic
209     Size        Large
210   EndFont
211 End
212
213
214 Style After_Title_Text
215   CopyStyle     Special_Paper_Notice
216   LatexName     IEEEaftertitletext
217   Font
218     Shape       Up
219     Size        Normal
220   EndFont
221 End
222
223
224 Style Page_headings
225   LaTeXType     Command
226   LaTeXName     markboth
227   Category      FrontMatter
228   InTitle       1
229   Align         Center
230   Argument 1
231     Mandatory   1
232     AutoInsert  1
233     LabelString "Left Side"
234     Tooltip     "Left side of the header line"
235   EndArgument
236   Font
237     Size        Small
238   EndFont
239   Preamble
240   % protect \markboth against an old bug reintroduced in babel >= 3.8g
241   \let\oldforeign@language\foreign@language
242   \DeclareRobustCommand{\foreign@language}[1]{%
243     \lowercase{\oldforeign@language{#1}}}
244   EndPreamble
245 End
246
247
248 Style MarkBoth
249   ObsoletedBy   Page_headings
250 End
251
252
253 Style Publication_ID
254   CopyStyle     Special_Paper_Notice
255   LatexName     IEEEpubid
256   Font
257     Shape       Up
258     Size        Small
259   EndFont
260 End
261
262
263 Style Abstract
264   Margin        First_Dynamic
265   LatexType     Environment
266   LatexName     abstract
267   Category      FrontMatter
268   TopSep        0.7
269   BottomSep     0.7
270   ParSkip       0.4
271   LabelType     Static
272   LabelString   "Abstract---"
273   Font
274     Series      Bold
275     Size        small
276   EndFont
277   LabelFont
278     Shape       Italic
279     Series      Bold
280     Size        Small
281   EndFont
282 End
283
284
285 Style Keywords
286   CopyStyle     Abstract
287   LatexName     IEEEkeywords
288   LabelString   "Index Terms---"
289   DocBookTag         keyword
290   DocBookTagType     paragraph
291   DocBookWrapperTag  keywordset
292   DocBookInInfo      always
293 End
294
295
296 InsetLayout Flex:Paragraph_Start
297   LyxType       custom
298   LatexType     command
299   LaTeXName     IEEEPARstart
300   LabelString   "Paragraph Start"
301   Argument 1
302     Mandatory   1
303     AutoInsert  1
304     LabelString "First Char"
305     Tooltip     "First character of first word"
306   EndArgument
307   Font
308     Size        Small
309   EndFont
310         ResetsFont true
311 End
312
313
314 Style Appendices
315   Margin        Dynamic
316   LatexType     Command
317   LatexName     appendices
318   Category      BackMatter
319   KeepEmpty     1
320   ParSkip       0.4
321   Align         Block
322   LabelSep      xx
323   LabelType     Static
324   LabelString   "Appendices"
325   LabelFont
326     Series      Bold
327     Color       Green
328   EndFont
329 End
330
331
332 Style Peer_Review_Title
333   CopyStyle     Appendices
334   LatexName     IEEEpeerreviewmaketitle
335   Category      FrontMatter
336   TopSep        1
337   LabelString   "PeerReviewTitle"
338 End
339
340
341 Style Appendix
342   CopyStyle     Appendices
343   LatexName     appendix
344   LabelString   "Appendix"
345   Argument 1
346     LabelString "Short Title"
347     Tooltip     "Short title for the appendix"
348     InsertCotext 1
349   EndArgument
350 End
351
352
353 Style Bibliography
354   Margin        First_Dynamic
355   LatexType     Bib_Environment
356   LatexName     thebibliography
357   Category      BackMatter
358   NextNoIndent  1
359   ToggleIndent  Never
360   LeftMargin    MM
361   ParSkip       0.4
362   ItemSep       0
363   TopSep        0.7
364   BottomSep     0.7
365   ParSep        0.5
366   Align         Block
367   AlignPossible Block, Left
368   LabelType     Bibliography
369   LabelString   "References"
370   LabelBottomSep 1.2
371   LabelFont
372     Series      Bold
373     Size        Larger
374   EndFont
375   TocLevel      1
376   IsTocCaption  0
377   Argument listpreamble:1
378     LabelString    "Bib preamble"
379     MenuString     "Bibliography Preamble"
380     Tooltip        "LaTeX code to be inserted before the first bibliography item"
381     PassThru       1
382     Font
383       Family typewriter
384       Color latex
385     EndFont
386   EndArgument
387 End
388
389
390 Style Biography
391   LaTeXType     Environment
392   LaTeXName     IEEEbiography
393   Category      BackMatter
394   Argument 1
395     LabelString "Photo"
396     Tooltip     "Optional photo for biography"
397   EndArgument
398   Argument 2
399     Mandatory   1
400     AutoInsert  1
401     LabelString "Name"
402     Tooltip     "Name of the author"
403   EndArgument
404   Align Block
405   TextFont
406     Size        Small
407   EndFont
408 End
409
410
411 Style Biography_without_photo
412   CopyStyle     Biography
413   LaTeXName     IEEEbiographynophoto
414   ResetArgs     1
415   Argument 1
416     Mandatory   1
417     AutoInsert  1
418     LabelString "Name"
419     Tooltip     "Name of the author"
420   EndArgument
421 End
422
423 Style BiographyNoPhoto
424   ObsoletedBy   Biography_without_photo
425 End
426
427
428 Style Proof
429   Category      Reasoning
430   Margin        First_Dynamic
431   LatexType     Environment
432   LatexName     IEEEproof
433   NextNoIndent  1
434   Argument 1
435     LabelString "Alternative Proof String"
436     Tooltip     "An alternative proof string"
437   EndArgument
438   LabelSep      xx
439   ParIndent     MMM
440   ParSkip       0.4
441   ItemSep       0.2
442   TopSep        0.7
443   BottomSep     0.7
444   ParSep        0.3
445   Align         Block
446   AlignPossible Block, Left
447   LabelType     Static
448   LabelString   "Proof."
449   EndLabelType  Filled_Box
450   Font
451     Shape       Up
452     Size        Normal
453   EndFont
454   LabelFont
455     Shape       Italic
456   EndFont
457 End