]> git.lyx.org Git - lyx.git/blob - lib/layouts/IEEEtran.layout
IEEEtran-CompSoc.layout: force plain layout
[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 InsetLayout Flex:Paragraph_Start
229   LyxType       custom
230   LatexType     command
231   LaTeXName     IEEEPARstart
232   LabelString   "Paragraph Start"
233   Argument 1
234     Mandatory   1
235     AutoInsert  1
236     LabelString "First Char"
237     Tooltip     "First character of first word"
238   EndArgument
239   Font
240     Size        Small
241   EndFont
242 End
243
244
245 Style Appendices
246   Margin        Dynamic
247   LatexType     Command
248   LatexName     appendices
249   Category      BackMatter
250   KeepEmpty     1
251   ParSkip       0.4
252   Align         Block
253   LabelSep      xx
254   LabelType     Static
255   LabelString   "Appendices"
256   LabelFont
257     Series      Bold
258     Color       Green
259   EndFont
260 End
261
262 Style Appendix
263   CopyStyle     Appendices
264   LatexName     appendix
265   LabelString   "Appendix"
266   Argument 1
267     LabelString "Short Title"
268     Tooltip     "Short title for the appendix"
269   EndArgument
270 End
271
272
273 Style Bibliography
274   Margin        First_Dynamic
275   LatexType     Bib_Environment
276   LatexName     thebibliography
277   Category      BackMatter
278   NextNoIndent  1
279   LeftMargin    MM
280   ParSkip       0.4
281   ItemSep       0
282   TopSep        0.7
283   BottomSep     0.7
284   ParSep        0.5
285   Align         Block
286   AlignPossible Block, Left
287   LabelType     Bibliography
288   LabelString   "References"
289   LabelBottomSep 1.2
290   LabelFont
291     Series      Bold
292     Size        Larger
293   EndFont
294 End
295
296
297 Style Biography
298   LaTeXType     Environment
299   LaTeXName     IEEEbiography
300   Category      BackMatter
301   Argument 1
302     LabelString "Photo"
303     Tooltip     "Optional photo for biography"
304   EndArgument
305   Argument 2
306     Mandatory   1
307     AutoInsert  1
308     LabelString "Name"
309     Tooltip     "Name of the author"
310   EndArgument
311   Align Block
312   TextFont
313     Size        Small
314   EndFont
315 End
316
317
318 Style Biography_without_photo
319   CopyStyle     Biography
320   LaTeXName     IEEEbiographynophoto
321   ResetArgs     1
322   Argument 1
323     Mandatory   1
324     AutoInsert  1
325     LabelString "Name"
326     Tooltip     "Name of the author"
327   EndArgument
328 End
329
330 Style BiographyNoPhoto
331   ObsoletedBy   Biography_without_photo
332 End
333
334
335 Style Proof
336   Category      Reasoning
337   Margin        First_Dynamic
338   LatexType     Environment
339   LatexName     IEEEproof
340   NextNoIndent  1
341   Argument 1
342     LabelString "Alternative Proof String"
343     Tooltip     "An alternative proof string"
344   EndArgument
345   LabelSep      xx
346   ParIndent     MMM
347   ParSkip       0.4
348   ItemSep       0.2
349   TopSep        0.7
350   BottomSep     0.7
351   ParSep        0.3
352   Align         Block
353   AlignPossible Block, Left
354   LabelType     Static
355   LabelString   "Proof."
356   EndLabelType  Filled_Box
357   Font
358     Shape       Up
359     Size        Normal
360   EndFont
361   LabelFont
362     Shape       Italic
363   EndFont
364 End