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