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