]> git.lyx.org Git - lyx.git/blob - lib/layouts/apa.layout
a5b081250564f9d0c8d0d3df83d7f8e442daee1d
[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 54
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         EndArgument
260         HTMLStyle
261                 div.float-caption {
262                         text-align: center;
263                         border: 2px solid black;
264                         padding: 1ex;
265                         margin: 1ex;
266                 }
267         EndHTMLStyle
268         HTMLAttr "class='float-caption float-caption-centered'"
269 End
270
271
272 Style FitFigure
273         LatexName             fitfigure
274         LatexType             Command
275 End
276
277
278 Style FitBitmap
279         LatexName             fitbitmap
280         LatexType             Command
281 End
282
283
284 Input stdsections.inc
285 Input stdstarsections.inc
286 Input stdinsets.inc
287
288 Input stdfloats.inc
289 Input stdcounters.inc
290
291 NoStyle Part
292 NoCounter part
293 NoStyle Part*
294 NoStyle Chapter
295 NoCounter chapter
296 NoStyle Chapter*
297 NoStyle Section*
298 NoStyle Subsection*
299 NoStyle Subsubsection*
300 NoStyle Paragraph*
301 NoStyle Subparagraph*
302
303
304 Style Section
305         LabelType             No_Label
306         Align                 Center
307         Font
308           Series              Bold
309           Size                Huge
310         EndFont
311                 TocLevel 1
312 End
313
314
315 Style Subsection
316         LabelType             No_Label
317         Font
318           Series              Bold
319           Size                Larger
320         EndFont
321                 TocLevel 2
322 End
323
324
325 Style Subsubsection
326         LabelType             No_Label
327         Font
328           Series              Bold
329           Size                Large
330         EndFont
331                 TocLevel 3
332 End
333
334
335 Style Paragraph
336         LabelType             No_Label
337         Font
338           Series              Bold
339           Size                Normal
340         EndFont
341                 TocLevel 4
342 End
343
344
345 Style Subparagraph
346         LabelType             No_Label
347         Font
348           Series              Bold
349           Size                Normal
350           Shape               Italic
351         EndFont
352                 TocLevel 5
353 End
354
355
356 Style Itemize
357         Category              List
358         Margin                Static
359         LatexType             Item_Environment
360         LatexName             APAitemize
361         NextNoIndent          1
362         ToggleIndent          Never
363         LeftMargin            MMN
364         LabelSep              xx
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             Itemize
372         Argument item:1
373                 LabelString   "Custom Item|s"
374                 Tooltip       "A customized item string"
375         EndArgument
376 End
377
378
379 Style Enumerate
380         Category              List
381         Margin                Static
382         LatexType             Item_Environment
383         LatexName             APAenumerate
384         NextNoIndent          1
385         ToggleIndent          Never
386         LeftMargin            MMN
387         LabelSep              xx
388         ParSkip               0.0
389         ItemSep               0.2
390         TopSep                0.7
391         BottomSep             0.7
392         ParSep                0.3
393         Align                 Block
394         AlignPossible         Block, Left
395         LabelType             Enumerate
396         RefPrefix             enu
397         Argument item:1
398                 LabelString   "Custom Item|s"
399                 Tooltip       "A customized item string"
400         EndArgument
401 End
402
403
404 Style Seriate
405         Category              List
406         Margin                Static
407         LatexType             Item_Environment
408         LatexName             seriate
409         NextNoIndent          1
410         LeftMargin            MMN
411         LabelSep              x
412         ParSkip               0.0
413         ItemSep               0.9
414         TopSep                0.5
415         BottomSep             0.5
416         ParSep                0.0
417         Align                 Block
418         AlignPossible         Block, Left
419         LabelType             Static
420         LabelCounter          enumii
421         LabelString           "(\alph{enumii})"
422         LabelStringAppendix   "(\alph{enumii})"
423         RefPrefix             ser
424 End
425