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