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