]> git.lyx.org Git - lyx.git/blob - lib/layouts/IEEEtran.layout
Update covington support in linguistics module (file format change)
[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 100
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       textlabel2
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       textlabel1
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       textlabel1
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   DocBookTag  subtitle
217 End
218
219
220 Style After_Title_Text
221   CopyStyle     Special_Paper_Notice
222   LatexName     IEEEaftertitletext
223   Font
224     Shape       Up
225     Size        Normal
226   EndFont
227   DocBookTag          para
228   DocBookWrapperTag   dedication
229   DocBookWrapperAttr  role='IEEEaftertitletext'
230   DocBookInInfo       always
231 End
232
233
234 Style Page_headings
235   LaTeXType     Command
236   LaTeXName     markboth
237   Category      FrontMatter
238   InTitle       1
239   Align         Center
240   Argument 1
241     Mandatory   1
242     AutoInsert  1
243     LabelString "Left Side"
244     Tooltip     "Left side of the header line"
245   EndArgument
246   Font
247     Size        Small
248   EndFont
249   Preamble
250   % protect \markboth against an old bug reintroduced in babel >= 3.8g
251   \let\oldforeign@language\foreign@language
252   \DeclareRobustCommand{\foreign@language}[1]{%
253     \lowercase{\oldforeign@language{#1}}}
254   EndPreamble
255   DocBookTag          titleabbrev
256   DocBookInInfo       maybe
257 End
258
259
260 Style MarkBoth
261   ObsoletedBy   Page_headings
262 End
263
264
265 Style Publication_ID
266   CopyStyle     Special_Paper_Notice
267   LatexName     IEEEpubid
268   Font
269     Shape       Up
270     Size        Small
271   EndFont
272   DocBookTag     releaseinfo
273   DocBookInInfo  always
274 End
275
276
277 Style Abstract
278   Margin        First_Dynamic
279   LatexType     Environment
280   LatexName     abstract
281   Category      FrontMatter
282   TopSep        0.7
283   BottomSep     0.7
284   ParSkip       0.4
285   LabelType     Static
286   LabelString   "Abstract---"
287   Font
288     Series      Bold
289     Size        small
290   EndFont
291   LabelFont
292     Shape       Italic
293     Series      Bold
294     Size        Small
295   EndFont
296   DocBookAbstract       true
297   DocBookInInfo         always
298   DocBookWrapperTag     abstract
299   DocBookWrapperMergeWithPrevious    true
300   DocBookTag            para
301 End
302
303
304 Style Keywords
305   CopyStyle     Abstract
306   LatexName     IEEEkeywords
307   LabelString   "Index Terms---"
308   DocBookTag         keyword
309   DocBookTagType     paragraph
310   DocBookWrapperTag  keywordset
311   DocBookInInfo      always
312   DocBookAbstract    false
313 End
314
315
316 InsetLayout Flex:Paragraph_Start
317   LyxType       custom
318   LatexType     command
319   LaTeXName     IEEEPARstart
320   LabelString   "Paragraph Start"
321   Argument 1
322     Mandatory   1
323     AutoInsert  1
324     LabelString "First Char"
325     Tooltip     "First character of first word"
326   EndArgument
327   Font
328     Size        Small
329   EndFont
330         ResetsFont true
331 End
332
333
334 Style Appendices
335   Margin        Dynamic
336   LatexType     Command
337   LatexName     appendices
338   Category      BackMatter
339   KeepEmpty     1
340   ParSkip       0.4
341   Align         Block
342   LabelSep      xx
343   LabelType     Static
344   LabelString   "Appendices"
345   LabelFont
346     Series      Bold
347     Color       textlabel2
348   EndFont
349 End
350
351
352 Style Peer_Review_Title
353   CopyStyle     Appendices
354   LatexName     IEEEpeerreviewmaketitle
355   Category      FrontMatter
356   TopSep        1
357   LabelString   "PeerReviewTitle"
358 End
359
360
361 Style Appendix
362   CopyStyle     Appendices
363   LatexName     appendix
364   LabelString   "Appendix"
365   Argument 1
366     LabelString "Short Title"
367     Tooltip     "Short title for the appendix"
368     InsertCotext 1
369   EndArgument
370 End
371
372
373 Style Bibliography
374   Margin        First_Dynamic
375   LatexType     Bib_Environment
376   LatexName     thebibliography
377   Category      BackMatter
378   NextNoIndent  1
379   ToggleIndent  Never
380   LeftMargin    MM
381   ParSkip       0.4
382   ItemSep       0
383   TopSep        0.7
384   BottomSep     0.7
385   ParSep        0.5
386   Align         Block
387   AlignPossible Block, Left
388   LabelType     Bibliography
389   LabelString   "References"
390   LabelBottomSep 1.2
391   LabelFont
392     Series      Bold
393     Size        Larger
394   EndFont
395   TocLevel      1
396   IsTocCaption  0
397   Argument listpreamble:1
398     LabelString    "Bib preamble"
399     MenuString     "Bibliography Preamble"
400     Tooltip        "LaTeX code to be inserted before the first bibliography item"
401     PassThru       1
402     Font
403       Family    typewriter
404       Color     latex
405     EndFont
406   EndArgument
407 End
408
409
410 Style Biography
411   LaTeXType     Environment
412   LaTeXName     IEEEbiography
413   Category      BackMatter
414   Argument 1
415     LabelString "Photo"
416     Tooltip     "Optional photo for biography"
417   EndArgument
418   Argument 2
419     Mandatory   1
420     AutoInsert  1
421     LabelString "Name"
422     Tooltip     "Name of the author"
423   EndArgument
424   Align Block
425   TextFont
426     Size        Small
427   EndFont
428 End
429
430
431 Style Biography_without_photo
432   CopyStyle     Biography
433   LaTeXName     IEEEbiographynophoto
434   ResetArgs     1
435   Argument 1
436     Mandatory   1
437     AutoInsert  1
438     LabelString "Name"
439     Tooltip     "Name of the author"
440   EndArgument
441 End
442
443 Style BiographyNoPhoto
444   ObsoletedBy   Biography_without_photo
445 End
446
447
448 Style Proof
449   Category      Reasoning
450   Margin        First_Dynamic
451   LatexType     Environment
452   LatexName     IEEEproof
453   NextNoIndent  1
454   Argument 1
455     LabelString "Alternative Proof String"
456     Tooltip     "An alternative proof string"
457   EndArgument
458   LabelSep      xx
459   ParIndent     MMM
460   ParSkip       0.4
461   ItemSep       0.2
462   TopSep        0.7
463   BottomSep     0.7
464   ParSep        0.3
465   Align         Block
466   AlignPossible Block, Left
467   LabelType     Static
468   LabelString   "Proof."
469   EndLabelType  Filled_Box
470   Font
471     Shape       Up
472     Size        Normal
473   EndFont
474   LabelFont
475     Shape       Italic
476   EndFont
477   DocBookTag            para
478   DocBookAttr           role='proof'
479 End