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