]> git.lyx.org Git - lyx.git/blob - lib/layouts/IEEEtran.layout
Merge branch 'master' of git.lyx.org:lyx
[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 41
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   Margin        Static
37   LatexType     Paragraph
38   LatexName     dummy
39   ParIndent     MM
40   ParSkip       0.4
41   Align         Block
42   AlignPossible Block, Left, Right, Center
43   LabelType     No_Label
44 End
45
46 Counter         theorem
47 End
48
49 Input stdcounters.inc
50 Input stdfloats.inc
51 Input stdlists.inc
52 Input stdsections.inc
53 Input stdstarsections.inc
54 Input stdlayouts.inc
55 Input lyxmacros.inc
56
57 ProvidesModule theorems-std
58 Input theorems.inc
59
60 NoStyle Chapter
61 NoCounter chapter
62 NoStyle Chapter*
63
64
65 Style Title
66   Margin        Static
67   LatexType     Command
68   LatexName     title
69   Category      FrontMatter
70   InTitle       1
71   ResetArgs     1
72   ParSkip       0.4
73   ItemSep       0
74   TopSep        0
75   BottomSep     1
76   ParSep        1
77   Align         Center
78   LabelType     No_Label
79   Font
80     Size        Largest
81   EndFont
82 End
83
84
85 InsetLayout Flex:IEEE_membership
86   LyxType       custom
87   LatexType     command
88   LatexName     IEEEmembership
89   LabelString   "IEEE membership"
90   Font
91     Shape       Italic
92     Size        Large
93     Misc        No_Emph
94     Misc        No_Noun
95     Misc        No_Bar
96   EndFont
97   LabelFont
98     Color       green
99     Size        Small
100   EndFont
101 End
102
103
104 InsetLayout Flex:Lowercase
105   CopyStyle     Flex:IEEE_membership
106   LatexType     command
107   LatexName     MakeLowercase
108   LabelString   "lowercase"
109   Font
110     Size        Normal
111   EndFont
112 End
113
114
115 Style Author
116   Margin        Static
117   LatexType     Command
118   Category      FrontMatter
119   InTitle       1
120   Argument 1
121     LabelString "Short Author|S"
122     Tooltip     "A short version of the author name"
123   EndArgument
124   LatexName     author
125   LabelSep      xxx
126   ParSkip       0.4
127   TopSep        1.3
128   BottomSep     0.7
129   ParSep        0.7
130   Align         Center
131   LabelType     No_Label
132   Font
133     Size        Large
134   EndFont
135 End
136
137
138 Style Special_Paper_Notice
139   CopyStyle     Title
140   LatexName     IEEEspecialpapernotice
141   InTitle       1
142   Font
143     Shape       Italic
144     Size        Large
145   EndFont
146 End
147
148
149 Style After_Title_Text
150   CopyStyle     Special_Paper_Notice
151   LatexName     IEEEaftertitletext
152   Font
153     Shape       Up
154     Size        Normal
155   EndFont
156 End
157
158
159 Style Page_headings
160   LaTeXType     Command
161   LaTeXName     markboth
162   Category      FrontMatter
163   InTitle       1
164   Align         Center
165   Argument 1
166     Mandatory   1
167     LabelString "Left Side"
168     Tooltip     "Left side of the header line"
169   EndArgument
170   Font
171     Size        Small
172   EndFont
173   Preamble
174   % protect \markboth against an old bug reintroduced in babel >= 3.8g
175   \let\oldforeign@language\foreign@language
176   \DeclareRobustCommand{\foreign@language}[1]{%
177     \lowercase{\oldforeign@language{#1}}}
178   EndPreamble
179 End
180
181
182 Style MarkBoth
183   ObsoletedBy   Page_headings
184 End
185
186
187 Style Publication_ID
188   CopyStyle     Special_Paper_Notice
189   LatexName     IEEEpubid
190   Font
191     Shape       Up
192     Size        Small
193   EndFont
194 End
195
196
197 Style Abstract
198   Margin        First_Dynamic
199   LatexType     Environment
200   LatexName     abstract
201   Category      FrontMatter
202   TopSep        0.7
203   BottomSep     0.7
204   ParSkip       0.4
205   LabelType     Static
206   LabelString   "Abstract---"
207   Font
208     Series      Bold
209     Size        small
210   EndFont
211   LabelFont
212     Shape       Italic
213     Series      Bold
214     Size        Small
215   EndFont
216 End
217
218
219 Style Keywords
220   CopyStyle     Abstract
221   LatexName     IEEEkeywords
222   LabelString   "Index Terms---"
223 End
224
225
226 Style Appendices
227   Margin        Dynamic
228   LatexType     Command
229   LatexName     appendices
230   Category      BackMatter
231   KeepEmpty     1
232   ParSkip       0.4
233   Align         Block
234   LabelSep      xx
235   LabelType     Static
236   LabelString   "Appendices"
237   LabelFont
238     Series      Bold
239     Color       Green
240   EndFont
241 End
242
243 Style Appendix
244   CopyStyle     Appendices
245   LatexName     appendix
246   LabelString   "Appendix"
247   Argument 1
248     LabelString "Short Title"
249     Tooltip     "Short title for the appendix"
250   EndArgument
251 End
252
253
254 Style Bibliography
255   Margin        First_Dynamic
256   LatexType     Bib_Environment
257   LatexName     thebibliography
258   Category      BackMatter
259   NextNoIndent  1
260   LeftMargin    MM
261   ParSkip       0.4
262   ItemSep       0
263   TopSep        0.7
264   BottomSep     0.7
265   ParSep        0.5
266   Align         Block
267   AlignPossible Block, Left
268   LabelType     Bibliography
269   LabelString   "References"
270   LabelBottomSep 1.2
271   LabelFont
272     Series      Bold
273     Size        Larger
274   EndFont
275 End
276
277
278 Style Biography
279   LaTeXType     Environment
280   LaTeXName     IEEEbiography
281   Category      BackMatter
282   Argument 1
283     LabelString "Photo"
284     Tooltip     "Optional photo for biography"
285   EndArgument
286   Argument 2
287     Mandatory   1
288     LabelString "Name"
289     Tooltip     "Name of the author"
290   EndArgument
291   Align Block
292   TextFont
293     Size        Small
294   EndFont
295 End
296
297
298 Style Biography_without_photo
299   CopyStyle     Biography
300   LaTeXName     IEEEbiographynophoto
301   ResetArgs     1
302   Argument 1
303     Mandatory   1
304     LabelString "Name"
305     Tooltip     "Name of the author"
306   EndArgument
307 End
308
309 Style BiographyNoPhoto
310   ObsoletedBy   Biography_without_photo
311 End
312
313
314 Style Proof
315   Category      Theorem
316   Margin        First_Dynamic
317   LatexType     Environment
318   LatexName     IEEEproof
319   NextNoIndent  1
320   Argument 1
321     LabelString "Alternative Proof String"
322     Tooltip     "An alternative proof string"
323   EndArgument
324   LabelSep      xx
325   ParIndent     MMM
326   ParSkip       0.4
327   ItemSep       0.2
328   TopSep        0.7
329   BottomSep     0.7
330   ParSep        0.3
331   Align         Block
332   AlignPossible Block, Left
333   LabelType     Static
334   LabelString   "Proof."
335   EndLabelType  Filled_Box
336   Font
337     Shape       Up
338     Size        Normal
339   EndFont
340   LabelFont
341     Shape       Italic
342   EndFont
343 End