]> git.lyx.org Git - features.git/blob - lib/layouts/iopart.layout
DocBook: implement keywords 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 End
46
47
48 Input stdcounters.inc
49 Input stdfloats.inc
50 Input stdlists.inc
51 Input stdsections.inc
52 Input stdstarsections.inc
53 Input stdlayouts.inc
54
55 NoStyle Chapter
56 NoCounter chapter
57 NoStyle Chapter*
58
59 Style Title
60         Margin          Static
61         LatexType       Command
62         LatexName       title
63         Category        FrontMatter
64         InTitle         1
65         Argument 1
66           LabelString   "Short Title|S"
67           Tooltip       "Short title that will appear in header line"
68           InsertCotext   1
69         EndArgument
70         ParSkip         0.4
71         ItemSep         0
72         TopSep          0
73         BottomSep       1
74         ParSep          1
75         Align           Center
76         LabelType       No_Label
77         Font
78           Size          Largest
79         EndFont
80         HTMLTitle       true
81 End
82
83
84 Style Review
85         CopyStyle       Title
86         LatexName       review
87 End
88
89
90 Style Topical
91         CopyStyle       Title
92         LatexName       topical
93 End
94
95
96 Style Comment
97         CopyStyle       Title
98         LatexName       comment
99 End
100
101
102 Style Note
103         CopyStyle       Title
104         LatexName       note
105 End
106
107
108 Style Paper
109         CopyStyle       Title
110         LatexName       paper
111 End
112
113
114 Style Prelim
115         CopyStyle       Title
116         LatexName       prelim
117 End
118
119
120 Style Rapid
121         CopyStyle       Title
122         LatexName       rapid
123 End
124
125
126 Style Letter
127         CopyStyle       Title
128         ResetArgs       1
129         LatexName       letter
130 End
131
132
133 Style Author
134         Margin          Static
135         LatexType       Command
136         LatexName       author
137         Category        FrontMatter
138         InTitle         1
139         LabelSep        xxx
140         ParSkip         0.4
141         TopSep          1.3
142         BottomSep       0.7
143         ParSep          0.7
144         Align           Center
145         LabelType       No_Label
146         Font
147           Size          Large
148         EndFont
149 End
150
151
152 Style Address
153         Margin          Static
154         LatexType       Command
155         LatexName       address
156         Category        FrontMatter
157         InTitle         1
158         ParSkip         0.4
159         Align           Center
160         LabelType       No_Label
161         Font
162           Shape         Italic
163         EndFont
164 End
165
166
167 Style Email
168         CopyStyle       Address
169         LatexName       ead
170         BottomSep       0.5
171         Font
172           Shape         Up
173         EndFont
174 End
175
176
177 Style Abstract
178         Margin          Static
179         LatexType       Environment
180         LatexName       abstract
181         Category        FrontMatter
182         InTitle         1
183         NextNoIndent    1
184         LeftMargin      MMM
185         RightMargin     MMM
186         ParIndent       MM
187         ItemSep         0
188         TopSep          0.7
189         BottomSep       0.7
190         ParSep          0
191         Align           Block
192         AlignPossible   Block, Left, Center, Right
193         LabelType       Above
194         LabelString     "Abstract"
195         LabelBottomSep  0.5
196         Font
197           Size          Small
198         EndFont
199         LabelFont
200           Series        Bold
201           Size          Large
202         EndFont
203 End
204
205
206 Style Keywords
207         Margin          Dynamic
208         LatexType       Command
209         LatexName       "noindent{\it Keywords\/}: "
210         Category        FrontMatter
211         InTitle         1
212         ParSkip         0.4
213         BottomSep       0.5
214         Align           Left
215         LabelSep        xx
216         LabelType       Static
217         LabelString     "Keywords:"
218         LabelFont
219           Color         Green
220           Series        Bold
221         EndFont
222         DocBookTag         keyword
223         DocBookTagType     paragraph
224         DocBookWrapperTag  keywordset
225         DocBookInInfo      always
226 End
227
228
229 Style PACS
230         CopyStyle       Keywords
231         LatexName       pacs
232         LabelString     "Physics and Astronomy Classification System number:"
233         DocBookTag          subjectset
234         DocBookAttr         role='pacs'
235         DocBookTagType      block
236         DocBookItemWrapperTag      subject
237         DocBookItemWrapperTagType  paragraph
238         DocBookItemTag      subjectterm
239         DocBookItemTagType  inline
240         DocBookWrapperTag   NONE
241         DocBookWrapperAttr  ""
242         DocBookInInfo       always
243 End
244
245
246 Style MSC
247         CopyStyle       Keywords
248         LatexName       ams
249         LabelString     "Mathematics Subject Classification number:"
250         DocBookTag          subjectset
251         DocBookAttr         role='msc'
252         DocBookTagType      block
253         DocBookItemWrapperTag      subject
254         DocBookItemWrapperTagType  paragraph
255         DocBookItemTag      subjectterm
256         DocBookItemTagType  inline
257         DocBookWrapperTag   NONE
258         DocBookWrapperAttr  ""
259         DocBookInInfo       always
260 End
261
262
263 Style submitto
264         CopyStyle       Keywords
265         LatexName       submitto
266         LabelString     "submit to paper:"
267 End
268
269
270 Style Acknowledgments
271         Margin          Dynamic
272         LatexType       Command
273         LatexName       ack{}
274         Category        BackMatter
275         NeedProtect     1
276         NextNoIndent    1
277         KeepEmpty       1
278         LabelSep        xxx
279         ParSkip         0.4
280         TopSep          0.7
281         BottomSep       0.4
282         Align           Block
283         LabelType       Static
284         LabelString     "Acknowledgments"
285         Font
286           Series        Bold
287           Size          Normal
288         EndFont
289         DocBookTag            para
290         DocBookWrapperTag     acknowledgements
291         DocBookSection        true
292 End
293
294
295 Style "Bibliography (plain)"
296         Margin          First_Dynamic
297         LatexType       Bib_Environment
298         LatexName       thebibliography
299         Category        BackMatter
300         NextNoIndent    1
301         ToggleIndent    Never
302         LeftMargin      MM
303         ParSkip         0.4
304         ItemSep         0
305         TopSep          0.7
306         BottomSep       0.7
307         ParSep          0.5
308         Align           Block
309         AlignPossible   Block, Left
310         LabelType       Bibliography
311         LabelString     "References"
312         LabelBottomSep  1.2
313         LabelFont
314           Series        Bold
315           Size          Larger
316         EndFont
317         TocLevel        1
318         IsTocCaption    0
319         Argument listpreamble:1
320           LabelString    "Bib preamble"
321           MenuString     "Bibliography Preamble"
322           Tooltip        "LaTeX code to be inserted before the first bibliography item"
323           PassThru       1
324           Font
325             Family typewriter
326             Color latex
327           EndFont
328         EndArgument
329 End
330
331
332 Style "Bibliography heading"
333         CopyStyle       Section
334         LatexName       section*{References}
335         Category        BackMatter
336         KeepEmpty       1
337         LabelType       Static
338         LabelString     "References"
339 End
340