]> git.lyx.org Git - lyx.git/blob - lib/layouts/apa.layout
Merge remote-tracking branch 'origin/master' into features/latexargs
[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         Argument 1
248                 LabelString   "Short Title"
249                 Shortcut      S
250                 Tooltip       "The Caption as it appears in the List of Figures/Tables"
251         EndArgument
252         LabelFont
253           Series              Bold
254         EndFont
255         LatexName             centeredcaption
256         Align                 Center
257 End
258
259
260 Style FitFigure
261         LatexName             fitfigure
262         LatexType             Command
263 End
264
265
266 Style FitBitmap
267         LatexName             fitbitmap
268         LatexType             Command
269 End
270
271
272 Input stdsections.inc
273 Input stdstarsections.inc
274 Input stdinsets.inc
275
276 Input stdfloats.inc
277 Input stdcounters.inc
278
279 NoStyle Part
280 NoCounter part
281 NoStyle Part*
282 NoStyle Chapter
283 NoCounter chapter
284 NoStyle Chapter*
285 NoStyle Section*
286 NoStyle Subsection*
287 NoStyle Subsubsection*
288 NoStyle Paragraph*
289 NoStyle Subparagraph*
290
291
292 Style Section
293         LabelType             No_Label
294         Align                 Center
295         Font
296           Series              Bold
297           Size                Huge
298         EndFont
299                 TocLevel 1
300 End
301
302
303 Style Subsection
304         LabelType             No_Label
305         Font
306           Series              Bold
307           Size                Larger
308         EndFont
309                 TocLevel 2
310 End
311
312
313 Style Subsubsection
314         LabelType             No_Label
315         Font
316           Series              Bold
317           Size                Large
318         EndFont
319                 TocLevel 3
320 End
321
322
323 Style Paragraph
324         LabelType             No_Label
325         Font
326           Series              Bold
327           Size                Normal
328         EndFont
329                 TocLevel 4
330 End
331
332
333 Style Subparagraph
334         LabelType             No_Label
335         Font
336           Series              Bold
337           Size                Normal
338           Shape               Italic
339         EndFont
340                 TocLevel 5
341 End
342
343
344 Style Itemize
345         Margin                Static
346         LatexType             Item_Environment
347         LatexName             APAitemize
348         NextNoIndent          1
349         LeftMargin            MMN
350         LabelSep              xx
351         ItemSep               0.2
352         TopSep                0.7
353         BottomSep             0.7
354         ParSep                0.3
355         Align                 Block
356         AlignPossible         Block, Left
357         LabelType             Itemize
358 End
359
360
361 Style Enumerate
362         Margin                Static
363         LatexType             Item_Environment
364         LatexName             APAenumerate
365         NextNoIndent          1
366         LeftMargin            MMN
367         LabelSep              xx
368         ParSkip               0.0
369         ItemSep               0.2
370         TopSep                0.7
371         BottomSep             0.7
372         ParSep                0.3
373         Align                 Block
374         AlignPossible         Block, Left
375         LabelType             Enumerate
376         RefPrefix             enu
377 End
378
379
380 Style Seriate
381         Margin                Static
382         LatexType             Item_Environment
383         LatexName             seriate
384         NextNoIndent          1
385         LeftMargin            MMN
386         LabelSep              x
387         ParSkip               0.0
388         ItemSep               0.9
389         TopSep                0.5
390         BottomSep             0.5
391         ParSep                0.0
392         Align                 Block
393         AlignPossible         Block, Left
394         LabelType             Counter
395         LabelCounter          enumii
396         LabelString           "(\alph{enumii})"
397         LabelStringAppendix   "(\alph{enumii})"
398         RefPrefix             ser
399 End
400