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