Debian Codegraph @

texmf-dist/doc/latex/apa/apacls.txt

raw
1 This is file apacls.txt, which contains instructions for using the
2 APA LaTeX2e class file apa.cls
3
4 Athanassios Protopapas ******* Version 1.3.4 December 2008
5
6
7 Introduction
8
9 apa.cls is a LaTeX2e class file that makes your document conform to
10 the APA Publication Manual (Fifth Edition, 2002) specifications for
11 manuscripts or to the APA journal look found in journals like the
12 Journal of Experimental Psychology etc. In addition, it provides a
13 regular LaTeX-like output with a few enhancements and APA-motivated
14 changes. The headings and enumeration/seriation code is taken from
15 theapa.sty by Young U. Ryu.
16
17 Note
18
19 apa.cls is not in any way connected to, endorsed by, or even
20 probably known at all at the American Psychological Association.
21
22
23 Description
24
25 a) Manuscript mode (man)
26
27 apa.cls typesets a title page, abstract page, text body, then
28 references, author notes, footnotes, tables, figure captions, and
29 figures. All text is double spaced. The title page contains
30 (centered) the title, author name, affiliation, short title, and the
31 running head (automatically capitalized). A note is inserted in
32 place of each table and figure in the text.
33
34 The title is printed as a heading at the beginning of the text (don't
35 include an extra \section, because the introduction is not supposed
36 to be titled in printed articles). \leftheader is ignored in
37 manuscript mode. The contents of \note are printed under the author
38 names and affiliations, typically the date of submission. The "Author
39 Notes" page contains the contents of \acknowledgements. A footnote
40 page is only produced if there is at least one footnote in the text.
41
42 b) Journal mode (jou)
43
44 apa.cls typesets the text in double-sided, double column format, with
45 an appropriately centered title, author names, affiliations, note,
46 and abstract. The contents of acknowledgements are printed as
47 footnotes in a box at the lower left corner of the first page.
48 Journal-like headers can also be produced on the first page.
49 Dimensions and overall "look" are modeled after JEP:HPP. The purpose
50 of this mode is to produce readable and reasonably condensed output
51 for double-sided printing and distribution.
52
53 c) Document mode (doc)
54
55 apa.cls typesets the text in single-sided, single-column format, with
56 an appropriately centered title, author names, affiliations, note,
57 and abstract on the first page. The contents of acknowledgements are
58 printed at the bottom of the first page. Section headings and
59 enumeration follow the APA guidelines and floats (figures and tables)
60 are inserted in the text where they are defined, as in regular LaTeX
61 articles.
62
63 The purpose of this format is to provide hardcopies during the
64 development of articles that are later going to be submitted (using
65 the manuscript format) and distrubuted (using the journal
66 format). The advantage over using a regular article class is that all
67 the extra definitions related to APA style are supported (or simply
68 ignored without producing errors), so no changes need to be made
69 to the text other than the format parameter.
70
71
72 Known restrictions:
73
74 - Up to six affiliations (for article author(s)) are supported.
75 - No provision for A4 paper. See examples for a workaround.
76
77
78 Other necessary files:
79
80 To use BibTeX (default), for all apa.cls document modes you need
81 apacite.sty and apacite.bst. Download the most recent version
82 (June 2005 or later) for full compatibility.
83 If you prefer to use BibLaTeX with the biblatex-apa style, you
84 need apa.cbx and apa.bbx.
85
86 For manuscript mode, you need endnotes.sty and endfloat.sty
87
88 For journal mode, optional packages include txfonts (or pslatex,
89 or times.sty and mathptm.sty), ftnright.sty, fancyhdr.sty (for
90 first page headers), and flushend.sty
91
92
93 To use this class, include one of the following
94
95 \documentclass[jou]{apa} for the two-column output (txfonts default)
96 \documentclass[man}{apa} for the manuscript (double-spaced) output
97 \documentclass[doc]{apa} for regular document (in computer modern)
98
99 at the beginning of your file (instead of {article}), then define the
100 title, author, etc. (see below), and start with
101
102 \maketitle
103
104 right after \begin{document}, immediately followed by the first
105 paragraph of you text (no blank line). Do not use a
106 \bibliographystyle command, because apacite is selected automatically
107 (for backwards compatibility, any existing \bibliographystyle command
108 is ignored and a warning is issued).
109
110 The journal format uses Times Roman by default (it does look like
111 published after all); if you don't have txfonts or pslatex or
112 times.sty, or if you just prefer computer modern, add notxfonts
113 after the jou option in the class line:
114 \documentclass[jou,notxfonts]{apa}
115 (this has no effect in modes other than jou and may be left in)
116
117 Manuscript format uses Computer Modern by default but can use
118 Helvetica or typewriter look by using the options helv or tt,
119 respectively. I find the result with either of these much more
120 "manuscript"-like but that's a matter of taste. These options have
121 no effect in modes other than man and may be left in when switching.
122
123
124 The following commands are defined and should/may be used:
125
126 1. Required for document compilation
127
128 \title{Title}
129 \author{Author Name(s)}
130 or \twoauthors{First Author(s)}{Second Author(s)}
131 or \threeauthors{John and Jim}{Mary and Sue}{Nick}
132 or \fourauthors{Helen}{Dick}{Tracy and Larry}{James Bond}
133 or \fiveauthors{...}{...}{...}{...}{...}
134 or \sixauthors{...}{...}{...}{...}{...}{...}
135 \affiliation{Department\\ University}
136 or \twoaffiliations{Affiliation of 1st Author(s)}{Affil. of 2nd Author(s)}
137 or \threeaffiliations{U of A}{U of B}{U of C}
138 or \fouraffiliations{My Company}{Your Department}{Heaven}{Earth}
139 or \fiveaffiliations{...}{...}{...}{...}{...}
140 or \sixaffiliations{...}{...}{...}{...}{...}{...}
141
142 \maketitle % right after \begin{document}
143
144 2. Strongly recommended (required by APA)
145
146 \abstract{Abstract}
147 \acknowledgements{Author notes etc.}
148 \rightheader{Running head} % defaults to title
149 \shorttitle{Short title} % defaults to title
150 \leftheader{Authors} % defaults to author
151
152 3. Optional, possibly helpful
153
154 \note{Draft/submission date, etc.} % To add notes on first page
155 \thickline % Use in tables for the top line
156 \centeredcaption{width}{caption-text} % Used with double-column figures
157 % to create centered captions
158 % narrower than \textwidth
159
160 \fitfigure[optional-height]{eps-filename} % Automatically fit a postscript
161 % figure; load graphicx and use
162 % instead of \includegraphics
163 \fitbitmap[optional-height]{eps-filename} % Same as \fitfigure but won't scale
164 % figure in man mode for best
165 % reproduction of bitmap figures
166
167 \ifapamode{man-code}{jou-code}{doc-code} % Do different things depending on
168 \ifapamodeman{man-mode-code}{doc-or-jou-code} % mode---you shouldn't have to use
169 \ifapamodejou{jou-mode-code}{doc-or-man-code} % any of these but they're here if
170 \ifapamodedoc{doc-mode-code}{man-or-jou-code} % you want them. Arguments can
171 % be left empty to do nothing
172
173 \journal{Journal name or other note} % Top left header on page one in
174 % jou/doc mode, ignored in man mode
175 \volume{Volume, number, pages} % Top left, under content of \journal
176 \ccoppy{Copyright notice etc.} % Top right header in jou/doc p. 1
177 \copnum{Your hovercraft is full of eels} % Top right, under content of \ccoppy
178
179 \tabfnm{a} % Put a note mark inside a table cell
180 \tabfnt{a}{Note text} % Put the mark and text for a table note
181 \apavector{A} % Format a symbol as vector by APA rules
182 \appendix % Standard LaTeX usage, starts off
183 % appendix section(s)
184
185
186 The following options are available:
187
188 These options must be combined with one of jou, man, doc.
189
190 notxfonts: Effective in jou mode, prevents txfonts from loading, in case
191 pslatex (or times) is preferable for some reason
192 notimes : Effective in jou mode, cancels loading txfonts or pslatex or
193 times and uses computer modern fonts.
194 nosf : Effective in man mode, neutralizes the \helvetica command.
195 fignum : Effective in man mode, adds figure numbering to the figure pages.
196 Makes it easier to refer to figures and I recommend it for the
197 reviewers' copies, but for the original figures you may have
198 to print them without this and write the number on the back.
199 notab : Effective in jou mode, cancels the automatic stretching of tabular
200 environments to the width of their enclosing float.
201 nobf : Effective in man mode, turns off boldface in section headers
202 helv : Effective in man mode, uses Helvetica as the base typeface
203 tt : Effective in man mode, uses a typewriter base typeface
204 babel : Effective in every mode, loads babel to support languages other
205 than English. List the desired languages as additional options
206 to apa.cls after babel. The last language listed is the main one.
207 longtable: Only usable in man mode, loads longtable.sty if you *really* must
208 use long tables in your manuscript. See special note below
209 floatmark: Effective in man mode, inserts placeholders for floats in text
210 ("Insert Figure X about here" -- no longer required by APA)
211 noapacite: Effective in every mode, prevents loading of apacite to allow
212 use of biblatex with the biblatex-apa style.
213
214
215 Notes on usage:
216
217 If there is more than one author but all in the same department, use
218 the \author command with all names and the \affiliation command. If
219 there are people from two different departments, use the \twoauthors
220 and \twoaffiliations commands to group them appropriately. For three
221 affiliations use \threeauthors and \threeaffiliations, and so on for
222 four, five, or six affiliations (and corresponding author groups).
223
224 Default sectioning maps \section, \subsection, and \subsubsection to
225 the three-level heading definitions of the APA manual. If you need
226 more/fewer heading levels, you can use the command
227 \headinglevels{four} (or any number between one and five---spelled
228 out---instead of four) and then use \paragraph and \subparagraph for
229 the lower-level sectioning. Don't bother to \label your sections
230 because they can't be \ref'd since they are not numbered in APA style.
231
232 When a figure is too wide for a single column, use a double-column
233 figure (\begin and \end {figure*} instead of {figure}). When using
234 double column figures, it looks better if you use \centeredcaption
235 instead of caption, with the first parameter about equal to the width
236 of the float (table or figure). This makes no difference in
237 manuscript mode.
238
239 It is still *your* responsibility to format the tables in accordance
240 with the APA guidelines (e.g., no vertical lines, and so on) and
241 precede the actual table body with its caption (i.e., use \caption
242 *before* \begin{tabular} in tables, or the results won't be
243 conforming to the APA requirements for tables). Because a paragraph
244 break is inserted in manuscript mode (along with the "insert
245 table/figure" note), don't define tables in the middle of a
246 paragraph.
247
248 Remember to use \label for floats *after* the caption (and not inside it!)
249
250 For instructions on using the various citation forms get apacite.tex,
251 testAPA.tex, and readme.apa from the CTAN mirror near you. For
252 instructions on using APA enumeration and seriation read apaenum.txt
253 in this distribution.
254
255 (BibLaTeX users: pass the "noapacite" option to apa.cls and then use
256 biblatex as usual, with the biblatex-apa style.)
257
258 If you need to use additional options for article.cls, use them with
259 the apa.cls options and they will be automatically passed along to
260 article.cls
261
262 Notes in tables: There is a semi-automatic way to include notes in
263 tables such as, for example, to indicate levels of significance. The
264 command \tabfnm{X} inside a table cell (tabular environment) produces
265 the note mark. Use \tabfnt{X}{Note text} immediately before or after
266 \end{tabular} inside the table environment to produce the note text.
267 See example file.
268
269 Appendices: Use the command \appendix only once, at the point where
270 your (first) appendix starts. Then use \section{Appendix Title} to
271 start each appendix section (even if there is only one). You may use
272 cross-references to appendixes, because they are numbered, if there
273 are more than one. The command \label{app:xxx} after the appendix
274 \section sets the label. Refer to it with "Appendix~\ref{app:xxx}"
275 anywhere in the article.
276
277 If you use vectors, the command \apavector{X} will make your life easier.
278
279 Long tables: By popular demand, longtable now (sort of) works with
280 apa.cls. You must *not* load the longtable package yourself;
281 instead, pass the longtable option to apa.cls (due to precedence
282 requirements for proper endfloat function and cross-definitions).
283 Since longtable only works in single-column documents it can only be
284 used with man mode. Unfortunately the ifapamode commands won't work
285 to keep a single table body and apply a mode-specific (table or
286 longtable) environment because of illegal cross-nesting with
287 environment begin/end. In fact the table environment won't even work
288 inside in ifapamode argument, which makes it impossible to have a
289 single file that can be processed for both man and jou. This defeats
290 the purpose of apa.cls, so only resort to longtable if you absolutely
291 have to. You will need the special APAendfloat.cfg file supplied with
292 apa.cls in order to use longtable, so that endfloat will recognize
293 (and postpone) long tables as tables. Copy this file to the working
294 folder with your APA style document, not any central LaTeX location,
295 to avoid influencing endfloat's behavior with other classes. Rename
296 it locally to endfloat.cfg so that it will be processed by endfloat.
297
298 Sideways tables: Use the rotating package and \sidewaystable. You will
299 need the supplied APAendfloat.cfg (renamed endfloat.cfg) in your
300 document directory for it to work.
301
302
303 Feedback:
304
305 Send me comments or bug reports (preferably with fixes) at:
306 [email protected]
307
308
309 Example of usage:
310
311 See examples.txt and apaexample.tex
312 PLEASE, read file examples.txt, it will probably solve your problems.
313
314 Online information: http://www.ilsp.gr/homepages/protopapas/apacls.html
315
316
317 Athanassios Protopapas
318 August 17, 2008
319