]> git.lyx.org Git - lyx.git/blob - lib/layouts/apa.layout
add stdfloats.inc and stdcounters.inc to a lot of layout files
[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 Input stdfloats.inc
249 Input stdcounters.inc
250
251 # remove the layouts that we do not need.
252 NoStyle Part
253 NoStyle Section
254 NoStyle Subsection
255 NoStyle Subsubsection
256 NoStyle Chapter
257 NoStyle Paragraph
258 NoStyle Subparagraph
259 NoStyle Chapter*
260
261 # Itemize style definition
262 Style Itemize
263   Margin                Static
264   LatexType             Item_Environment
265   LatexName             APAitemize
266   NextNoIndent          1
267   LeftMargin            MMN
268   LabelSep              xx
269   ItemSep               0.2
270   TopSep                0.7
271   BottomSep             0.7
272   ParSep                0.3
273   Align                 Block
274   AlignPossible         Block, Left
275   LabelType             Static
276   LabelString           *
277 End
278
279 # Enumerate style definition
280 Style Enumerate
281   Margin                Static
282   LatexType             Item_Environment
283   LatexName             APAenumerate
284   NextNoIndent          1
285   LeftMargin            MMN
286   LabelSep              xx
287   ParSkip               0.0
288   ItemSep               0.2
289   TopSep                0.7
290   BottomSep             0.7
291   ParSep                0.3
292   Align                 Block
293   AlignPossible         Block, Left
294   LabelType             Counter_EnumI
295 End
296
297 #seriate style definition
298 Style Seriate
299   Margin                Static
300   LatexType             Item_Environment
301   LatexName             seriate
302   NextNoIndent          1
303   LeftMargin            MMN
304   LabelSep              x
305   ParSkip               0.0
306   ItemSep               0.9
307   TopSep                0.5
308   BottomSep             0.5
309   ParSep                0.0
310   Align                 Block
311   AlignPossible         Block, Left
312   LabelType             Counter_EnumII
313 End
314