]> git.lyx.org Git - lyx.git/blob - lib/layouts/iopart.layout
Update layouts
[lyx.git] / lib / layouts / iopart.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[iopart,amsmath.sty,amssymb.sty,iopams.sty,setstack.sty]{Institute of Physics (IOP)}
3 #  \DeclareCategory{Articles}
4 # IOP article textclass definition file.
5 # Author: Uwe Stöhr (uwestoehr@web.de)
6
7 Format 92
8
9 Columns                 1
10 Sides                   1
11 SecNumDepth             3
12 TocDepth                3
13 DefaultStyle            Standard
14
15 ClassOptions
16         FontSize        10|12
17 end
18
19 Preamble
20         \usepackage{iopams}
21         \usepackage{setstack}
22 EndPreamble
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         DocBookTag  para
46 End
47
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
56 NoStyle Chapter
57 NoCounter chapter
58 NoStyle Chapter*
59
60 Style Title
61         Margin          Static
62         LatexType       Command
63         LatexName       title
64         Category        FrontMatter
65         InTitle         1
66         Argument 1
67           LabelString   "Short Title|S"
68           Tooltip       "Short title that will appear in header line"
69           InsertCotext   1
70         EndArgument
71         ParSkip         0.4
72         ItemSep         0
73         TopSep          0
74         BottomSep       1
75         ParSep          1
76         Align           Center
77         LabelType       No_Label
78         Font
79           Size          Largest
80         EndFont
81         HTMLTitle       true
82         DocBookTag      title
83         DocBookTagType  paragraph
84         DocBookInInfo   maybe
85 End
86
87
88 Style Review
89         CopyStyle       Title
90         LatexName       review
91 End
92
93
94 Style Topical
95         CopyStyle       Title
96         LatexName       topical
97 End
98
99
100 Style Comment
101         CopyStyle       Title
102         LatexName       comment
103 End
104
105
106 Style Note
107         CopyStyle       Title
108         LatexName       note
109 End
110
111
112 Style Paper
113         CopyStyle       Title
114         LatexName       paper
115 End
116
117
118 Style Prelim
119         CopyStyle       Title
120         LatexName       prelim
121 End
122
123
124 Style Rapid
125         CopyStyle       Title
126         LatexName       rapid
127 End
128
129
130 Style Letter
131         CopyStyle       Title
132         ResetArgs       1
133         LatexName       letter
134 End
135
136
137 Style Author
138         Margin          Static
139         LatexType       Command
140         LatexName       author
141         Category        FrontMatter
142         InTitle         1
143         LabelSep        xxx
144         ParSkip         0.4
145         TopSep          1.3
146         BottomSep       0.7
147         ParSep          0.7
148         Align           Center
149         LabelType       No_Label
150         Font
151           Size          Large
152         EndFont
153         DocBookTag            personname
154         DocBookTagType        paragraph
155         DocBookWrapperTag     author
156         DocBookWrapperTagType inline
157         DocBookInInfo         always
158 End
159
160
161 Style Address
162         Margin          Static
163         LatexType       Command
164         LatexName       address
165         Category        FrontMatter
166         InTitle         1
167         ParSkip         0.4
168         Align           Center
169         LabelType       No_Label
170         Font
171           Shape         Italic
172         EndFont
173         DocBookTag            address
174         DocBookTagType        paragraph
175         DocBookWrapperTag     author
176         DocBookWrapperTagType inline
177         DocBookWrapperMergeWithPrevious    true
178         DocBookInInfo         always
179 End
180
181
182 Style Email
183         CopyStyle       Address
184         LatexName       ead
185         BottomSep       0.5
186         Font
187           Shape         Up
188         EndFont
189         DocBookTag            email
190         DocBookTagType        paragraph
191         DocBookWrapperTag     author
192         DocBookWrapperTagType inline
193         DocBookWrapperMergeWithPrevious    true
194         DocBookInInfo         always
195 End
196
197
198 Style Abstract
199         Margin          Static
200         LatexType       Environment
201         LatexName       abstract
202         Category        FrontMatter
203         InTitle         1
204         NextNoIndent    1
205         LeftMargin      MMM
206         RightMargin     MMM
207         ParIndent       MM
208         ItemSep         0
209         TopSep          0.7
210         BottomSep       0.7
211         ParSep          0
212         Align           Block
213         AlignPossible   Block, Left, Center, Right
214         LabelType       Above
215         LabelString     "Abstract"
216         LabelBottomSep  0.5
217         Font
218           Size          Small
219         EndFont
220         LabelFont
221           Series        Bold
222           Size          Large
223         EndFont
224         DocBookAbstract       true
225         DocBookInInfo         always
226         DocBookWrapperTag     abstract
227         DocBookWrapperMergeWithPrevious    true
228         DocBookTag            para
229 End
230
231
232 Style Keywords
233         Margin          Dynamic
234         LatexType       Command
235         LatexName       "noindent{\it Keywords\/}: "
236         Category        FrontMatter
237         InTitle         1
238         ParSkip         0.4
239         BottomSep       0.5
240         Align           Left
241         LabelSep        xx
242         LabelType       Static
243         LabelString     "Keywords:"
244         LabelFont
245           Color         textlabel2
246           Series        Bold
247         EndFont
248         DocBookTag         keyword
249         DocBookTagType     paragraph
250         DocBookWrapperTag  keywordset
251         DocBookInInfo      always
252 End
253
254
255 Style PACS
256         CopyStyle       Keywords
257         LatexName       pacs
258         LabelString     "Physics and Astronomy Classification System number:"
259         DocBookTag          subjectset
260         DocBookAttr         role='pacs'
261         DocBookTagType      block
262         DocBookItemWrapperTag      subject
263         DocBookItemWrapperTagType  paragraph
264         DocBookItemTag      subjectterm
265         DocBookItemTagType  inline
266         DocBookWrapperTag   NONE
267         DocBookWrapperAttr  ""
268         DocBookInInfo       always
269 End
270
271
272 Style MSC
273         CopyStyle       Keywords
274         LatexName       ams
275         LabelString     "Mathematics Subject Classification number:"
276         DocBookTag          subjectset
277         DocBookAttr         role='msc'
278         DocBookTagType      block
279         DocBookItemWrapperTag      subject
280         DocBookItemWrapperTagType  paragraph
281         DocBookItemTag      subjectterm
282         DocBookItemTagType  inline
283         DocBookWrapperTag   NONE
284         DocBookWrapperAttr  ""
285         DocBookInInfo       always
286 End
287
288
289 Style submitto
290         CopyStyle       Keywords
291         LatexName       submitto
292         LabelString     "submit to paper:"
293 End
294
295
296 Style Acknowledgments
297         Margin          Dynamic
298         LatexType       Command
299         LatexName       ack{}
300         Category        BackMatter
301         NeedProtect     1
302         NextNoIndent    1
303         KeepEmpty       1
304         LabelSep        xxx
305         ParSkip         0.4
306         TopSep          0.7
307         BottomSep       0.4
308         Align           Block
309         LabelType       Static
310         LabelString     "Acknowledgments"
311         Font
312           Series        Bold
313           Size          Normal
314         EndFont
315         # TODO: For IOP, this is rather a title than a paragraph style. But it's not in the TOC, so not much can be done.
316         DocBookTag  para
317         DocBookAttr role='acknowledgments'
318 End
319
320
321 Style "Bibliography (plain)"
322         Margin          First_Dynamic
323         LatexType       Bib_Environment
324         LatexName       thebibliography
325         Category        BackMatter
326         NextNoIndent    1
327         ToggleIndent    Never
328         LeftMargin      MM
329         ParSkip         0.4
330         ItemSep         0
331         TopSep          0.7
332         BottomSep       0.7
333         ParSep          0.5
334         Align           Block
335         AlignPossible   Block, Left
336         LabelType       Bibliography
337         LabelString     "References"
338         LabelBottomSep  1.2
339         LabelFont
340           Series        Bold
341           Size          Larger
342         EndFont
343         TocLevel        1
344         IsTocCaption    0
345         Argument listpreamble:1
346           LabelString    "Bib preamble"
347           MenuString     "Bibliography Preamble"
348           Tooltip        "LaTeX code to be inserted before the first bibliography item"
349           PassThru       1
350           Font
351             Family typewriter
352             Color latex
353           EndFont
354         EndArgument
355 End
356
357
358 Style "Bibliography heading"
359         CopyStyle       Section
360         LatexName       section*{References}
361         Category        BackMatter
362         KeepEmpty       1
363         LabelType       Static
364         LabelString     "References"
365 End
366