]> git.lyx.org Git - lyx.git/blob - lib/layouts/apa.layout
Added categories for style Standard, Title, Abstract, ShortTitle,
[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         LatexName             twoauthors
137         LatexType             Command
138         InTitle               1
139 End
140
141
142 Style ThreeAuthors
143         LatexName             threeauthors
144         LatexType             Command
145         InTitle               1
146 End
147
148
149 Style FourAuthors
150         Category              FrontMatter
151         LatexName             fourauthors
152         LatexType             Command
153         InTitle               1
154 End
155
156
157 Style Affiliation
158         Category              FrontMatter
159         LatexName             affiliation
160         LatexType             Command
161         InTitle               1
162         Margin                Dynamic
163         ParSkip               0.4
164         BottomSep             1.5
165         TopSep                1.5
166         ParSep                1.5
167         Align                 Left
168         AlignPossible         Block, Left, Right, Center
169         LabelType             Static
170         LabelString           "Affiliation:"
171         Labelsep              M
172         LabelFont
173           Series              Bold
174           Size                Small
175         EndFont
176 End
177
178
179 Style TwoAffiliations
180         LatexName             twoaffiliations
181         LatexType             Command
182         InTitle               1
183 End
184
185
186 Style ThreeAffiliations
187         LatexName             threeaffiliations
188         LatexType             Command
189         InTitle               1
190 End
191
192
193 Style FourAffiliations
194         Category              FrontMatter
195         LatexName             fouraffiliations
196         LatexType             Command
197         InTitle               1
198 End
199
200
201 Style Copyright
202         LatexName             ccoppy
203         LatexType             Command
204         InTitle               1
205 End
206
207
208 Style Acknowledgements
209         Category              BackMatter
210         LatexName             acknowledgements
211         LatexType             Command
212         Font
213           Size                Small
214         EndFont
215         Margin                Dynamic
216         LeftMargin            MMN
217         RightMargin           MMN
218         Align                 Block
219         AlignPossible         Block, Left, Right, Center
220         Labeltype             Static
221         LabelString           "Acknowledgements:"
222         Labelsep              M
223         LabelFont
224           Series              Bold
225           Size                Small
226         EndFont
227 End
228
229
230 Style Acknowledgments
231         ObsoletedBy           Acknowledgements
232 End
233
234
235 Style ThickLine
236         LatexName             thickline
237         LatexType             Command
238         KeepEmpty             1
239 End
240
241
242
243 Input stdlayouts.inc
244
245
246 InsetLayout Caption:Centered
247         LabelString          standard
248         LaTeXType            command
249         LatexName            centeredcaption
250         Argument 1
251                 LabelString   "Short Title|S"
252                 Tooltip       "The caption as it appears in the list of figures/tables"
253         EndArgument
254         HTMLStyle
255                 div.float-caption {
256                         text-align: center;
257                         border: 2px solid black;
258                         padding: 1ex;
259                         margin: 1ex;
260                 }
261         EndHTMLStyle
262 End
263
264
265 Style FitFigure
266         LatexName             fitfigure
267         LatexType             Command
268 End
269
270
271 Style FitBitmap
272         LatexName             fitbitmap
273         LatexType             Command
274 End
275
276
277 Input stdsections.inc
278 Input stdstarsections.inc
279 Input stdinsets.inc
280
281 Input stdfloats.inc
282 Input stdcounters.inc
283
284 NoStyle Part
285 NoCounter part
286 NoStyle Part*
287 NoStyle Chapter
288 NoCounter chapter
289 NoStyle Chapter*
290 NoStyle Section*
291 NoStyle Subsection*
292 NoStyle Subsubsection*
293 NoStyle Paragraph*
294 NoStyle Subparagraph*
295
296
297 Style Section
298         LabelType             No_Label
299         Align                 Center
300         Font
301           Series              Bold
302           Size                Huge
303         EndFont
304                 TocLevel 1
305 End
306
307
308 Style Subsection
309         LabelType             No_Label
310         Font
311           Series              Bold
312           Size                Larger
313         EndFont
314                 TocLevel 2
315 End
316
317
318 Style Subsubsection
319         LabelType             No_Label
320         Font
321           Series              Bold
322           Size                Large
323         EndFont
324                 TocLevel 3
325 End
326
327
328 Style Paragraph
329         LabelType             No_Label
330         Font
331           Series              Bold
332           Size                Normal
333         EndFont
334                 TocLevel 4
335 End
336
337
338 Style Subparagraph
339         LabelType             No_Label
340         Font
341           Series              Bold
342           Size                Normal
343           Shape               Italic
344         EndFont
345                 TocLevel 5
346 End
347
348
349 Style Itemize
350         Category              List
351         Margin                Static
352         LatexType             Item_Environment
353         LatexName             APAitemize
354         NextNoIndent          1
355         LeftMargin            MMN
356         LabelSep              xx
357         ItemSep               0.2
358         TopSep                0.7
359         BottomSep             0.7
360         ParSep                0.3
361         Align                 Block
362         AlignPossible         Block, Left
363         LabelType             Itemize
364         Argument item:1
365                 LabelString   "Custom Item|s"
366                 Tooltip       "A customized item string"
367         EndArgument
368 End
369
370
371 Style Enumerate
372         Category              List
373         Margin                Static
374         LatexType             Item_Environment
375         LatexName             APAenumerate
376         NextNoIndent          1
377         LeftMargin            MMN
378         LabelSep              xx
379         ParSkip               0.0
380         ItemSep               0.2
381         TopSep                0.7
382         BottomSep             0.7
383         ParSep                0.3
384         Align                 Block
385         AlignPossible         Block, Left
386         LabelType             Enumerate
387         RefPrefix             enu
388         Argument item:1
389                 LabelString   "Custom Item|s"
390                 Tooltip       "A customized item string"
391         EndArgument
392 End
393
394
395 Style Seriate
396         Category              List
397         Margin                Static
398         LatexType             Item_Environment
399         LatexName             seriate
400         NextNoIndent          1
401         LeftMargin            MMN
402         LabelSep              x
403         ParSkip               0.0
404         ItemSep               0.9
405         TopSep                0.5
406         BottomSep             0.5
407         ParSep                0.0
408         Align                 Block
409         AlignPossible         Block, Left
410         LabelType             Counter
411         LabelCounter          enumii
412         LabelString           "(\alph{enumii})"
413         LabelStringAppendix   "(\alph{enumii})"
414         RefPrefix             ser
415 End
416