]> git.lyx.org Git - lyx.git/blob - lib/layouts/apa.layout
Simplify the logic a bit here.
[lyx.git] / lib / layouts / apa.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[apa,apacite.sty]{article (APA)}
3 # Author: Randy Gobbel <gobbel@andrew.cmu.edu>
4
5 Format 6
6 Columns                 1
7 Sides                   1
8 PageStyle               Headers
9
10
11 ClassOptions
12         Other "man"
13         FontSize              6|8|10|12
14 End
15
16
17 Preamble
18         \helvetica
19         \author{Author} % hack around some bugs in apa.cls
20         \affiliation{Affiliation} % hack around some bugs in apa.cls
21 EndPreamble
22
23
24 Style Standard
25         LatexName             dummy
26         LatexType             Paragraph
27         Margin                Static
28         ParIndent             MM
29         ParSkip               0.4
30         ParSep                0.4
31         TopSep                1.0
32         BottomSep             1.0
33         Align                 Block
34         AlignPossible         Block, Left, Right, Center
35         LabelType             No_Label
36 End
37
38
39 Style Title
40         LatexName             title
41         LatexType             Command
42         InTitle               1
43         Font
44           Size                Huge
45         EndFont
46         Align                 Center
47 End
48
49
50 Style RightHeader
51         LatexName             rightheader
52         LatexType             Command
53         InTitle               1
54         Font
55           Size                Small
56           Shape               SmallCaps
57         EndFont
58         Labeltype             Static
59         LabelString           "Right header:"
60         Labelsep              M
61         LabelFont
62           Series              Bold
63           Size                Small
64         EndFont
65         Align                 Right
66 End
67
68
69 Style Abstract
70         LatexName             abstract
71         LatexType             Command
72         InTitle               1
73         Font
74           Size                Small
75         EndFont
76         Margin                Dynamic
77         LeftMargin            MMN
78         RightMargin           MMN
79         Align                 Block
80         AlignPossible         Block, Left, Right, Center
81         Labeltype             Static
82         LabelString           "Abstract:"
83         Labelsep              M
84         LabelFont
85           Series              Bold
86           Size                Small
87         EndFont
88 End
89
90
91 Style ShortTitle
92         LatexName             shorttitle
93         LatexType             Command
94         InTitle               1
95         Align                 Left
96         AlignPossible         Left, Right, Center
97         Margin                Dynamic
98         Labeltype             Static
99         LabelString           "Short title:"
100         Labelsep              M
101         Font
102           Shape               SmallCaps
103           Size                Small
104         EndFont
105         LabelFont
106           Series              Bold
107           Size                Small
108           Shape               Up
109         EndFont
110 End
111
112
113 Style Author
114         LatexName             author
115         LatexType             Command
116         InTitle               1
117         Align                 Center
118         AlignPossible         Left, Right, Center
119         TopSep                0.5
120         BottomSep             0.5
121         Font
122           Shape               Italic
123           Size                Small
124         EndFont
125 End
126
127
128 Style TwoAuthors
129         LatexName             twoauthors
130         LatexType             Command
131         InTitle               1
132 End
133
134
135 Style ThreeAuthors
136         LatexName             threeauthors
137         LatexType             Command
138         InTitle               1
139 End
140
141
142 Style FourAuthors
143         LatexName             fourauthors
144         LatexType             Command
145         InTitle               1
146 End
147
148
149 Style Affiliation
150         LatexName             affiliation
151         LatexType             Command
152         InTitle               1
153         Margin                Dynamic
154         ParSkip               0.4
155         BottomSep             1.5
156         TopSep                1.5
157         ParSep                1.5
158         Align                 Left
159         AlignPossible         Block, Left, Right, Center
160         LabelType             Static
161         LabelString           "Affiliation:"
162         Labelsep              M
163         LabelFont
164           Series              Bold
165           Size                Small
166         EndFont
167 End
168
169
170 Style TwoAffiliations
171         LatexName             twoaffiliations
172         LatexType             Command
173         InTitle               1
174 End
175
176
177 Style ThreeAffiliations
178         LatexName             threeaffiliations
179         LatexType             Command
180         InTitle               1
181 End
182
183
184 Style FourAffiliations
185         LatexName             fouraffiliations
186         LatexType             Command
187         InTitle               1
188 End
189
190
191 Style Journal
192         LatexName             journal
193         LatexType             Command
194         InTitle               1
195 End
196
197
198 Style Copyright
199         LatexName             ccoppy
200         LatexType             Command
201         InTitle               1
202 End
203
204
205 Style CopNum
206         LatexName             copnum
207         LatexType             Command
208         InTitle               1
209 End
210
211
212 Style Note
213         LatexName             note
214         LatexType             Command
215         Font
216           Size                Small
217         EndFont
218 End
219
220
221 Style Acknowledgements
222         LatexName             acknowledgements
223         LatexType             Command
224         Font
225           Size                Small
226         EndFont
227         Margin                Dynamic
228         LeftMargin            MMN
229         RightMargin           MMN
230         Align                 Block
231         AlignPossible         Block, Left, Right, Center
232         Labeltype             Static
233         LabelString           "Acknowledgements:"
234         Labelsep              M
235         LabelFont
236           Series              Bold
237           Size                Small
238         EndFont
239 End
240
241
242 Style Acknowledgments
243         ObsoletedBy           Acknowledgements
244 End
245
246
247 Style ThickLine
248         LatexName             thickline
249         LatexType             Command
250         KeepEmpty             1
251 End
252
253
254
255 Input stdlayouts.inc
256
257 Style CenteredCaption
258         Margin                First_Dynamic
259         LatexType             Command
260         LatexName             caption
261         NeedProtect           1
262         LabelSep              xx
263         ParSkip               0.4
264         TopSep                0.5
265         Align                 Center
266         LabelType             Sensitive
267         LabelString           "Senseless!"
268         OptionalArgs          1
269         LabelFont
270           Series              Bold
271         EndFont
272         LatexName             centeredcaption
273         Align                 Center
274 End
275
276
277 Style FitFigure
278         LatexName             fitfigure
279         LatexType             Command
280 End
281
282
283 Style FitBitmap
284         LatexName             fitbitmap
285         LatexType             Command
286 End
287
288
289 Input stdsections.inc
290 Input stdstarsections.inc
291 Input stdinsets.inc
292 Input stdfloats.inc
293 Input stdcounters.inc
294
295 NoStyle Part
296 NoStyle Section
297 NoStyle Subsection
298 NoStyle Subsubsection
299 NoStyle Chapter
300 NoStyle Paragraph
301 NoStyle Subparagraph
302 NoStyle Chapter*
303
304
305 Style Itemize
306         Margin                Static
307         LatexType             Item_Environment
308         LatexName             APAitemize
309         NextNoIndent          1
310         LeftMargin            MMN
311         LabelSep              xx
312         ItemSep               0.2
313         TopSep                0.7
314         BottomSep             0.7
315         ParSep                0.3
316         Align                 Block
317         AlignPossible         Block, Left
318         LabelType             Static
319         LabelString           "*"
320 End
321
322
323 Style Enumerate
324         Margin                Static
325         LatexType             Item_Environment
326         LatexName             APAenumerate
327         NextNoIndent          1
328         LeftMargin            MMN
329         LabelSep              xx
330         ParSkip               0.0
331         ItemSep               0.2
332         TopSep                0.7
333         BottomSep             0.7
334         ParSep                0.3
335         Align                 Block
336         AlignPossible         Block, Left
337         LabelType             Enumerate
338 End
339
340
341 Style Seriate
342         Margin                Static
343         LatexType             Item_Environment
344         LatexName             seriate
345         NextNoIndent          1
346         LeftMargin            MMN
347         LabelSep              x
348         ParSkip               0.0
349         ItemSep               0.9
350         TopSep                0.5
351         BottomSep             0.5
352         ParSep                0.0
353         Align                 Block
354         AlignPossible         Block, Left
355         LabelType             Counter
356         LabelCounter          enumii
357         LabelString           "(\alph{enumii})"
358         LabelStringAppendix   "(\alph{enumii})"
359 End
360