]> git.lyx.org Git - lyx.git/blob - lib/layouts/apa.layout
f631428d93a7a497a68791789aaa85c8508eff96
[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 68
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         Category              MainText
27         LatexName             dummy
28         LatexType             Paragraph
29         Margin                Static
30         ParIndent             MM
31         ParSkip               0.4
32         ParSep                0.4
33         TopSep                1.0
34         BottomSep             1.0
35         Align                 Block
36         AlignPossible         Block, Left, Right, Center
37         LabelType             No_Label
38 End
39
40
41 Style Title
42         Category              FrontMatter
43         LatexName             title
44         LatexType             Command
45         InTitle               1
46         Font
47           Size                Huge
48         EndFont
49         Align                 Center
50         HTMLTitle             true
51 End
52
53
54 Style RightHeader
55         LatexName             rightheader
56         LatexType             Command
57         InTitle               1
58         Font
59           Size                Small
60           Shape               SmallCaps
61         EndFont
62         Labeltype             Static
63         LabelString           "Right header:"
64         Labelsep              M
65         LabelFont
66           Series              Bold
67           Size                Small
68         EndFont
69         Align                 Right
70 End
71
72
73 Style Abstract
74         Category              FrontMatter
75         LatexName             abstract
76         LatexType             Command
77         InTitle               1
78         Font
79           Size                Small
80         EndFont
81         Margin                Dynamic
82         LeftMargin            MMN
83         RightMargin           MMN
84         Align                 Block
85         AlignPossible         Block, Left, Right, Center
86         Labeltype             Static
87         LabelString           "Abstract:"
88         Labelsep              M
89         LabelFont
90           Series              Bold
91           Size                Small
92         EndFont
93 End
94
95
96 Style ShortTitle
97         Category              FrontMatter
98         LatexName             shorttitle
99         LatexType             Command
100         InTitle               1
101         Align                 Left
102         AlignPossible         Left, Right, Center
103         Margin                Dynamic
104         Labeltype             Static
105         LabelString           "Short title:"
106         Labelsep              M
107         Font
108           Shape               SmallCaps
109           Size                Small
110         EndFont
111         LabelFont
112           Series              Bold
113           Size                Small
114           Shape               Up
115         EndFont
116 End
117
118
119 Style Author
120         Category              FrontMatter
121         LatexName             author
122         LatexType             Command
123         InTitle               1
124         Align                 Center
125         AlignPossible         Left, Right, Center
126         TopSep                0.5
127         BottomSep             0.5
128         Font
129           Shape               Italic
130           Size                Small
131         EndFont
132 End
133
134
135 Style TwoAuthors
136         Category              FrontMatter
137         LatexName             twoauthors
138         LatexType             Command
139         InTitle               1
140 End
141
142
143 Style ThreeAuthors
144         Category              FrontMatter
145         LatexName             threeauthors
146         LatexType             Command
147         InTitle               1
148 End
149
150
151 Style FourAuthors
152         Category              FrontMatter
153         LatexName             fourauthors
154         LatexType             Command
155         InTitle               1
156 End
157
158
159 Style Affiliation
160         Category              FrontMatter
161         LatexName             affiliation
162         LatexType             Command
163         InTitle               1
164         Margin                Dynamic
165         ParSkip               0.4
166         BottomSep             1.5
167         TopSep                1.5
168         ParSep                1.5
169         Align                 Left
170         AlignPossible         Block, Left, Right, Center
171         LabelType             Static
172         LabelString           "Affiliation:"
173         Labelsep              M
174         LabelFont
175           Series              Bold
176           Size                Small
177         EndFont
178 End
179
180
181 Style TwoAffiliations
182         Category              FrontMatter
183         LatexName             twoaffiliations
184         LatexType             Command
185         InTitle               1
186 End
187
188
189 Style ThreeAffiliations
190         Category              FrontMatter
191         LatexName             threeaffiliations
192         LatexType             Command
193         InTitle               1
194 End
195
196
197 Style FourAffiliations
198         Category              FrontMatter
199         LatexName             fouraffiliations
200         LatexType             Command
201         InTitle               1
202 End
203
204
205 Style Copyright
206         LatexName             ccoppy
207         LatexType             Command
208         InTitle               1
209 End
210
211
212 Style Acknowledgements
213         Category              BackMatter
214         LatexName             acknowledgements
215         LatexType             Command
216         Font
217           Size                Small
218         EndFont
219         Margin                Dynamic
220         LeftMargin            MMN
221         RightMargin           MMN
222         Align                 Block
223         AlignPossible         Block, Left, Right, Center
224         Labeltype             Static
225         LabelString           "Acknowledgements:"
226         Labelsep              M
227         LabelFont
228           Series              Bold
229           Size                Small
230         EndFont
231 End
232
233
234 Style Acknowledgments
235         ObsoletedBy           Acknowledgements
236 End
237
238
239 Style ThickLine
240         LatexName             thickline
241         LatexType             Command
242         KeepEmpty             1
243 End
244
245
246
247 Input stdlayouts.inc
248
249
250 InsetLayout Caption:Centered
251         LabelString          standard
252         LaTeXType            command
253         LatexName            centeredcaption
254         NeedProtect          1
255         MultiPar             false
256         Argument 1
257                 LabelString   "Short Title|S"
258                 Tooltip       "The caption as it appears in the list of figures/tables"
259                 InsertCotext  1
260         EndArgument
261         HTMLStyle
262                 div.float-caption {
263                         text-align: center;
264                         border: 2px solid black;
265                         padding: 1ex;
266                         margin: 1ex;
267                 }
268         EndHTMLStyle
269         HTMLAttr "class='float-caption float-caption-centered'"
270 End
271
272
273 Style FitFigure
274         LatexName             fitfigure
275         LatexType             Command
276 End
277
278
279 Style FitBitmap
280         LatexName             fitbitmap
281         LatexType             Command
282 End
283
284
285 Input stdsections.inc
286 Input stdstarsections.inc
287 Input stdinsets.inc
288
289 Input stdfloats.inc
290 Input stdcounters.inc
291
292 NoStyle Part
293 NoCounter part
294 NoStyle Part*
295 NoStyle Chapter
296 NoCounter chapter
297 NoStyle Chapter*
298 NoStyle Section*
299 NoStyle Subsection*
300 NoStyle Subsubsection*
301 NoStyle Paragraph*
302 NoStyle Subparagraph*
303
304
305 Style Section
306         LabelType             No_Label
307         Align                 Center
308         Font
309           Series              Bold
310           Size                Huge
311         EndFont
312         TocLevel              1
313 End
314
315
316 Style Subsection
317         LabelType             No_Label
318         Font
319           Series              Bold
320           Size                Larger
321         EndFont
322         TocLevel              2
323 End
324
325
326 Style Subsubsection
327         LabelType             No_Label
328         Font
329           Series              Bold
330           Size                Large
331         EndFont
332         TocLevel              3
333 End
334
335
336 Style Paragraph
337         LabelType             No_Label
338         Font
339           Series              Bold
340           Size                Normal
341         EndFont
342         TocLevel              4
343 End
344
345
346 Style Subparagraph
347         LabelType             No_Label
348         Font
349           Series              Bold
350           Size                Normal
351           Shape               Italic
352         EndFont
353         TocLevel 5
354 End
355
356
357 Style Itemize
358         Category              List
359         Margin                Static
360         LatexType             Item_Environment
361         LatexName             APAitemize
362         NextNoIndent          1
363         ToggleIndent          Never
364         LeftMargin            MMN
365         LabelSep              xx
366         ItemSep               0.2
367         TopSep                0.7
368         BottomSep             0.7
369         ParSep                0.3
370         Align                 Block
371         AlignPossible         Block, Left
372         LabelType             Itemize
373         Argument item:1
374                 LabelString   "Custom Item|s"
375                 Tooltip       "A customized item string"
376         EndArgument
377 End
378
379
380 Style Enumerate
381         Category              List
382         Margin                Static
383         LatexType             Item_Environment
384         LatexName             APAenumerate
385         NextNoIndent          1
386         ToggleIndent          Never
387         LeftMargin            MMN
388         LabelSep              xx
389         ParSkip               0.0
390         ItemSep               0.2
391         TopSep                0.7
392         BottomSep             0.7
393         ParSep                0.3
394         Align                 Block
395         AlignPossible         Block, Left
396         LabelType             Enumerate
397         RefPrefix             enu
398         Argument item:1
399                 LabelString   "Custom Item|s"
400                 Tooltip       "A customized item string"
401         EndArgument
402 End
403
404
405 Style Seriate
406         Category              List
407         Margin                Static
408         LatexType             Item_Environment
409         LatexName             seriate
410         NextNoIndent          1
411         LeftMargin            MMN
412         LabelSep              x
413         ParSkip               0.0
414         ItemSep               0.9
415         TopSep                0.5
416         BottomSep             0.5
417         ParSep                0.0
418         Align                 Block
419         AlignPossible         Block, Left
420         LabelType             Static
421         LabelCounter          enumii
422         LabelString           "(\alph{enumii})"
423         LabelStringAppendix   "(\alph{enumii})"
424         RefPrefix             ser
425 End
426