]> git.lyx.org Git - lyx.git/blob - lib/layouts/apa.layout
Extend unicodesymbols force flag
[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 44
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         HTMLAttr "class='float-caption float-caption-centered'"
267 End
268
269
270 Style FitFigure
271         LatexName             fitfigure
272         LatexType             Command
273 End
274
275
276 Style FitBitmap
277         LatexName             fitbitmap
278         LatexType             Command
279 End
280
281
282 Input stdsections.inc
283 Input stdstarsections.inc
284 Input stdinsets.inc
285
286 Input stdfloats.inc
287 Input stdcounters.inc
288
289 NoStyle Part
290 NoCounter part
291 NoStyle Part*
292 NoStyle Chapter
293 NoCounter chapter
294 NoStyle Chapter*
295 NoStyle Section*
296 NoStyle Subsection*
297 NoStyle Subsubsection*
298 NoStyle Paragraph*
299 NoStyle Subparagraph*
300
301
302 Style Section
303         LabelType             No_Label
304         Align                 Center
305         Font
306           Series              Bold
307           Size                Huge
308         EndFont
309                 TocLevel 1
310 End
311
312
313 Style Subsection
314         LabelType             No_Label
315         Font
316           Series              Bold
317           Size                Larger
318         EndFont
319                 TocLevel 2
320 End
321
322
323 Style Subsubsection
324         LabelType             No_Label
325         Font
326           Series              Bold
327           Size                Large
328         EndFont
329                 TocLevel 3
330 End
331
332
333 Style Paragraph
334         LabelType             No_Label
335         Font
336           Series              Bold
337           Size                Normal
338         EndFont
339                 TocLevel 4
340 End
341
342
343 Style Subparagraph
344         LabelType             No_Label
345         Font
346           Series              Bold
347           Size                Normal
348           Shape               Italic
349         EndFont
350                 TocLevel 5
351 End
352
353
354 Style Itemize
355         Category              List
356         Margin                Static
357         LatexType             Item_Environment
358         LatexName             APAitemize
359         NextNoIndent          1
360         LeftMargin            MMN
361         LabelSep              xx
362         ItemSep               0.2
363         TopSep                0.7
364         BottomSep             0.7
365         ParSep                0.3
366         Align                 Block
367         AlignPossible         Block, Left
368         LabelType             Itemize
369         Argument item:1
370                 LabelString   "Custom Item|s"
371                 Tooltip       "A customized item string"
372         EndArgument
373 End
374
375
376 Style Enumerate
377         Category              List
378         Margin                Static
379         LatexType             Item_Environment
380         LatexName             APAenumerate
381         NextNoIndent          1
382         LeftMargin            MMN
383         LabelSep              xx
384         ParSkip               0.0
385         ItemSep               0.2
386         TopSep                0.7
387         BottomSep             0.7
388         ParSep                0.3
389         Align                 Block
390         AlignPossible         Block, Left
391         LabelType             Enumerate
392         RefPrefix             enu
393         Argument item:1
394                 LabelString   "Custom Item|s"
395                 Tooltip       "A customized item string"
396         EndArgument
397 End
398
399
400 Style Seriate
401         Category              List
402         Margin                Static
403         LatexType             Item_Environment
404         LatexName             seriate
405         NextNoIndent          1
406         LeftMargin            MMN
407         LabelSep              x
408         ParSkip               0.0
409         ItemSep               0.9
410         TopSep                0.5
411         BottomSep             0.5
412         ParSep                0.0
413         Align                 Block
414         AlignPossible         Block, Left
415         LabelType             Static
416         LabelCounter          enumii
417         LabelString           "(\alph{enumii})"
418         LabelStringAppendix   "(\alph{enumii})"
419         RefPrefix             ser
420 End
421