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