]> git.lyx.org Git - lyx.git/blob - lib/layouts/apa.layout
bb608397451da77c096890d9350ce4163dcc7d1d
[lyx.git] / lib / layouts / apa.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[apa,apacite.sty]{APA style}
3 # Author: Randy Gobbel <gobbel@andrew.cmu.edu>
4
5 # General textclass parameters
6 # Description   "APA style"
7 Columns         1
8 Sides           1
9 PageStyle       Headers
10 MaxCounter      Counter_Section
11
12 ClassOptions
13   Other "man"
14   FontSize      6|8|10|12
15 End
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 DefaultFont
24   Family        Roman
25   Series        Medium
26   Shape         Up
27   Size          Normal
28   Color         None
29 EndFont
30
31 Style Standard
32   LatexName     dummy
33   LatexType     Paragraph
34   Margin        Static
35   ParIndent     MM
36   ParSkip       0.4
37   ParSep        0.4
38   TopSep        1.0
39   BottomSep     1.0
40   Align         Block
41   AlignPossible Block, Left, Right, Center
42   LabelType     No_Label
43 End
44
45 Style Title
46   LatexName     title
47   LatexType     Command
48   InTitle       1
49   Font
50     Size        Huge
51   EndFont
52   Align         Center
53 End
54
55 Style RightHeader
56   LatexName     rightheader
57   LatexType     Command
58   InTitle       1
59   Font
60     Size        Small
61     Shape       SmallCaps
62   EndFont
63   Labeltype     Static
64   LabelString   "Right header: "
65   Labelsep      M
66   LabelFont
67     Series      Bold
68     Size        Small
69   EndFont
70   Align         Right
71   AlignPossible Right
72 End
73
74 Style Abstract
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 Style ShortTitle
96   LatexName     shorttitle
97   LatexType     Command
98   InTitle       1
99   Align         Left
100   AlignPossible Left, Right, Center
101   Margin        Dynamic
102   Labeltype     Static
103   LabelString   "Short title: "
104   Labelsep      M
105   Font
106     Shape       SmallCaps
107     Size        Small
108   EndFont
109   LabelFont
110     Series      Bold
111     Size        Small
112     Shape       Up
113   EndFont
114 End
115
116 Style Author
117   LatexName     author
118   LatexType     Command
119   InTitle       1
120   Align         Center
121   AlignPossible Left, Right, Center
122   TopSep        0.5
123   BottomSep     0.5
124   Font
125     Shape       Italic
126     Size        Small
127   EndFont
128 End
129
130 Style TwoAuthors
131   LatexName     twoauthors
132   LatexType     Command
133   InTitle       1
134 End
135
136 Style ThreeAuthors
137   LatexName     threeauthors
138   LatexType     Command
139   InTitle       1
140 End
141
142 Style FourAuthors
143   LatexName     fourauthors
144   LatexType     Command
145   InTitle       1
146 End
147
148 Style Affiliation
149   LatexName     affiliation
150   LatexType     Command
151   InTitle       1
152   Margin        Dynamic
153   ParSkip       0.4
154   BottomSep     1.5
155   TopSep        1.5
156   ParSep        1.5
157   Align         Left
158   AlignPossible Block, Left, Right, Center
159   LabelType     Static
160   LabelString   "Affiliation: "
161   Labelsep      M
162   LabelFont
163     Series      Bold
164     Size        Small
165   EndFont
166 End
167
168 Style TwoAffiliations
169   LatexName     twoaffiliations
170   LatexType     Command
171   InTitle       1
172 End
173
174 Style ThreeAffiliations
175   LatexName     threeaffiliations
176   LatexType     Command
177   InTitle       1
178 End
179
180 Style FourAffiliations
181   LatexName     fouraffiliations
182   LatexType     Command
183   InTitle       1
184 End
185
186 Style Journal
187   LatexName     journal
188   LatexType     Command
189   InTitle       1
190 End
191
192 Style Copyright
193   LatexName     ccoppy
194   LatexType     Command
195   InTitle       1
196 End
197
198 Style CopNum
199   LatexName     copnum
200   LatexType     Command
201   InTitle       1
202 End
203
204 Style Note
205   LatexName     note
206   LatexType     Command
207   Font
208     Size        Small
209   EndFont
210 End
211
212 Style Acknowledgments
213   LatexName     acknowledgments
214   LatexType     Command
215 End
216
217 Style ThickLine
218   LatexName     thickline
219   LatexType     Command
220   KeepEmpty     1
221 End
222
223 Input stdlayouts.inc
224
225 Style CenteredCaption
226   CopyStyle     Caption
227   LatexName     centeredcaption
228   Align         Center
229   AlignPossible Center
230 End
231
232 Style FitFigure
233   LatexName     fitfigure
234   LatexType     Command
235 End
236
237 Style FitBitmap
238   LatexName     fitbitmap
239   LatexType     Command
240 End
241
242 ############### Sections.
243 # First the standard numbered definitions
244 Input stdsections.inc
245 # then define the unumbered sections, based on the numbered ones.
246 Input stdstarsections.inc
247
248 # remove the layouts that we do not need.
249 NoStyle Part
250 NoStyle Section
251 NoStyle Subsection
252 NoStyle Subsubsection
253 NoStyle Chapter
254 NoStyle Paragraph
255 NoStyle Subparagraph
256 NoStyle Chapter*
257
258 # Itemize style definition
259 Style Itemize
260   Margin                Static
261   LatexType             Item_Environment
262   LatexName             APAitemize
263   NextNoIndent          1
264   LeftMargin            MMN
265   LabelSep              xx
266   ItemSep               0.2
267   TopSep                0.7
268   BottomSep             0.7
269   ParSep                0.3
270   Align                 Block
271   AlignPossible         Block, Left
272   LabelType             Static
273   LabelString           *
274 End
275
276 # Enumerate style definition
277 Style Enumerate
278   Margin                Static
279   LatexType             Item_Environment
280   LatexName             APAenumerate
281   NextNoIndent          1
282   LeftMargin            MMN
283   LabelSep              xx
284   ParSkip               0.0
285   ItemSep               0.2
286   TopSep                0.7
287   BottomSep             0.7
288   ParSep                0.3
289   Align                 Block
290   AlignPossible         Block, Left
291   LabelType             Counter_EnumI
292 End
293
294 #seriate style definition
295 Style Seriate
296   Margin                Static
297   LatexType             Item_Environment
298   LatexName             seriate
299   NextNoIndent          1
300   LeftMargin            MMN
301   LabelSep              x
302   ParSkip               0.0
303   ItemSep               0.9
304   TopSep                0.5
305   BottomSep             0.5
306   ParSep                0.0
307   Align                 Block
308   AlignPossible         Block, Left
309   LabelType             Counter_EnumII
310 End
311