]> git.lyx.org Git - lyx.git/blob - lib/layouts/IEEEtran.layout
b921397203cd7ff36e31484ddaf4baf8c5f627ba
[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 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     AutoInsert  1
169     LabelString "Left Side"
170     Tooltip     "Left side of the header line"
171   EndArgument
172   Font
173     Size        Small
174   EndFont
175   Preamble
176   % protect \markboth against an old bug reintroduced in babel >= 3.8g
177   \let\oldforeign@language\foreign@language
178   \DeclareRobustCommand{\foreign@language}[1]{%
179     \lowercase{\oldforeign@language{#1}}}
180   EndPreamble
181 End
182
183
184 Style MarkBoth
185   ObsoletedBy   Page_headings
186 End
187
188
189 Style Publication_ID
190   CopyStyle     Special_Paper_Notice
191   LatexName     IEEEpubid
192   Font
193     Shape       Up
194     Size        Small
195   EndFont
196 End
197
198
199 Style Abstract
200   Margin        First_Dynamic
201   LatexType     Environment
202   LatexName     abstract
203   Category      FrontMatter
204   TopSep        0.7
205   BottomSep     0.7
206   ParSkip       0.4
207   LabelType     Static
208   LabelString   "Abstract---"
209   Font
210     Series      Bold
211     Size        small
212   EndFont
213   LabelFont
214     Shape       Italic
215     Series      Bold
216     Size        Small
217   EndFont
218 End
219
220
221 Style Keywords
222   CopyStyle     Abstract
223   LatexName     IEEEkeywords
224   LabelString   "Index Terms---"
225 End
226
227
228 Style Appendices
229   Margin        Dynamic
230   LatexType     Command
231   LatexName     appendices
232   Category      BackMatter
233   KeepEmpty     1
234   ParSkip       0.4
235   Align         Block
236   LabelSep      xx
237   LabelType     Static
238   LabelString   "Appendices"
239   LabelFont
240     Series      Bold
241     Color       Green
242   EndFont
243 End
244
245 Style Appendix
246   CopyStyle     Appendices
247   LatexName     appendix
248   LabelString   "Appendix"
249   Argument 1
250     LabelString "Short Title"
251     Tooltip     "Short title for the appendix"
252   EndArgument
253 End
254
255
256 Style Bibliography
257   Margin        First_Dynamic
258   LatexType     Bib_Environment
259   LatexName     thebibliography
260   Category      BackMatter
261   NextNoIndent  1
262   LeftMargin    MM
263   ParSkip       0.4
264   ItemSep       0
265   TopSep        0.7
266   BottomSep     0.7
267   ParSep        0.5
268   Align         Block
269   AlignPossible Block, Left
270   LabelType     Bibliography
271   LabelString   "References"
272   LabelBottomSep 1.2
273   LabelFont
274     Series      Bold
275     Size        Larger
276   EndFont
277 End
278
279
280 Style Biography
281   LaTeXType     Environment
282   LaTeXName     IEEEbiography
283   Category      BackMatter
284   Argument 1
285     LabelString "Photo"
286     Tooltip     "Optional photo for biography"
287   EndArgument
288   Argument 2
289     Mandatory   1
290     AutoInsert  1
291     LabelString "Name"
292     Tooltip     "Name of the author"
293   EndArgument
294   Align Block
295   TextFont
296     Size        Small
297   EndFont
298 End
299
300
301 Style Biography_without_photo
302   CopyStyle     Biography
303   LaTeXName     IEEEbiographynophoto
304   ResetArgs     1
305   Argument 1
306     Mandatory   1
307     AutoInsert  1
308     LabelString "Name"
309     Tooltip     "Name of the author"
310   EndArgument
311 End
312
313 Style BiographyNoPhoto
314   ObsoletedBy   Biography_without_photo
315 End
316
317
318 Style Proof
319   Category      Reasoning
320   Margin        First_Dynamic
321   LatexType     Environment
322   LatexName     IEEEproof
323   NextNoIndent  1
324   Argument 1
325     LabelString "Alternative Proof String"
326     Tooltip     "An alternative proof string"
327   EndArgument
328   LabelSep      xx
329   ParIndent     MMM
330   ParSkip       0.4
331   ItemSep       0.2
332   TopSep        0.7
333   BottomSep     0.7
334   ParSep        0.3
335   Align         Block
336   AlignPossible Block, Left
337   LabelType     Static
338   LabelString   "Proof."
339   EndLabelType  Filled_Box
340   Font
341     Shape       Up
342     Size        Normal
343   EndFont
344   LabelFont
345     Shape       Italic
346   EndFont
347 End