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