]> git.lyx.org Git - lyx.git/blob - lib/layouts/apa6.layout
Convert layout files to current format
[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 54
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         Argument 1
356                 LabelString   "Short Title|S"
357                 Tooltip       "The caption as it appears in the list of figures/tables"
358         EndArgument
359         HTMLStyle
360                 div.float-caption {
361                         text-align: center;
362                         border: 2px solid black;
363                         padding: 1ex;
364                         margin: 1ex;
365                 }
366         EndHTMLStyle
367         HTMLAttr "class='float-caption float-caption-centered'"
368 End
369
370
371 Style FitFigure
372         LatexName             fitfigure
373         LatexType             Command
374 End
375
376
377 Style FitBitmap
378         LatexName             fitbitmap
379         LatexType             Command
380 End
381
382
383 Input stdsections.inc
384 Input stdstarsections.inc
385 Input stdinsets.inc
386
387 Input stdfloats.inc
388 Input stdcounters.inc
389
390 NoStyle Part
391 NoCounter part
392 NoStyle Part*
393 NoStyle Chapter
394 NoCounter chapter
395 NoStyle Chapter*
396 NoStyle Section*
397 NoStyle Subsection*
398 NoStyle Subsubsection*
399 NoStyle Paragraph*
400 NoStyle Subparagraph*
401
402
403 Style Section
404         LabelType             No_Label
405         Align                 Center
406         Font
407           Series              Bold
408           Size                Huge
409         EndFont
410         TocLevel              1
411 End
412
413
414 Style Subsection
415         LabelType             No_Label
416         Font
417           Series              Bold
418           Size                Larger
419         EndFont
420         TocLevel              2
421 End
422
423
424 Style Subsubsection
425         LabelType             No_Label
426         Font
427           Series              Bold
428           Size                Large
429         EndFont
430         TocLevel              3
431 End
432
433
434 Style Paragraph
435         LabelType             No_Label
436         Font
437           Series              Bold
438           Size                Normal
439         EndFont
440         TocLevel              4
441 End
442
443
444 Style Subparagraph
445         LabelType             No_Label
446         Font
447           Series              Bold
448           Size                Normal
449           Shape               Italic
450         EndFont
451         TocLevel              5
452 End
453
454
455 Style Itemize
456         Category              List
457         Margin                Static
458         LatexType             Item_Environment
459         LatexName             APAitemize
460         NextNoIndent          1
461         ToggleIndent          Never
462         LeftMargin            MMN
463         LabelSep              xx
464         ItemSep               0.2
465         TopSep                0.7
466         BottomSep             0.7
467         ParSep                0.3
468         Align                 Block
469         AlignPossible         Block, Left
470         LabelType             Itemize
471         LabelString           "*"
472         Argument item:1
473                 LabelString   "Custom Item|s"
474                 Tooltip       "A customized item string"
475         EndArgument
476 End
477
478
479 Style Enumerate
480         Category              List
481         Margin                Static
482         LatexType             Item_Environment
483         LatexName             APAenumerate
484         NextNoIndent          1
485         ToggleIndent          Never
486         LeftMargin            MMN
487         LabelSep              xx
488         ParSkip               0.0
489         ItemSep               0.2
490         TopSep                0.7
491         BottomSep             0.7
492         ParSep                0.3
493         Align                 Block
494         AlignPossible         Block, Left
495         LabelType             Enumerate
496         RefPrefix             enu
497         Argument item:1
498                 LabelString   "Custom Item|s"
499                 Tooltip       "A customized item string"
500         EndArgument
501 End
502
503
504 Style Seriate
505         Category              List
506         Margin                Static
507         LatexType             Item_Environment
508         LatexName             seriate
509         NextNoIndent          1
510         LeftMargin            MMN
511         LabelSep              x
512         ParSkip               0.0
513         ItemSep               0.9
514         TopSep                0.5
515         BottomSep             0.5
516         ParSep                0.0
517         Align                 Block
518         AlignPossible         Block, Left
519         LabelType             Static
520         LabelCounter          enumii
521         LabelString           "(\alph{enumii})"
522         LabelStringAppendix   "(\alph{enumii})"
523         RefPrefix             ser
524 End