]> git.lyx.org Git - lyx.git/blob - lib/layouts/IEEEtran.layout
Update tex2lyx test files
[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 40
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   OptionalArgs 0
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   OptionalArgs 1
121   LatexName    author
122   LabelSep     xxx
123   ParSkip      0.4
124   TopSep       1.3
125   BottomSep    0.7
126   ParSep       0.7
127   Align        Center
128   LabelType    No_Label
129   Font
130     Size       Large
131   EndFont
132 End
133
134
135 Style Special_Paper_Notice
136   CopyStyle    Title
137   LatexName    IEEEspecialpapernotice
138   InTitle      1
139   Font
140     Shape      Italic
141     Size       Large
142   EndFont
143 End
144
145
146 Style After_Title_Text
147   CopyStyle    Special_Paper_Notice
148   LatexName    IEEEaftertitletext
149   Font
150     Shape      Up
151     Size       Normal
152   EndFont
153 End
154
155
156 Style Page_headings
157   LaTeXType    Command
158   LaTeXName    markboth
159   Category     FrontMatter
160   InTitle      1
161   Align        Center
162   Font
163     Size       Small
164   EndFont
165   Preamble
166   % protect \markboth against an old bug reintroduced in babel >= 3.8g
167   \let\oldforeign@language\foreign@language
168   \DeclareRobustCommand{\foreign@language}[1]{%
169     \lowercase{\oldforeign@language{#1}}}
170   EndPreamble
171 End
172
173
174 Style MarkBoth
175   ObsoletedBy  Page_headings
176 End
177
178
179 Style Publication_ID
180   CopyStyle    Special_Paper_Notice
181   LatexName    IEEEpubid
182   Font
183     Shape      Up
184     Size       Small
185   EndFont
186 End
187
188
189 Style Abstract
190   Margin       First_Dynamic
191   LatexType    Environment
192   LatexName    abstract
193   Category     FrontMatter
194   TopSep       0.7
195   BottomSep    0.7
196   ParSkip      0.4
197   LabelType    Static
198   LabelString  "Abstract---"
199   Font
200     Series     Bold
201     Size       small
202   EndFont
203   LabelFont
204     Shape      Italic
205     Series     Bold
206     Size       Small
207   EndFont
208 End
209
210
211 Style Keywords
212   CopyStyle    Abstract
213   LatexName    IEEEkeywords
214   LabelString  "Index Terms---"
215 End
216
217
218 Style Appendices
219   Margin       Dynamic
220   LatexType    Command
221   LatexName    appendices
222   Category     BackMatter
223   KeepEmpty    1
224   ParSkip      0.4
225   Align        Block
226   LabelSep     xx
227   LabelType    Static
228   LabelString  "Appendices"
229   LabelFont
230     Series     Bold
231     Color      Green
232   EndFont
233 End
234
235 Style Appendix
236   CopyStyle    Appendices
237   LatexName    appendix
238   LabelString  "Appendix"
239   OptionalArgs 1
240 End
241
242
243 Style Bibliography
244   Margin       First_Dynamic
245   LatexType    Bib_Environment
246   LatexName    thebibliography
247   Category     BackMatter
248   NextNoIndent 1
249   LeftMargin   MM
250   ParSkip      0.4
251   ItemSep      0
252   TopSep       0.7
253   BottomSep    0.7
254   ParSep       0.5
255   Align        Block
256   AlignPossible Block, Left
257   LabelType    Bibliography
258   LabelString  "References"
259   LabelBottomSep 1.2
260   LabelFont
261     Series     Bold
262     Size       Larger
263   EndFont
264 End
265
266
267 Style Biography
268   LaTeXType    Environment
269   LaTeXName    IEEEbiography
270   Category     BackMatter
271   OptionalArgs 1
272   Align        Block
273   TextFont
274     Size       Small
275   EndFont
276 End
277
278
279 Style Biography_without_photo
280   CopyStyle    Biography
281   LaTeXName    IEEEbiographynophoto
282   OptionalArgs 0
283 End
284
285 Style BiographyNoPhoto
286   ObsoletedBy  Biography_without_photo
287 End
288
289
290 Style Proof
291   Category     Theorem
292   Margin       First_Dynamic
293   LatexType    Environment
294   LatexName    IEEEproof
295   NextNoIndent 1
296   OptionalArgs 1
297   LabelSep     xx
298   ParIndent    MMM
299   ParSkip      0.4
300   ItemSep      0.2
301   TopSep       0.7
302   BottomSep    0.7
303   ParSep       0.3
304   Align        Block
305   AlignPossible Block, Left
306   LabelType    Static
307   LabelString  "Proof."
308   EndLabelType Filled_Box
309   Font
310     Shape      Up
311     Size       Normal
312   EndFont
313   LabelFont
314     Shape      Italic
315   EndFont
316 End