]> git.lyx.org Git - features.git/blob - lib/layouts/apa.layout
DocBook: deploy fix for acknowledgements.
[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         DocBookSection        true
257 End
258
259
260 Style Acknowledgments
261         ObsoletedBy           Acknowledgements
262 End
263
264
265 Style ThickLine
266         LatexName             thickline
267         LatexType             Command
268         KeepEmpty             1
269 End
270
271
272
273 Input stdlayouts.inc
274
275
276 InsetLayout Caption:Centered
277         LabelString          standard
278         LaTeXType            command
279         LatexName            centeredcaption
280         NeedProtect          1
281         MultiPar             false
282         Argument 1
283                 LabelString   "Short Title|S"
284                 Tooltip       "The caption as it appears in the list of figures/tables"
285                 InsertCotext  1
286         EndArgument
287         HTMLStyle
288                 div.float-caption {
289                         text-align: center;
290                         border: 2px solid black;
291                         padding: 1ex;
292                         margin: 1ex;
293                 }
294         EndHTMLStyle
295         HTMLAttr "class='float-caption float-caption-centered'"
296 End
297
298
299 Style FitFigure
300         LatexName             fitfigure
301         LatexType             Command
302 End
303
304
305 Style FitBitmap
306         LatexName             fitbitmap
307         LatexType             Command
308 End
309
310
311 Input stdsections.inc
312 Input stdstarsections.inc
313 Input stdinsets.inc
314
315 Input stdfloats.inc
316 Input stdcounters.inc
317
318 NoStyle Part
319 NoCounter part
320 NoStyle Part*
321 NoStyle Chapter
322 NoCounter chapter
323 NoStyle Chapter*
324 NoStyle Section*
325 NoStyle Subsection*
326 NoStyle Subsubsection*
327 NoStyle Paragraph*
328 NoStyle Subparagraph*
329
330
331 Style Section
332         LabelType             No_Label
333         Align                 Center
334         Font
335           Series              Bold
336           Size                Huge
337         EndFont
338         TocLevel              1
339 End
340
341
342 Style Subsection
343         LabelType             No_Label
344         Font
345           Series              Bold
346           Size                Larger
347         EndFont
348         TocLevel              2
349 End
350
351
352 Style Subsubsection
353         LabelType             No_Label
354         Font
355           Series              Bold
356           Size                Large
357         EndFont
358         TocLevel              3
359 End
360
361
362 Style Paragraph
363         LabelType             No_Label
364         Font
365           Series              Bold
366           Size                Normal
367         EndFont
368         TocLevel              4
369 End
370
371
372 Style Subparagraph
373         LabelType             No_Label
374         Font
375           Series              Bold
376           Size                Normal
377           Shape               Italic
378         EndFont
379         TocLevel 5
380 End
381
382
383 Style Itemize
384         Category              List
385         Margin                Static
386         LatexType             Item_Environment
387         LatexName             APAitemize
388         NextNoIndent          1
389         ToggleIndent          Never
390         LeftMargin            MMN
391         LabelSep              xx
392         ItemSep               0.2
393         TopSep                0.7
394         BottomSep             0.7
395         ParSep                0.3
396         Align                 Block
397         AlignPossible         Block, Left
398         LabelType             Itemize
399         Argument item:1
400                 LabelString   "Custom Item|s"
401                 Tooltip       "A customized item string"
402         EndArgument
403         Argument listpreamble:1
404                 LabelString    "List preamble"
405                 MenuString     "List Preamble"
406                 Tooltip        "LaTeX code to be inserted before the first item"
407                 PassThru       1
408                 Font
409                         Family typewriter
410                         Color latex
411                 EndFont
412         EndArgument
413         DocBookTag            itemizedlist
414         DocBookItemTag        listitem
415         DocBookItemInnerTag   para
416 End
417
418
419 Style Enumerate
420         Category              List
421         Margin                Static
422         LatexType             Item_Environment
423         LatexName             APAenumerate
424         NextNoIndent          1
425         ToggleIndent          Never
426         LeftMargin            MMN
427         LabelSep              xx
428         ParSkip               0.0
429         ItemSep               0.2
430         TopSep                0.7
431         BottomSep             0.7
432         ParSep                0.3
433         Align                 Block
434         AlignPossible         Block, Left
435         LabelType             Enumerate
436         RefPrefix             enu
437         Argument item:1
438                 LabelString   "Custom Item|s"
439                 Tooltip       "A customized item string"
440         EndArgument
441         Argument listpreamble:1
442                 LabelString    "List preamble"
443                 MenuString     "List Preamble"
444                 Tooltip        "LaTeX code to be inserted before the first item"
445                 PassThru       1
446                 Font
447                         Family typewriter
448                         Color latex
449                 EndFont
450         EndArgument
451         DocBookTag            orderedlist
452         DocBookItemTag        listitem
453         DocBookItemInnerTag   para
454 End
455
456
457 Style Seriate
458         Category              List
459         Margin                Static
460         LatexType             Item_Environment
461         LatexName             seriate
462         NextNoIndent          1
463         LeftMargin            MMN
464         LabelSep              x
465         ParSkip               0.0
466         ItemSep               0.9
467         TopSep                0.5
468         BottomSep             0.5
469         ParSep                0.0
470         Align                 Block
471         AlignPossible         Block, Left
472         LabelType             Static
473         LabelCounter          enumii
474         LabelString           "(\alph{enumii})"
475         LabelStringAppendix   "(\alph{enumii})"
476         RefPrefix             ser
477         Argument listpreamble:1
478                 LabelString    "List preamble"
479                 MenuString     "List Preamble"
480                 Tooltip        "LaTeX code to be inserted before the first item"
481                 PassThru       1
482                 Font
483                         Family typewriter
484                         Color latex
485                 EndFont
486         EndArgument
487 End
488