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