]> git.lyx.org Git - features.git/blob - lib/layouts/iopart.layout
DocBook: implement title for layouts that previously missed it.
[features.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 85
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 End
154
155
156 Style Address
157         Margin          Static
158         LatexType       Command
159         LatexName       address
160         Category        FrontMatter
161         InTitle         1
162         ParSkip         0.4
163         Align           Center
164         LabelType       No_Label
165         Font
166           Shape         Italic
167         EndFont
168 End
169
170
171 Style Email
172         CopyStyle       Address
173         LatexName       ead
174         BottomSep       0.5
175         Font
176           Shape         Up
177         EndFont
178 End
179
180
181 Style Abstract
182         Margin          Static
183         LatexType       Environment
184         LatexName       abstract
185         Category        FrontMatter
186         InTitle         1
187         NextNoIndent    1
188         LeftMargin      MMM
189         RightMargin     MMM
190         ParIndent       MM
191         ItemSep         0
192         TopSep          0.7
193         BottomSep       0.7
194         ParSep          0
195         Align           Block
196         AlignPossible   Block, Left, Center, Right
197         LabelType       Above
198         LabelString     "Abstract"
199         LabelBottomSep  0.5
200         Font
201           Size          Small
202         EndFont
203         LabelFont
204           Series        Bold
205           Size          Large
206         EndFont
207 End
208
209
210 Style Keywords
211         Margin          Dynamic
212         LatexType       Command
213         LatexName       "noindent{\it Keywords\/}: "
214         Category        FrontMatter
215         InTitle         1
216         ParSkip         0.4
217         BottomSep       0.5
218         Align           Left
219         LabelSep        xx
220         LabelType       Static
221         LabelString     "Keywords:"
222         LabelFont
223           Color         Green
224           Series        Bold
225         EndFont
226         DocBookTag         keyword
227         DocBookTagType     paragraph
228         DocBookWrapperTag  keywordset
229         DocBookInInfo      always
230 End
231
232
233 Style PACS
234         CopyStyle       Keywords
235         LatexName       pacs
236         LabelString     "Physics and Astronomy Classification System number:"
237         DocBookTag          subjectset
238         DocBookAttr         role='pacs'
239         DocBookTagType      block
240         DocBookItemWrapperTag      subject
241         DocBookItemWrapperTagType  paragraph
242         DocBookItemTag      subjectterm
243         DocBookItemTagType  inline
244         DocBookWrapperTag   NONE
245         DocBookWrapperAttr  ""
246         DocBookInInfo       always
247 End
248
249
250 Style MSC
251         CopyStyle       Keywords
252         LatexName       ams
253         LabelString     "Mathematics Subject Classification number:"
254         DocBookTag          subjectset
255         DocBookAttr         role='msc'
256         DocBookTagType      block
257         DocBookItemWrapperTag      subject
258         DocBookItemWrapperTagType  paragraph
259         DocBookItemTag      subjectterm
260         DocBookItemTagType  inline
261         DocBookWrapperTag   NONE
262         DocBookWrapperAttr  ""
263         DocBookInInfo       always
264 End
265
266
267 Style submitto
268         CopyStyle       Keywords
269         LatexName       submitto
270         LabelString     "submit to paper:"
271 End
272
273
274 Style Acknowledgments
275         Margin          Dynamic
276         LatexType       Command
277         LatexName       ack{}
278         Category        BackMatter
279         NeedProtect     1
280         NextNoIndent    1
281         KeepEmpty       1
282         LabelSep        xxx
283         ParSkip         0.4
284         TopSep          0.7
285         BottomSep       0.4
286         Align           Block
287         LabelType       Static
288         LabelString     "Acknowledgments"
289         Font
290           Series        Bold
291           Size          Normal
292         EndFont
293         DocBookTag            para
294         DocBookWrapperTag     acknowledgements
295         DocBookSection        true
296 End
297
298
299 Style "Bibliography (plain)"
300         Margin          First_Dynamic
301         LatexType       Bib_Environment
302         LatexName       thebibliography
303         Category        BackMatter
304         NextNoIndent    1
305         ToggleIndent    Never
306         LeftMargin      MM
307         ParSkip         0.4
308         ItemSep         0
309         TopSep          0.7
310         BottomSep       0.7
311         ParSep          0.5
312         Align           Block
313         AlignPossible   Block, Left
314         LabelType       Bibliography
315         LabelString     "References"
316         LabelBottomSep  1.2
317         LabelFont
318           Series        Bold
319           Size          Larger
320         EndFont
321         TocLevel        1
322         IsTocCaption    0
323         Argument listpreamble:1
324           LabelString    "Bib preamble"
325           MenuString     "Bibliography Preamble"
326           Tooltip        "LaTeX code to be inserted before the first bibliography item"
327           PassThru       1
328           Font
329             Family typewriter
330             Color latex
331           EndFont
332         EndArgument
333 End
334
335
336 Style "Bibliography heading"
337         CopyStyle       Section
338         LatexName       section*{References}
339         Category        BackMatter
340         KeepEmpty       1
341         LabelType       Static
342         LabelString     "References"
343 End
344