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