]> git.lyx.org Git - features.git/blob - lib/layouts/apa.layout
ad794e5c59a508f73c019f2484b312c28f670b79
[features.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 85
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         DocBookTag            para
39 End
40
41
42 Style Title
43         Category              FrontMatter
44         LatexName             title
45         LatexType             Command
46         InTitle               1
47         Font
48           Size                Huge
49         EndFont
50         Align                 Center
51         HTMLTitle             true
52         DocBookTag            title
53         DocBookTagType        paragraph
54         DocBookInInfo         maybe
55 End
56
57
58 Style RightHeader
59         LatexName             rightheader
60         LatexType             Command
61         InTitle               1
62         Font
63           Size                Small
64           Shape               SmallCaps
65         EndFont
66         Labeltype             Static
67         LabelString           "Right header:"
68         Labelsep              M
69         LabelFont
70           Series              Bold
71           Size                Small
72         EndFont
73         Align                 Right
74 End
75
76
77 Style Abstract
78         Category              FrontMatter
79         LatexName             abstract
80         LatexType             Command
81         InTitle               1
82         Font
83           Size                Small
84         EndFont
85         Margin                Dynamic
86         LeftMargin            MMN
87         RightMargin           MMN
88         Align                 Block
89         AlignPossible         Block, Left, Right, Center
90         Labeltype             Static
91         LabelString           "Abstract:"
92         Labelsep              M
93         LabelFont
94           Series              Bold
95           Size                Small
96         EndFont
97         DocBookAbstract       true
98         DocBookInInfo         always
99         DocBookWrapperTag     abstract
100         DocBookWrapperMergeWithPrevious    true
101         DocBookTag            para
102 End
103
104
105 Style ShortTitle
106         Category              FrontMatter
107         LatexName             shorttitle
108         LatexType             Command
109         InTitle               1
110         Align                 Left
111         AlignPossible         Left, Right, Center
112         Margin                Dynamic
113         Labeltype             Static
114         LabelString           "Short title:"
115         Labelsep              M
116         Font
117           Shape               SmallCaps
118           Size                Small
119         EndFont
120         LabelFont
121           Series              Bold
122           Size                Small
123           Shape               Up
124         EndFont
125         DocBookTag            titleabbrev
126         DocBookTagType        paragraph
127         DocBookInInfo         maybe
128 End
129
130
131 Style Author
132         Category              FrontMatter
133         LatexName             author
134         LatexType             Command
135         InTitle               1
136         Align                 Center
137         AlignPossible         Left, Right, Center
138         TopSep                0.5
139         BottomSep             0.5
140         Font
141           Shape               Italic
142           Size                Small
143         EndFont
144         DocBookTag            personname
145         DocBookTagType        paragraph
146         DocBookWrapperTag     author
147         DocBookWrapperTagType inline
148         DocBookInInfo         always
149 End
150
151
152 Style TwoAuthors
153         Category              FrontMatter
154         LatexName             twoauthors
155         LatexType             Command
156         InTitle               1
157 End
158
159
160 Style ThreeAuthors
161         Category              FrontMatter
162         LatexName             threeauthors
163         LatexType             Command
164         InTitle               1
165 End
166
167
168 Style FourAuthors
169         Category              FrontMatter
170         LatexName             fourauthors
171         LatexType             Command
172         InTitle               1
173 End
174
175
176 Style Affiliation
177         Category              FrontMatter
178         LatexName             affiliation
179         LatexType             Command
180         InTitle               1
181         Margin                Dynamic
182         ParSkip               0.4
183         BottomSep             1.5
184         TopSep                1.5
185         ParSep                1.5
186         Align                 Left
187         AlignPossible         Block, Left, Right, Center
188         LabelType             Static
189         LabelString           "Affiliation:"
190         Labelsep              M
191         LabelFont
192           Series              Bold
193           Size                Small
194         EndFont
195         DocBookTag                        affiliation
196         DocBookWrapperTag                 author
197         DocBookWrapperMergeWithPrevious   true
198         DocBookItemTag                    orgname
199         DocBookItemTagType                paragraph
200         DocBookInInfo                     always
201 End
202
203
204 Style TwoAffiliations
205         Category              FrontMatter
206         LatexName             twoaffiliations
207         LatexType             Command
208         InTitle               1
209 End
210
211
212 Style ThreeAffiliations
213         Category              FrontMatter
214         LatexName             threeaffiliations
215         LatexType             Command
216         InTitle               1
217 End
218
219
220 Style FourAffiliations
221         Category              FrontMatter
222         LatexName             fouraffiliations
223         LatexType             Command
224         InTitle               1
225 End
226
227
228 Style Copyright
229         LatexName             ccoppy
230         LatexType             Command
231         InTitle               1
232 End
233
234
235 Style Acknowledgements
236         Category              BackMatter
237         LatexName             acknowledgements
238         LatexType             Command
239         Font
240           Size                Small
241         EndFont
242         Margin                Dynamic
243         LeftMargin            MMN
244         RightMargin           MMN
245         Align                 Block
246         AlignPossible         Block, Left, Right, Center
247         Labeltype             Static
248         LabelString           "Acknowledgements:"
249         Labelsep              M
250         LabelFont
251           Series              Bold
252           Size                Small
253         EndFont
254         DocBookTag            para
255         DocBookWrapperTag     acknowledgements
256 End
257
258
259 Style Acknowledgments
260         ObsoletedBy           Acknowledgements
261 End
262
263
264 Style ThickLine
265         LatexName             thickline
266         LatexType             Command
267         KeepEmpty             1
268 End
269
270
271
272 Input stdlayouts.inc
273
274
275 InsetLayout Caption:Centered
276         LabelString          standard
277         LaTeXType            command
278         LatexName            centeredcaption
279         NeedProtect          1
280         MultiPar             false
281         Argument 1
282                 LabelString   "Short Title|S"
283                 Tooltip       "The caption as it appears in the list of figures/tables"
284                 InsertCotext  1
285         EndArgument
286         HTMLStyle
287                 div.float-caption {
288                         text-align: center;
289                         border: 2px solid black;
290                         padding: 1ex;
291                         margin: 1ex;
292                 }
293         EndHTMLStyle
294         HTMLAttr "class='float-caption float-caption-centered'"
295 End
296
297
298 Style FitFigure
299         LatexName             fitfigure
300         LatexType             Command
301 End
302
303
304 Style FitBitmap
305         LatexName             fitbitmap
306         LatexType             Command
307 End
308
309
310 Input stdsections.inc
311 Input stdstarsections.inc
312 Input stdinsets.inc
313
314 Input stdfloats.inc
315 Input stdcounters.inc
316
317 NoStyle Part
318 NoCounter part
319 NoStyle Part*
320 NoStyle Chapter
321 NoCounter chapter
322 NoStyle Chapter*
323 NoStyle Section*
324 NoStyle Subsection*
325 NoStyle Subsubsection*
326 NoStyle Paragraph*
327 NoStyle Subparagraph*
328
329
330 Style Section
331         LabelType             No_Label
332         Align                 Center
333         Font
334           Series              Bold
335           Size                Huge
336         EndFont
337         TocLevel              1
338 End
339
340
341 Style Subsection
342         LabelType             No_Label
343         Font
344           Series              Bold
345           Size                Larger
346         EndFont
347         TocLevel              2
348 End
349
350
351 Style Subsubsection
352         LabelType             No_Label
353         Font
354           Series              Bold
355           Size                Large
356         EndFont
357         TocLevel              3
358 End
359
360
361 Style Paragraph
362         LabelType             No_Label
363         Font
364           Series              Bold
365           Size                Normal
366         EndFont
367         TocLevel              4
368 End
369
370
371 Style Subparagraph
372         LabelType             No_Label
373         Font
374           Series              Bold
375           Size                Normal
376           Shape               Italic
377         EndFont
378         TocLevel 5
379 End
380
381
382 Style Itemize
383         Category              List
384         Margin                Static
385         LatexType             Item_Environment
386         LatexName             APAitemize
387         NextNoIndent          1
388         ToggleIndent          Never
389         LeftMargin            MMN
390         LabelSep              xx
391         ItemSep               0.2
392         TopSep                0.7
393         BottomSep             0.7
394         ParSep                0.3
395         Align                 Block
396         AlignPossible         Block, Left
397         LabelType             Itemize
398         Argument item:1
399                 LabelString   "Custom Item|s"
400                 Tooltip       "A customized item string"
401         EndArgument
402         Argument listpreamble:1
403                 LabelString    "List preamble"
404                 MenuString     "List Preamble"
405                 Tooltip        "LaTeX code to be inserted before the first item"
406                 PassThru       1
407                 Font
408                         Family typewriter
409                         Color latex
410                 EndFont
411         EndArgument
412         DocBookTag            itemizedlist
413         DocBookItemTag        listitem
414         DocBookItemInnerTag   para
415 End
416
417
418 Style Enumerate
419         Category              List
420         Margin                Static
421         LatexType             Item_Environment
422         LatexName             APAenumerate
423         NextNoIndent          1
424         ToggleIndent          Never
425         LeftMargin            MMN
426         LabelSep              xx
427         ParSkip               0.0
428         ItemSep               0.2
429         TopSep                0.7
430         BottomSep             0.7
431         ParSep                0.3
432         Align                 Block
433         AlignPossible         Block, Left
434         LabelType             Enumerate
435         RefPrefix             enu
436         Argument item:1
437                 LabelString   "Custom Item|s"
438                 Tooltip       "A customized item string"
439         EndArgument
440         Argument listpreamble:1
441                 LabelString    "List preamble"
442                 MenuString     "List Preamble"
443                 Tooltip        "LaTeX code to be inserted before the first item"
444                 PassThru       1
445                 Font
446                         Family typewriter
447                         Color latex
448                 EndFont
449         EndArgument
450         DocBookTag            orderedlist
451         DocBookItemTag        listitem
452         DocBookItemInnerTag   para
453 End
454
455
456 Style Seriate
457         Category              List
458         Margin                Static
459         LatexType             Item_Environment
460         LatexName             seriate
461         NextNoIndent          1
462         LeftMargin            MMN
463         LabelSep              x
464         ParSkip               0.0
465         ItemSep               0.9
466         TopSep                0.5
467         BottomSep             0.5
468         ParSep                0.0
469         Align                 Block
470         AlignPossible         Block, Left
471         LabelType             Static
472         LabelCounter          enumii
473         LabelString           "(\alph{enumii})"
474         LabelStringAppendix   "(\alph{enumii})"
475         RefPrefix             ser
476         Argument listpreamble:1
477                 LabelString    "List preamble"
478                 MenuString     "List Preamble"
479                 Tooltip        "LaTeX code to be inserted before the first item"
480                 PassThru       1
481                 Font
482                         Family typewriter
483                         Color latex
484                 EndFont
485         EndArgument
486 End
487