]> git.lyx.org Git - lyx.git/blob - lib/layouts/iopart.layout
DocBook: implement REVTeX.
[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 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 End
223
224
225 Style PACS
226         CopyStyle       Keywords
227         LatexName       pacs
228         LabelString     "Physics and Astronomy Classification System number:"
229         DocBookTag          subjectset
230         DocBookAttr         role='pacs'
231         DocBookTagType      block
232         DocBookItemWrapperTag      subject
233         DocBookItemWrapperTagType  paragraph
234         DocBookItemTag      subjectterm
235         DocBookItemTagType  inline
236         DocBookWrapperTag   NONE
237         DocBookWrapperAttr  ""
238         DocBookInInfo       always
239 End
240
241
242 Style MSC
243         CopyStyle       Keywords
244         LatexName       ams
245         LabelString     "Mathematics Subject Classification number:"
246         DocBookTag          subjectset
247         DocBookAttr         role='msc'
248         DocBookTagType      block
249         DocBookItemWrapperTag      subject
250         DocBookItemWrapperTagType  paragraph
251         DocBookItemTag      subjectterm
252         DocBookItemTagType  inline
253         DocBookWrapperTag   NONE
254         DocBookWrapperAttr  ""
255         DocBookInInfo       always
256 End
257
258
259 Style submitto
260         CopyStyle       Keywords
261         LatexName       submitto
262         LabelString     "submit to paper:"
263 End
264
265
266 Style Acknowledgments
267         Margin          Dynamic
268         LatexType       Command
269         LatexName       ack{}
270         Category        BackMatter
271         NeedProtect     1
272         NextNoIndent    1
273         KeepEmpty       1
274         LabelSep        xxx
275         ParSkip         0.4
276         TopSep          0.7
277         BottomSep       0.4
278         Align           Block
279         LabelType       Static
280         LabelString     "Acknowledgments"
281         Font
282           Series        Bold
283           Size          Normal
284         EndFont
285 End
286
287
288 Style "Bibliography (plain)"
289         Margin          First_Dynamic
290         LatexType       Bib_Environment
291         LatexName       thebibliography
292         Category        BackMatter
293         NextNoIndent    1
294         ToggleIndent    Never
295         LeftMargin      MM
296         ParSkip         0.4
297         ItemSep         0
298         TopSep          0.7
299         BottomSep       0.7
300         ParSep          0.5
301         Align           Block
302         AlignPossible   Block, Left
303         LabelType       Bibliography
304         LabelString     "References"
305         LabelBottomSep  1.2
306         LabelFont
307           Series        Bold
308           Size          Larger
309         EndFont
310         TocLevel        1
311         IsTocCaption    0
312         Argument listpreamble:1
313           LabelString    "Bib preamble"
314           MenuString     "Bibliography Preamble"
315           Tooltip        "LaTeX code to be inserted before the first bibliography item"
316           PassThru       1
317           Font
318             Family typewriter
319             Color latex
320           EndFont
321         EndArgument
322 End
323
324
325 Style "Bibliography heading"
326         CopyStyle       Section
327         LatexName       section*{References}
328         Category        BackMatter
329         KeepEmpty       1
330         LabelType       Static
331         LabelString     "References"
332 End
333