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