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