]> git.lyx.org Git - lyx.git/blob - lib/layouts/apa6.layout
8df144972b1420594edd2172ffac71d8b02023ed
[lyx.git] / lib / layouts / apa6.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[apa6]{American Psychological Association (APA), v. 6}
3 #  \DeclareCategory{Articles}
4 # Author: Jacob Bishop <bishop.jacob@gmail.com> based on the apa 
5 # layout written by Randy Gobbel.
6 Format 68
7 Columns                 1
8 Sides                   1
9 PageStyle               Headers
10
11
12 ClassOptions
13         Other "man"
14         FontSize              10|11|12
15 End
16
17
18 Preamble
19 EndPreamble
20
21
22 Style Standard
23         Category              MainText
24         LatexName             dummy
25         LatexType             Paragraph
26         Margin                Static
27         ParIndent             MM
28         ParSkip               0.4
29         ParSep                0.4
30         TopSep                1.0
31         BottomSep             1.0
32         Align                 Block
33         AlignPossible         Block, Left, Right, Center
34         LabelType             No_Label
35 End
36
37
38 Style Title
39         Category              FrontMatter
40         LatexName             title
41         LatexType             Command
42         InTitle               1
43         Font
44           Size                Huge
45         EndFont
46         Align                 Center
47         HTMLTitle             true
48 End
49
50
51 Style ShortTitle
52         Category              FrontMatter
53         LatexName             shorttitle
54         LatexType             Command
55         InTitle               1
56         Align                 Left
57         AlignPossible         Left, Right, Center
58         Margin                Dynamic
59         Labeltype             Static
60         LabelString           "Short title:"
61         Labelsep              M
62         Font
63           Shape               SmallCaps
64           Size                Small
65         EndFont
66         LabelFont
67           Series              Bold
68           Size                Small
69           Shape               Up
70         EndFont
71 End
72
73
74 Style Author
75         Category              FrontMatter
76         LatexName             author
77         LatexType             Command
78         InTitle               1
79         Align                 Center
80         AlignPossible         Left, Right, Center
81         TopSep                0.5
82         BottomSep             0.5
83         Font
84           Shape               Italic
85           Size                Small
86         EndFont
87 End
88
89
90 Style TwoAuthors
91         Category              FrontMatter
92         LatexName             twoauthors
93         LatexType             Command
94         InTitle               1
95 End
96
97
98 Style ThreeAuthors
99         Category              FrontMatter
100         LatexName             threeauthors
101         LatexType             Command
102         InTitle               1
103 End
104
105
106 Style FourAuthors
107         Category              FrontMatter
108         LatexName             fourauthors
109         LatexType             Command
110         InTitle               1
111 End
112
113 Style FiveAuthors
114         Category              FrontMatter
115         LatexName             fiveauthors
116         LatexType             Command
117         InTitle               1
118 End
119
120 Style SixAuthors
121         Category              FrontMatter
122         LatexName             sixauthors
123         LatexType             Command
124         InTitle               1
125 End
126
127 Style LeftHeader
128         Category              FrontMatter
129         LatexName             leftheader
130         LatexType             Command
131         InTitle               1
132         Align                 Left
133         AlignPossible         Left, Right, Center
134         Margin                Dynamic
135         Labeltype             Static
136         LabelString           "Left header:"
137         Labelsep              M
138         Font
139           Size                Small
140           Shape               SmallCaps
141         EndFont
142         LabelFont
143           Series              Bold
144           Size                Small
145         EndFont
146 End
147
148
149 Style Affiliation
150         Category              FrontMatter
151         LatexName             affiliation
152         LatexType             Command
153         InTitle               1
154         Margin                Dynamic
155         ParSkip               0.4
156         BottomSep             1.0
157         TopSep                1.5
158         ParSep                1.5
159         Align                 Left
160         AlignPossible         Block, Left, Right, Center
161         LabelType             Static
162         LabelString           "Affiliation:"
163         Labelsep              M
164         LabelFont
165           Series              Bold
166           Size                Small
167         EndFont
168 End
169
170 Style TwoAffiliations
171         Category              FrontMatter
172         LatexName             twoaffiliations
173         LatexType             Command
174         InTitle               1
175 End
176
177 Style ThreeAffiliations
178         Category              FrontMatter
179         LatexName             threeaffiliations
180         LatexType             Command
181         InTitle               1
182 End
183
184 Style FourAffiliations
185         Category              FrontMatter
186         LatexName             fouraffiliations
187         LatexType             Command
188         InTitle               1
189 End
190
191 Style FiveAffiliations
192         Category              FrontMatter
193         LatexName             fiveaffiliations
194         LatexType             Command
195         InTitle               1
196 End
197
198 Style SixAffiliations
199         Category              FrontMatter
200         LatexName             sixaffiliations
201         LatexType             Command
202         InTitle               1
203 End
204
205
206 Style Note
207         Category              FrontMatter
208         LatexName             note
209         LatexType             Command
210         InTitle               1
211         Margin                Dynamic
212         ParSkip               0.4
213         BottomSep             1.5
214         TopSep                1.5
215         ParSep                1.5
216         Align                 Left
217         AlignPossible         Block, Left, Right, Center
218         LabelType             Static
219         LabelString           "Note:"
220         Labelsep              M
221         LabelFont
222           Series              Bold
223           Size                Small
224         EndFont
225 End
226
227
228 Style Abstract
229         Category              FrontMatter
230         LatexName             abstract
231         LatexType             Command
232         InTitle               1
233         Font
234           Size                Small
235         EndFont
236         Margin                Dynamic
237         LeftMargin            MMN
238         RightMargin           MMN
239         Align                 Block
240         AlignPossible         Block, Left, Right, Center
241         Labeltype             Static
242         LabelString           "Abstract:"
243         Labelsep              M
244         LabelFont
245           Series              Bold
246           Size                Small
247         EndFont
248 End
249
250 Style Keywords
251         Category              FrontMatter
252         LatexName             keywords
253         LatexType             Command
254         InTitle               1
255         Font
256           Size                Small
257         EndFont
258         Margin                Dynamic
259         LeftMargin            MMN
260         RightMargin           MMN
261         Align                 Block
262         AlignPossible         Block, Left, Right, Center
263         TopSep                0.8
264         BottomSep             0.8
265         Labeltype             Static
266         LabelString           "Keywords:"
267         Labelsep              M
268         LabelFont
269           Size                Small
270           Shape               Italic
271         EndFont
272 End
273
274 Style AuthorNote
275         Category              FrontMatter
276         LatexName             authornote
277         LatexType             Command
278         InTitle               1
279         Font
280           Size                Small
281         EndFont
282         Margin                Dynamic
283         ParSkip               0.4
284         BottomSep             1.5
285         TopSep                1.5
286         ParSep                1.5
287         Align                 Left
288         LeftMargin            MMN
289         RightMargin           MMN
290         Align                 Block
291         AlignPossible         Block, Left, Right, Center
292         Labeltype             Static
293         LabelString           "Author Note:"
294         Labelsep              M
295         LabelFont
296           Series              Bold
297           Size                Small
298         EndFont
299 End
300
301
302 Style Acknowledgments
303         ObsoletedBy           AuthorNote
304 End
305
306
307 Style Journal
308         Category              Preamble
309         LatexName             journal
310         LatexType             Command
311         InPreamble            1
312 End
313
314
315 Style Copyright
316         Category              Preamble
317         LatexName             ccoppy
318         LatexType             Command
319         InPreamble            1
320         Align                 Right
321 End
322
323
324 Style CopNum
325         Category              Preamble
326         LatexName             copnum
327         LatexType             Command
328         InPreamble            1
329         Align                 Right
330 End
331
332 Style Volume
333         Category              Preamble
334         LatexName             volume
335         LatexType             Command
336         InPreamble            1
337 End
338
339 Style ThickLine
340         LatexName             thickline
341         LatexType             Command
342         KeepEmpty             1
343 End
344
345
346
347 Input stdlayouts.inc
348
349
350 InsetLayout Caption:Centered
351         LabelString          standard
352         LaTeXType            command
353         LatexName            centeredcaption
354         NeedProtect          1
355         MultiPar             false
356         Argument 1
357                 LabelString   "Short Title|S"
358                 Tooltip       "The caption as it appears in the list of figures/tables"
359                 InsertCotext  1
360         EndArgument
361         HTMLStyle
362                 div.float-caption {
363                         text-align: center;
364                         border: 2px solid black;
365                         padding: 1ex;
366                         margin: 1ex;
367                 }
368         EndHTMLStyle
369         HTMLAttr "class='float-caption float-caption-centered'"
370 End
371
372
373 Style FitFigure
374         LatexName             fitfigure
375         LatexType             Command
376 End
377
378
379 Style FitBitmap
380         LatexName             fitbitmap
381         LatexType             Command
382 End
383
384
385 Input stdsections.inc
386 Input stdstarsections.inc
387 Input stdinsets.inc
388
389 Input stdfloats.inc
390 Input stdcounters.inc
391
392 NoStyle Part
393 NoCounter part
394 NoStyle Part*
395 NoStyle Chapter
396 NoCounter chapter
397 NoStyle Chapter*
398 NoStyle Section*
399 NoStyle Subsection*
400 NoStyle Subsubsection*
401 NoStyle Paragraph*
402 NoStyle Subparagraph*
403
404
405 Style Section
406         LabelType             No_Label
407         Align                 Center
408         Font
409           Series              Bold
410           Size                Huge
411         EndFont
412         TocLevel              1
413 End
414
415
416 Style Subsection
417         LabelType             No_Label
418         Font
419           Series              Bold
420           Size                Larger
421         EndFont
422         TocLevel              2
423 End
424
425
426 Style Subsubsection
427         LabelType             No_Label
428         Font
429           Series              Bold
430           Size                Large
431         EndFont
432         TocLevel              3
433 End
434
435
436 Style Paragraph
437         LabelType             No_Label
438         Font
439           Series              Bold
440           Size                Normal
441         EndFont
442         TocLevel              4
443 End
444
445
446 Style Subparagraph
447         LabelType             No_Label
448         Font
449           Series              Bold
450           Size                Normal
451           Shape               Italic
452         EndFont
453         TocLevel              5
454 End
455
456
457 Style Itemize
458         Category              List
459         Margin                Static
460         LatexType             Item_Environment
461         LatexName             APAitemize
462         NextNoIndent          1
463         ToggleIndent          Never
464         LeftMargin            MMN
465         LabelSep              xx
466         ItemSep               0.2
467         TopSep                0.7
468         BottomSep             0.7
469         ParSep                0.3
470         Align                 Block
471         AlignPossible         Block, Left
472         LabelType             Itemize
473         LabelString           "*"
474         Argument item:1
475                 LabelString   "Custom Item|s"
476                 Tooltip       "A customized item string"
477         EndArgument
478 End
479
480
481 Style Enumerate
482         Category              List
483         Margin                Static
484         LatexType             Item_Environment
485         LatexName             APAenumerate
486         NextNoIndent          1
487         ToggleIndent          Never
488         LeftMargin            MMN
489         LabelSep              xx
490         ParSkip               0.0
491         ItemSep               0.2
492         TopSep                0.7
493         BottomSep             0.7
494         ParSep                0.3
495         Align                 Block
496         AlignPossible         Block, Left
497         LabelType             Enumerate
498         RefPrefix             enu
499         Argument item:1
500                 LabelString   "Custom Item|s"
501                 Tooltip       "A customized item string"
502         EndArgument
503 End
504
505
506 Style Seriate
507         Category              List
508         Margin                Static
509         LatexType             Item_Environment
510         LatexName             seriate
511         NextNoIndent          1
512         LeftMargin            MMN
513         LabelSep              x
514         ParSkip               0.0
515         ItemSep               0.9
516         TopSep                0.5
517         BottomSep             0.5
518         ParSep                0.0
519         Align                 Block
520         AlignPossible         Block, Left
521         LabelType             Static
522         LabelCounter          enumii
523         LabelString           "(\alph{enumii})"
524         LabelStringAppendix   "(\alph{enumii})"
525         RefPrefix             ser
526 End