]> git.lyx.org Git - lyx.git/blob - lib/layouts/IEEEtran.layout
Add GuiNames to counter declarations.
[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 80
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 End
286
287
288 InsetLayout Flex:Paragraph_Start
289   LyxType       custom
290   LatexType     command
291   LaTeXName     IEEEPARstart
292   LabelString   "Paragraph Start"
293   Argument 1
294     Mandatory   1
295     AutoInsert  1
296     LabelString "First Char"
297     Tooltip     "First character of first word"
298   EndArgument
299   Font
300     Size        Small
301   EndFont
302         ResetsFont true
303 End
304
305
306 Style Appendices
307   Margin        Dynamic
308   LatexType     Command
309   LatexName     appendices
310   Category      BackMatter
311   KeepEmpty     1
312   ParSkip       0.4
313   Align         Block
314   LabelSep      xx
315   LabelType     Static
316   LabelString   "Appendices"
317   LabelFont
318     Series      Bold
319     Color       Green
320   EndFont
321 End
322
323
324 Style Peer_Review_Title
325   CopyStyle     Appendices
326   LatexName     IEEEpeerreviewmaketitle
327   Category      FrontMatter
328   TopSep        1
329   LabelString   "PeerReviewTitle"
330 End
331
332
333 Style Appendix
334   CopyStyle     Appendices
335   LatexName     appendix
336   LabelString   "Appendix"
337   Argument 1
338     LabelString "Short Title"
339     Tooltip     "Short title for the appendix"
340     InsertCotext 1
341   EndArgument
342 End
343
344
345 Style Bibliography
346   Margin        First_Dynamic
347   LatexType     Bib_Environment
348   LatexName     thebibliography
349   Category      BackMatter
350   NextNoIndent  1
351   ToggleIndent  Never
352   LeftMargin    MM
353   ParSkip       0.4
354   ItemSep       0
355   TopSep        0.7
356   BottomSep     0.7
357   ParSep        0.5
358   Align         Block
359   AlignPossible Block, Left
360   LabelType     Bibliography
361   LabelString   "References"
362   LabelBottomSep 1.2
363   LabelFont
364     Series      Bold
365     Size        Larger
366   EndFont
367   TocLevel      1
368   IsTocCaption  0
369   Argument listpreamble:1
370     LabelString    "Bib preamble"
371     MenuString     "Bibliography Preamble"
372     Tooltip        "LaTeX code to be inserted before the first bibliography item"
373     PassThru       1
374     Font
375       Family typewriter
376       Color latex
377     EndFont
378   EndArgument
379 End
380
381
382 Style Biography
383   LaTeXType     Environment
384   LaTeXName     IEEEbiography
385   Category      BackMatter
386   Argument 1
387     LabelString "Photo"
388     Tooltip     "Optional photo for biography"
389   EndArgument
390   Argument 2
391     Mandatory   1
392     AutoInsert  1
393     LabelString "Name"
394     Tooltip     "Name of the author"
395   EndArgument
396   Align Block
397   TextFont
398     Size        Small
399   EndFont
400 End
401
402
403 Style Biography_without_photo
404   CopyStyle     Biography
405   LaTeXName     IEEEbiographynophoto
406   ResetArgs     1
407   Argument 1
408     Mandatory   1
409     AutoInsert  1
410     LabelString "Name"
411     Tooltip     "Name of the author"
412   EndArgument
413 End
414
415 Style BiographyNoPhoto
416   ObsoletedBy   Biography_without_photo
417 End
418
419
420 Style Proof
421   Category      Reasoning
422   Margin        First_Dynamic
423   LatexType     Environment
424   LatexName     IEEEproof
425   NextNoIndent  1
426   Argument 1
427     LabelString "Alternative Proof String"
428     Tooltip     "An alternative proof string"
429   EndArgument
430   LabelSep      xx
431   ParIndent     MMM
432   ParSkip       0.4
433   ItemSep       0.2
434   TopSep        0.7
435   BottomSep     0.7
436   ParSep        0.3
437   Align         Block
438   AlignPossible Block, Left
439   LabelType     Static
440   LabelString   "Proof."
441   EndLabelType  Filled_Box
442   Font
443     Shape       Up
444     Size        Normal
445   EndFont
446   LabelFont
447     Shape       Italic
448   EndFont
449 End