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