]> git.lyx.org Git - lyx.git/blob - lib/layouts/iopart.layout
Allow literate documents other than noweb to work out of the box. Currently
[lyx.git] / lib / layouts / iopart.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[iopart]{article (IOP)}
3 # IOP article textclass definition file.
4 # Author: Uwe Stöhr (uwestoehr@web.de)
5
6 Format 11
7
8 Columns                 1
9 Sides                   1
10 SecNumDepth             3
11 TocDepth                3
12 DefaultStyle            Standard
13
14 ClassOptions
15         FontSize                10|12
16 end
17
18 Preamble
19         \usepackage{iopams}
20         \usepackage{setstack}
21 EndPreamble
22
23 # This is just to show how to declare the default font.
24 # The defaults are exactly those shown here.
25 DefaultFont
26         Family                  Roman
27         Series                  Medium
28         Shape                   Up
29         Size                    Normal
30         Color                   None
31 EndFont
32
33
34 Style Standard
35         Margin                  Static
36         LatexType               Paragraph
37         LatexName               dummy
38         ParIndent               MM
39         ParSkip                 0.4
40         Align                   Block
41         AlignPossible           Block, Left, Right, Center
42         LabelType               No_Label
43 End
44
45
46 Input stdcounters.inc
47 Input stdfloats.inc
48 Input stdlists.inc
49 Input stdsections.inc
50 Input stdstarsections.inc
51
52 NoStyle Chapter
53 NoStyle Chapter*
54
55 Style Title
56         Margin                  Static
57         LatexType               Command
58         LatexName               title
59         Category                FrontMatter
60         InTitle                 1
61         OptionalArgs            1
62         ParSkip                 0.4
63         ItemSep                 0
64         TopSep                  0
65         BottomSep               1
66         ParSep                  1
67         Align                   Center
68         LabelType               No_Label
69         Font
70           Size                  Largest
71         EndFont
72 End
73
74
75 Style Review
76         CopyStyle               Title
77         LatexName               review
78 End
79
80
81 Style Topical
82         CopyStyle               Title
83         LatexName               topical
84 End
85
86
87 Style Comment
88         CopyStyle               Title
89         LatexName               comment
90 End
91
92
93 Style Note
94         CopyStyle               Title
95         LatexName               note
96 End
97
98
99 Style Paper
100         CopyStyle               Title
101         LatexName               paper
102 End
103
104
105 Style Prelim
106         CopyStyle               Title
107         LatexName               prelim
108 End
109
110
111 Style Rapid
112         CopyStyle               Title
113         LatexName               rapid
114 End
115
116
117 Style Letter
118         CopyStyle               Title
119         OptionalArgs            0
120         LatexName               letter
121 End
122
123
124 Style Author
125         Margin                  Static
126         LatexType               Command
127         LatexName               author
128         Category                FrontMatter
129         InTitle                 1
130         LabelSep                xxx
131         ParSkip                 0.4
132         TopSep                  1.3
133         BottomSep               0.7
134         ParSep                  0.7
135         Align                   Center
136         LabelType               No_Label
137         Font
138           Size                  Large
139         EndFont
140 End
141
142
143 Style Address
144         Margin                  Static
145         LatexType               Command
146         LatexName               address
147         Category                FrontMatter
148         InTitle                 1
149         ParSkip                 0.4
150         Align                   Center
151         LabelType               No_Label
152         Font
153           Shape                 Italic
154         EndFont
155 End
156
157
158 Style Email
159         CopyStyle               Address
160         LatexName               ead
161         BottomSep               0.5
162         Font
163           Shape                 Up
164         EndFont
165 End
166
167
168 Style Abstract
169         Margin                  Static
170         LatexType               Environment
171         LatexName               abstract
172         Category                FrontMatter
173         InTitle                 1
174         NextNoIndent            1
175         LeftMargin              MMM
176         RightMargin             MMM
177         ParIndent               MM
178         ItemSep                 0
179         TopSep                  0.7
180         BottomSep               0.7
181         ParSep                  0
182         Align                   Block
183         AlignPossible           Block, Left, Center, Right
184         LabelType               Top_Environment
185         LabelString             "Abstract"
186         LabelBottomSep          0.5
187         Font
188           Size                  Small
189         EndFont
190         LabelFont
191           Series                Bold
192           Size                  Large
193         EndFont
194 End
195
196
197 Style Keywords
198         Margin                  Dynamic
199         LatexType               Command
200         LatexName               "noindent{\it Keywords\/}: "
201         Category                FrontMatter
202         InTitle                 1
203         ParSkip                 0.4
204         BottomSep               0.5
205         Align                   Left
206         LabelSep                xx
207         LabelType               Static
208         LabelString             "Keywords:"
209         LabelFont
210           Color                 Green
211           Series                Bold
212         EndFont
213 End
214
215
216 Style PACS
217         CopyStyle               Keywords
218         LatexName               pacs
219         LabelString             "Physics and Astronomy Classification System number:"
220 End
221
222
223 Style MSC
224         CopyStyle               Keywords
225         LatexName               ams
226         LabelString             "Mathematics Subject Classification number:"
227 End
228
229
230 Style submitto
231         CopyStyle               Keywords
232         LatexName               submitto
233         LabelString             "submit to paper:"
234 End
235
236
237 Style Acknowledgments
238         Margin                  Dynamic
239         LatexType               Command
240         LatexName               ack{}
241         Category                BackMatter
242         NeedProtect             1
243         NextNoIndent            1
244         KeepEmpty               1
245         LabelSep                xxx
246         ParSkip                 0.4
247         TopSep                  0.7
248         BottomSep               0.4
249         Align                   Block
250         LabelType               Static
251         LabelString             "Acknowledgments"
252         Font
253           Series              Bold
254           Size                Normal
255         EndFont
256 End
257
258
259 Style "Bibliography (plain)"
260         Margin                  First_Dynamic
261         LatexType               Bib_Environment
262         LatexName               thebibliography
263         Category                BackMatter
264         NextNoIndent            1
265         LeftMargin              MM
266         ParSkip                 0.4
267         ItemSep                 0
268         TopSep                  0.7
269         BottomSep               0.7
270         ParSep                  0.5
271         Align                   Block
272         AlignPossible           Block, Left
273         LabelType               Bibliography
274         LabelString             "References"
275         LabelBottomSep          1.2
276         LabelFont
277           Series                Bold
278           Size                  Larger
279         EndFont
280 End
281
282
283 Style "Bibliography heading"
284         CopyStyle               Section
285         LatexName               section*{References}
286         Category                BackMatter
287         KeepEmpty               1
288         LabelType               Static
289         LabelString             "References"
290 End
291
292