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