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