]> git.lyx.org Git - lyx.git/blob - lib/layouts/apa.layout
Update tex2lyx test files
[lyx.git] / lib / layouts / apa.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[apa,apacite.sty,endfloat.sty,endnotes.sty,flushend.sty,txfonts.sty]{American Psychological Association (APA)}
3 #  \DeclareCategory{Articles}
4 # Author: Randy Gobbel <gobbel@andrew.cmu.edu>
5
6 Format 40
7 Columns                 1
8 Sides                   1
9 PageStyle               Headers
10
11
12 ClassOptions
13         Other "man"
14         FontSize              6|8|10|12
15 End
16
17
18 Preamble
19         \helvetica
20         \author{Author} % hack around some bugs in apa.cls
21         \affiliation{Affiliation} % hack around some bugs in apa.cls
22 EndPreamble
23
24
25 Style Standard
26         LatexName             dummy
27         LatexType             Paragraph
28         Margin                Static
29         ParIndent             MM
30         ParSkip               0.4
31         ParSep                0.4
32         TopSep                1.0
33         BottomSep             1.0
34         Align                 Block
35         AlignPossible         Block, Left, Right, Center
36         LabelType             No_Label
37 End
38
39
40 Style Title
41         LatexName             title
42         LatexType             Command
43         InTitle               1
44         Font
45           Size                Huge
46         EndFont
47         Align                 Center
48         HTMLTitle             true
49 End
50
51
52 Style RightHeader
53         LatexName             rightheader
54         LatexType             Command
55         InTitle               1
56         Font
57           Size                Small
58           Shape               SmallCaps
59         EndFont
60         Labeltype             Static
61         LabelString           "Right header:"
62         Labelsep              M
63         LabelFont
64           Series              Bold
65           Size                Small
66         EndFont
67         Align                 Right
68 End
69
70
71 Style Abstract
72         LatexName             abstract
73         LatexType             Command
74         InTitle               1
75         Font
76           Size                Small
77         EndFont
78         Margin                Dynamic
79         LeftMargin            MMN
80         RightMargin           MMN
81         Align                 Block
82         AlignPossible         Block, Left, Right, Center
83         Labeltype             Static
84         LabelString           "Abstract:"
85         Labelsep              M
86         LabelFont
87           Series              Bold
88           Size                Small
89         EndFont
90 End
91
92
93 Style ShortTitle
94         LatexName             shorttitle
95         LatexType             Command
96         InTitle               1
97         Align                 Left
98         AlignPossible         Left, Right, Center
99         Margin                Dynamic
100         Labeltype             Static
101         LabelString           "Short title:"
102         Labelsep              M
103         Font
104           Shape               SmallCaps
105           Size                Small
106         EndFont
107         LabelFont
108           Series              Bold
109           Size                Small
110           Shape               Up
111         EndFont
112 End
113
114
115 Style Author
116         LatexName             author
117         LatexType             Command
118         InTitle               1
119         Align                 Center
120         AlignPossible         Left, Right, Center
121         TopSep                0.5
122         BottomSep             0.5
123         Font
124           Shape               Italic
125           Size                Small
126         EndFont
127 End
128
129
130 Style TwoAuthors
131         LatexName             twoauthors
132         LatexType             Command
133         InTitle               1
134 End
135
136
137 Style ThreeAuthors
138         LatexName             threeauthors
139         LatexType             Command
140         InTitle               1
141 End
142
143
144 Style FourAuthors
145         LatexName             fourauthors
146         LatexType             Command
147         InTitle               1
148 End
149
150
151 Style Affiliation
152         LatexName             affiliation
153         LatexType             Command
154         InTitle               1
155         Margin                Dynamic
156         ParSkip               0.4
157         BottomSep             1.5
158         TopSep                1.5
159         ParSep                1.5
160         Align                 Left
161         AlignPossible         Block, Left, Right, Center
162         LabelType             Static
163         LabelString           "Affiliation:"
164         Labelsep              M
165         LabelFont
166           Series              Bold
167           Size                Small
168         EndFont
169 End
170
171
172 Style TwoAffiliations
173         LatexName             twoaffiliations
174         LatexType             Command
175         InTitle               1
176 End
177
178
179 Style ThreeAffiliations
180         LatexName             threeaffiliations
181         LatexType             Command
182         InTitle               1
183 End
184
185
186 Style FourAffiliations
187         LatexName             fouraffiliations
188         LatexType             Command
189         InTitle               1
190 End
191
192
193 Style Copyright
194         LatexName             ccoppy
195         LatexType             Command
196         InTitle               1
197 End
198
199
200 Style Acknowledgements
201         LatexName             acknowledgements
202         LatexType             Command
203         Font
204           Size                Small
205         EndFont
206         Margin                Dynamic
207         LeftMargin            MMN
208         RightMargin           MMN
209         Align                 Block
210         AlignPossible         Block, Left, Right, Center
211         Labeltype             Static
212         LabelString           "Acknowledgements:"
213         Labelsep              M
214         LabelFont
215           Series              Bold
216           Size                Small
217         EndFont
218 End
219
220
221 Style Acknowledgments
222         ObsoletedBy           Acknowledgements
223 End
224
225
226 Style ThickLine
227         LatexName             thickline
228         LatexType             Command
229         KeepEmpty             1
230 End
231
232
233
234 Input stdlayouts.inc
235
236 Style CenteredCaption
237         Margin                First_Dynamic
238         LatexType             Command
239         LatexName             caption
240         NeedProtect           1
241         LabelSep              xx
242         ParSkip               0.4
243         TopSep                0.5
244         Align                 Center
245         LabelType             Sensitive
246         LabelString           "Senseless!"
247         OptionalArgs          1
248         LabelFont
249           Series              Bold
250         EndFont
251         LatexName             centeredcaption
252         Align                 Center
253 End
254
255
256 Style FitFigure
257         LatexName             fitfigure
258         LatexType             Command
259 End
260
261
262 Style FitBitmap
263         LatexName             fitbitmap
264         LatexType             Command
265 End
266
267
268 Input stdsections.inc
269 Input stdstarsections.inc
270 Input stdinsets.inc
271
272 Input stdfloats.inc
273 Input stdcounters.inc
274
275 NoStyle Part
276 NoCounter part
277 NoStyle Part*
278 NoStyle Chapter
279 NoCounter chapter
280 NoStyle Chapter*
281 NoStyle Section*
282 NoStyle Subsection*
283 NoStyle Subsubsection*
284 NoStyle Paragraph*
285 NoStyle Subparagraph*
286
287
288 Style Section
289         LabelType             No_Label
290         Align                 Center
291         Font
292           Series              Bold
293           Size                Huge
294         EndFont
295                 TocLevel 1
296 End
297
298
299 Style Subsection
300         LabelType             No_Label
301         Font
302           Series              Bold
303           Size                Larger
304         EndFont
305                 TocLevel 2
306 End
307
308
309 Style Subsubsection
310         LabelType             No_Label
311         Font
312           Series              Bold
313           Size                Large
314         EndFont
315                 TocLevel 3
316 End
317
318
319 Style Paragraph
320         LabelType             No_Label
321         Font
322           Series              Bold
323           Size                Normal
324         EndFont
325                 TocLevel 4
326 End
327
328
329 Style Subparagraph
330         LabelType             No_Label
331         Font
332           Series              Bold
333           Size                Normal
334           Shape               Italic
335         EndFont
336                 TocLevel 5
337 End
338
339
340 Style Itemize
341         Margin                Static
342         LatexType             Item_Environment
343         LatexName             APAitemize
344         NextNoIndent          1
345         LeftMargin            MMN
346         LabelSep              xx
347         ItemSep               0.2
348         TopSep                0.7
349         BottomSep             0.7
350         ParSep                0.3
351         Align                 Block
352         AlignPossible         Block, Left
353         LabelType             Itemize
354 End
355
356
357 Style Enumerate
358         Margin                Static
359         LatexType             Item_Environment
360         LatexName             APAenumerate
361         NextNoIndent          1
362         LeftMargin            MMN
363         LabelSep              xx
364         ParSkip               0.0
365         ItemSep               0.2
366         TopSep                0.7
367         BottomSep             0.7
368         ParSep                0.3
369         Align                 Block
370         AlignPossible         Block, Left
371         LabelType             Enumerate
372         RefPrefix             enu
373 End
374
375
376 Style Seriate
377         Margin                Static
378         LatexType             Item_Environment
379         LatexName             seriate
380         NextNoIndent          1
381         LeftMargin            MMN
382         LabelSep              x
383         ParSkip               0.0
384         ItemSep               0.9
385         TopSep                0.5
386         BottomSep             0.5
387         ParSep                0.0
388         Align                 Block
389         AlignPossible         Block, Left
390         LabelType             Counter
391         LabelCounter          enumii
392         LabelString           "(\alph{enumii})"
393         LabelStringAppendix   "(\alph{enumii})"
394         RefPrefix             ser
395 End
396