Debian Codegraph @

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

raw
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <HTML lang="en">
3
4 <HEAD>
5 <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
6 <TITLE>apa.cls</TITLE>
7 </HEAD>
8
9 <BODY>
10
11 <H1><A NAME="top"><TT>apa.cls</TT></A></H1>
12
13 <H2><A NAME="contents">Contents</A></H2>
14
15 <UL>
16 <LI><A HREF="#intro">Introduction</A>
17 <LI><A HREF="#authver">Author and version</A>
18 <LI><A HREF="#maint">Maintainance and request for help</A>
19 <LI><A HREF="#acks">Acknowledgments</A>
20 <LI><A HREF="#sysreq">System requirements</A>
21 <LI><A HREF="#instr">Instructions for using <TT>apa.cls</TT></A>
22 <UL type="none">
23 <LI><A HREF="#titlhead">Title and headers</A>
24 <LI><A HREF="#sect">Sectioning</A>
25 <LI><A HREF="#enumser">Enumeration and seriation</A>
26 <LI><A HREF="#floats">Figures and tables</A>
27 <LI><A HREF="#condcomp">Conditional compilation</A>
28 <LI><A HREF="#fonts">Fonts</A>
29 <LI><A HREF="#bibcit">Bibliography and citations</A>
30 <LI><A HREF="#append">Appendices</A>
31 <LI><A HREF="#babel">Non-English documents</A>
32 </UL>
33 <LI><A HREF="#comlist">List of <TT>apa.cls</TT> commands</A>
34 <LI><A HREF="#optlist">List of options to <TT>apa.cls</TT></A>
35 <LI><A HREF="#problems">Possible problems</TT></A>
36 </UL>
37
38 <H2><A NAME="intro">Introduction</A></H2>
39
40 <TT>apa.cls</TT> is a document class for typesetting manuscripts with LaTeX
41 according to the rules of the 5th edition (2001) of the
42 <A HREF="http://www.apastyle.org/">Publication Manual</A> of the
43 <A HREF="http://www.apa.org/">American Psychological Association</A>.
44 It simplifies writing of the manuscript, taking
45 care of appearance and leaving only the content to the author (in true
46 LaTeX fashion) and it also allows both for manuscript look and journal
47 look with a simple option to the class-loading command. <P>
48
49 <I>Note:</I>
50 <TT>apa.cls</TT> is not in any way connected to or endorsed by
51 the American Psychological Association.<P>
52
53 An <A HREF="pdf/Protopapas_1998_Eutupon1.pdf">article</A> (in Greek) about <TT>apa.cls</TT>
54 can be found in the first issue of
55 <A HREF="http://www.eutypon.gr/eutypon/index.html">Eutupon</A>, the
56 magazine of the
57 <A HREF="http://www.eutypon.gr/eft/index.html">Greek Tex Friends Group</A>.
58 A more recent
59 <A HREF="pdf/Protopapas_2007_Eutypon.pdf">article in English</A> is also availabe.
60
61 <P>
62 <I><B>Warning:</B><A NAME="warning">
63 <TT>apa.cls</TT> has a well defined scope and purpose, and I'm already too busy for it.
64 Please don't request modifications or features that are not related to the
65 stated purpose (which is to create manuscripts suitable for submission to APA journals
66 and to typeset these same manuscripts in true journal look). For example, if you
67 want the figures in the manuscript text but the rest as in man mode, then you're
68 on your own as to how you might modify <TT>apa.cls</TT> (or not) to achieve that.
69 In particular, <B>if you want to write your thesis, <TT>apa.cls</TT> is not for you</B>.
70 Please do not write to me asking for help with this. Use <TT>apacite</TT> for APA-style
71 citations and write your own typesetting code or
72 search for a thesis class suitable for your University.</I>
73
74 <H3>Manuscript look (man mode)</H3>
75 In man mode, <TT>apa.cls</TT> typesets a title page, abstract page, text body, then
76 references, appendices, author notes, footnotes, tables, figure captions, and
77 figures. All text is double spaced. The title page contains
78 the (centered) title, author name, affiliation, short title, and the
79 running head (automatically capitalized). A note may be inserted in
80 place of each table and figure in the text.
81 The title is printed as a heading at the beginning of the text. <TT>\leftheader</TT>
82 is ignored while the contents of <TT>\note</TT> are printed under the author
83 names and affiliations, typically the date of submission. The &ldquo;Author
84 Notes&rdquo; page contains the contents of <TT>\acknowledgements</TT>. A footnote
85 page is produced if there is at least one footnote in the text.
86
87 <H3>Printed journal look (jou mode)</H3>
88 In jou mode, <TT>apa.cls</TT> typesets the text in double-sided, double column format, with
89 an appropriately centered title, author names, affiliations, note,
90 and abstract. The contents of acknowledgements are printed as
91 footnotes in a box at the lower left corner of the first page.
92 Journal-like headers can also be produced on the first page.
93 Dimensions and overall &ldquo;look&rdquo; are modeled after
94 <A HREF="http://www.apa.org/journals/xhp.html">JEP:HPP</A>. The purpose
95 of this format is to produce readable and reasonably condensed output
96 for double-sided printing and distribution.
97
98 <H3>Regular LaTeX look (doc mode)</H3>
99 In doc mode, <TT>apa.cls</TT> typesets the text in single-sided,
100 single-column format, with
101 an appropriately centered title, author names, affiliations, note,
102 and abstract on the first page. The contents of acknowledgements are
103 printed at the bottom of the first page. Section headings and
104 enumeration follow the APA guidelines and floats (figures and tables)
105 are inserted in the text where they are defined, as in regular LaTeX
106 articles.
107 The purpose of this format is to provide hardcopies during the
108 development of articles that are later going to be submitted (using
109 the manuscript format) and distrubuted (using the journal
110 format). The advantage over using a regular article class is that all
111 the extra definitions are supported and no changes need thus be made
112 to the text other than the format parameter.
113
114 <H2><A NAME="authver">Author and version</A></H2>
115
116 <TT>apa.cls</TT> is written and maintained by
117 <A HREF="mailto:[email protected]">Athanassios Protopapas</A>, who currently works at the
118 <A HREF="http://www.ilsp.gr">Institute for Language &amp; Speech Processing</A> in Athens, Greece.
119 The current version is 1.3.4, released on December 9th, 2008. It can found
120 on <A HREF="http://www.ctan.org/tex-archive/macros/latex/contrib/other/apa/">CTAN</A>,
121 the LaTeX <A HREF="http://www.ctan.org/tex-archive/help/Catalogue/entries/apa.html">Catalogue</A>,
122 or it may be <A HREF="dl/apacls.zip">downloaded from here</A>. There are no more recent
123 &ldquo;working&rdquo; versions at this time.
124 <P>
125 <TT>apa.cls</TT> is distributed under the terms of the
126 <A HREF="http://www.ctan.org/tex-archive/macros/latex/base/lppl.txt">LaTeX Project Public License</A>
127 (lppl). In short, this means that the software is copyright but you are granted
128 &ldquo;a license which gives you, the &lsquo;user&rsquo; of the software,
129 legal permission to copy, distribute, and/or modify the software.
130 However, if you modify the software and then distribute it (even just
131 locally) you must change the name of the software to avoid confusion&rdquo;
132 (quoted from <A HREF="http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html">
133 The TeX Catalogue License Definitions</A>).
134 <P>
135 The history of <TT>apa.cls</TT> revisions can be found in the <A HREF="dl/apa/CHANGELOG.txt"><TT>CHANGELOG</TT></A> file.
136
137
138 <H2><A NAME="maint">Maintainance and request for help</A></H2>
139
140 There is still a lot of work to be done before <TT>apa.cls</TT> can be considered
141 sufficiently complete. Unfortunately I don't have much time to devote to
142 it any more, so updates are few and far between. I am quite ready to hand over the honor
143 of maintaining <TT>apa.cls</TT> to someone fresh and willing. If you think <TT>apa.cls</TT> is
144 worth some of your time and you would like to contribute to it, be sure
145 to <A HREF="mailto:[email protected]">let me know</A>. Alternatively,
146 feel free to work on one of the following topics (or something else you think is
147 missing or in need of improvement) and send me the result:
148 <UL>
149 <LI>Stop messing with captions and use a standard package such as <TT>caption2</TT> or <TT>ccaption</TT> for all cases
150 <LI>Stop messing with <TT>endfloat</TT> and use <TT>loflot</TT> or other appropriate package for the captions page
151 <LI>Use <TT>fancyhdr</TT> for all headings in all modes
152 <LI>Set entire appendix in smaller font size (including headings)
153 <LI>Follow manual guidelines for table "Note" vs. probabilities (3.70/p. 170)
154 <LI>Turn wide tables sideways automatically
155 <LI>Clean up the font act &mdash; remove <TT>rm</TT>/<TT>hrm</TT>/<TT>hsl</TT> etc.
156 <LI>Use the <TT>geometry</TT> package to set margins taking into account paper size (letter, A4)
157 <LI>Add contact information command and field for first page (man mode only)
158 <LI>Confirm need for continuation note at page end required with long tables (5.21/p. 301) and modify accordingly.
159 </UL>
160 <P>
161 Although this is a purely &ldquo;free time&rdquo; project for me, in general
162 I have tried to be responsive about requests related to <TT>apa.cls</TT> and
163 especially when bugs or other problems are involved. Do not hesitate
164 to <A HREF="mailto:[email protected]">contact me</A> if you encounter
165 difficulties or unexpected (or unacceptable) behavior when using <TT>apa.cls</TT>
166 to prepare manuscripts for submission, after you have searched
167 <A HREF="dl/apa/apacls.txt"><TT>apacls.txt</TT></A> and
168 <A HREF="dl/apa/examples.txt"><TT>examples.txt</TT></A>
169 and failed to find an answer to your problem. <I>Don't even think about writing
170 to me about using <TT>apa.cls</TT> for any purpose other than preparing an APA style
171 manuscript for submission to a journal.</I>
172
173
174 <H2><A NAME="acks">Acknowledgments</A></H2>
175
176 <TT>apa.cls</TT> was created a long time ago out of stylefile mutations based on
177 <A HREF="http://www.ctan.org/tex-archive/macros/latex209/contrib/theapa/"><TT>theapa</TT></A>
178 style by Young U. Ryu. Some of Young Ryu's code still survives in the current
179 version, in particular the sectioning and seriation/enumeration commands.
180 Many people have contributed to the development of <TT>apa.cls</TT> through bug reports,
181 suggestions and requests for features and improvements, and even some actual code!
182 The name of every contributor is mentioned in the <A HREF="dl/apa/CHANGELOG.txt"><TT>CHANGELOG</TT></A> and
183 I am grateful to them all.
184
185
186 <H2><A NAME="sysreq">System requirements</A></H2>
187
188 Other than a running LaTeX2e installation and the
189 <A HREF="http://www.ctan.org/tex-archive/help/Catalogue/entries/apacite.html"><TT>apacite</TT></A>
190 package for APA style citations (<TT>sty</TT> and <TT>bst</TT>), there isn't much you need in order
191 to use <TT>apa.cls</TT>. Required packages for man mode are
192 <A HREF="http://www.ctan.org/tex-archive/help/Catalogue/entries/endfloat.html"><TT>endfloat</TT></A> and
193 <A HREF="http://www.ctan.org/tex-archive/help/Catalogue/entries/endnotes.html"><TT>endnotes</TT></A>.
194 For jou mode there are no required packages, but
195 <A HREF="http://www.ctan.org/tex-archive/help/Catalogue/entries/fancyhdr.html"><TT>fancyhdr</TT></A>,
196 <A HREF="http://www.ctan.org/tex-archive/help/Catalogue/entries/ftnright.html"><TT>ftnright</TT></A>,
197 <A HREF="http://www.ctan.org/tex-archive/help/Catalogue/entries/txfonts.html"><TT>txfonts</TT></A> (or
198 <A HREF="http://www.ctan.org/tex-archive/help/Catalogue/entries/pslatex.html"><TT>pslatex</TT></A>, or
199 <A HREF="http://www.ctan.org/tex-archive/help/Catalogue/entries/times.html"><TT>times</TT></A> and
200 <A HREF="http://www.ctan.org/tex-archive/help/Catalogue/entries/mathptm.html"><TT>mathptm</TT></A>), and
201 <A HREF="http://www.ctan.org/tex-archive/help/Catalogue/entries/flushend.html"><TT>flushend</TT></A> are nice to have
202 (after all, you want your article to really look like published, don't you?).
203
204
205 <H2><A NAME="instr">Instructions for using <TT>apa.cls</TT></A></H2>
206
207 <TT>apa.cls</TT> is distributed with two files you must read carefully before trying to use it,
208 <A HREF="dl/apa/apacls.txt"><TT>apacls.txt</TT></A> and
209 <A HREF="dl/apa/examples.txt"><TT>examples.txt</TT></A>. An online version of those instructions follows. You may also examine <A HREF="dl/apa/apaexample.tex"><TT>apaexample.tex</TT></A> (and the accompanying bibliography file <A HREF="dl/apa/examplebib.bib"><TT>examplebib.bib</TT></A>), which contains a minimal complete sample &ldquo;article&rdquo; that can be processed using <TT>apa.cls</TT> to produce an APA-style manuscript.
210 <P>
211 To use <TT>apa.cls</TT>, include one of the following at the top of your document preamble:<P>
212 <TT>
213 \documentclass[jou]{apa}<BR>
214 \documentclass[man]{apa}<BR>
215 \documentclass[doc]{apa}<BR>
216 </TT>
217 <P>
218 You should not load the <TT>article</TT> class because it is automatically called by <TT>apa.cls</TT>.
219 You should also <STRONG>not</STRONG> load any of the required or optional packages mentioned above
220 using the command <TT>\usepackage</TT> because they are automatically loaded by
221 <TT>apa.cls</TT> in the appropriate order.
222
223
224 <H3><A NAME="titlhead">Title and header information</A></H3>
225
226 In the preamble of your document, define the basic manuscript information:<P>
227 <TT>
228 \author{First Author and Second Author}<BR>
229 \affiliation{Department of Both Authors\\ University}<BR>
230 </TT>
231 <P>
232 If there is only one author or more than one author but all in the same department, use
233 the <TT>\author</TT> command as in the above example, with all names in its argument; and use the <TT>\affiliation</TT> command for the department.
234 If there are people from two different departments, use the <TT>\twoauthors</TT>
235 and <TT>\twoaffiliations</TT> commands to group them appropriately:<P>
236 <TT>
237 \twoauthors{First Author(s)}{Second Author(s)}<BR>
238 \twoaffiliations{Affiliation of 1st Author(s)}{Affiliation of 2nd Author(s)}<BR>
239 </TT>
240 <P>
241 For three affiliations use <TT>\threeauthors</TT> and <TT>\threeaffiliations</TT>,
242 and for four affiliations there's <TT>\fourauthors</TT> and <TT>\fouraffiliations</TT>. Five and six affiliations (and corresponding authors or author groups) are similarly supported (<TT>\fiveauthors</TT> and so on). If there
243 are more than six departments involved you're out of luck with <TT>apa.cls</TT> and I doubt they would fit on the title page anyways.
244 <P>
245 In addition to authors and their affiliations, you should also define the following:<P>
246 <TT>
247 \abstract{Text of your abstract...}<BR>
248 \acknowledgements{Author notes, acknowledgements, contact information...}<BR>
249 \rightheader{Running head for journal look}<BR>
250 \shorttitle{Short title for manuscript header}<BR>
251 \leftheader{Left head for journal look}<BR>
252 </TT>
253 <P>
254 These fields are not technically necessary for the document to pass through LaTeX, though they
255 are obligatory for any real APA-style manuscript. If you don't define a right header
256 or short title, they default to the title; if you don't define a left header, it
257 defaults to the author name(s).<P>
258
259 You may also define a note if you want:<P>
260 <TT>
261 \note{Date of current draft; or status; or additional address information...}<BR>
262 </TT>
263 <P>
264 If you really want your document to have the journal look, you should also define
265 the fields for the first page header, which in the journals hold
266 reference and copyright information. In <TT>apa.cls</TT> there are:<P>
267 <TT>
268 \journal{Journal name}<BR>
269 \volume{Volume, number, pages}<BR>
270 \ccoppy{Copyright notice}<BR>
271 \copnum{Serial number or other reference}<BR>
272 </TT>
273 <P>
274 The content of these definitions is ignored in man mode (manuscript look),
275 of course.
276 <P>
277 After these definitions in the preamble, you begin your manuscript in the
278 regular LaTeX way and invoke the command to make the title page:<P>
279 <TT>
280 \begin{document}<BR>
281 \maketitle<BR>
282 </TT>
283 <P>
284 Do not leave a blank line between these two commands. Also, do
285 <STRONG>not</STRONG> leave a blank line between <TT>\maketitle</TT>
286 and the beginning of your (introduction) text, either. This is
287 important for the correct typesetting of the first manuscript page.
288
289
290 <H3><A NAME="sect">Sectioning</A></H3>
291
292 The default sectioning for <TT>apa.cls</TT> maps the standard LaTeX sectioning
293 commands <TT>\section</TT>, <TT>\subsection</TT>, and <TT>\subsubsection</TT> to
294 the three-level heading definitions of the APA manual. See
295 <A HREF="dl/apa/examples.txt"><TT>examples.txt</TT></A> for usage examples.<P>
296
297 If you need
298 more or fewer heading levels, you can use the command <TT>\headinglevels{four}</TT>
299 (or any number between one and five&mdash;spelled out&mdash;instead of four)
300 and then use <TT>\paragraph</TT> and <TT>\subparagraph</TT> for the lower-level
301 sectioning.
302
303 Actually, if you need fewer than three levels you don't really need to do anything
304 other than use only <TT>\section</TT> and <TT>\subsection</TT>, but if you do
305 invoke the <TT>\headinglevels</TT> command, then the appearance of the manuscript
306 will strictly conform to the APA guidelines for the fewer levels.
307 <P>
308 <I>Note:</I> Don't bother to <TT>\label</TT> your sections; since they are not
309 numbered according to APA style, they cannot be referenced elsewhere in the document
310 using <TT>\ref</TT>, so there is no point in labeling them.
311
312
313 <H3><A NAME="enumser">Enumeration and seriation</A></H3>
314
315 See file <A HREF="dl/apa/apaenum.txt"><TT>apaenum.txt</TT></A> in the
316 <TT>apa.cls</TT> distribution. Enumeration and seriation are taken without
317 modification from Young U. Ryu's code. In short, there are three kinds
318 of environments, called <TT>seriate</TT>, <TT>enumerate</TT>, and
319 <TT>itemize</TT>. They are used in the same way the standard LaTeX environments
320 <TT>enumerate</TT> and <TT>itemize</TT> are used, but produce output according
321 to the APA style. The <TT>seriate</TT>
322 environment is used for inline enumeration, when you want to say, for example
323 (a) one thing, (b) another thing, and (c) maybe a third thing, all in APA style.
324
325
326 <H3><A NAME="floats">Float placement, loading, and content</A></H3>
327
328 Floats, that is, figures and tables, are used in the regular LaTeX way,
329 through the <TT>figure</TT> and <TT>table</TT> environments, respectively.
330 You can use the <TT>t</TT> and <TT>b</TT> options for selectively putting
331 a float at the top or bottom of a page. Always include <TT>p</TT> after
332 <TT>t</TT> or <TT>b</TT> so that you won't risk
333 running out of space if a float is too big. The <TT>h</TT> option for
334 in-text figures is not recommended because it's not used in APA journals.
335 <P>
336 Remember to use <TT>\label</TT> for floats <STRONG>after</STRONG> the caption
337 (and not inside it!)
338
339 <H4>Images</H4>
340 I assume that in figures we most often want to include an image for some graph
341 or other kind of picture which is stored in a separate image file of
342 the right kind (<TT>eps</TT> if we use <TT>latex</TT> with <TT>dvips</TT>,
343 <TT>pdf</TT> if we use <TT>pdflatex</TT> or <TT>latex</TT> with <TT>dvipdfm</TT>).
344 <P>
345 An image can be included in any way you like, but <TT>apa.cls</TT> provides
346 a way to deal automatically with fitting encapsulated postscript (EPS)
347 files without worrying about dimensions or mode. Just use the command
348 <TT>\fitfigure</TT> instead of <TT>\includegraphics</TT>.
349 For example, if you want to include a graph from file <TT>graph1.eps</TT>, the
350 simplest (and recommended) way is:<P>
351 <TT>
352 \begin{figure}[tp]<BR>
353 \fitfigure{graph1}<BR>
354 \caption{This is the caption of the figure.}<BR>
355 \label{fig:fig1}<BR>
356 \end{figure}<BR>
357 </TT><P>
358 You may include the image file extension (<TT>.eps</TT> in this case)
359 in the <TT>\fitfigure</TT> or <TT>\includegraphics</TT> command,
360 but if you omit it (as in the example), then if you happen to use <TT>pdflatex</TT> it
361 will automatically load the corresponding <TT>.pdf</TT> graphic file (assuming
362 you have made one with <TT>eps2pdf</TT>), while <TT>dvips</TT> will load the
363 <TT>.eps</TT> file. In short, you don't need the extension, and leaving it out
364 may make your life easier.
365 <P>
366 In case of a bitmap eps (as opposed to a graph or line drawing), you
367 probably don't want it scaled in man mode, for best reproduction, so
368 use <TT>\fitbitmap</TT> instead.
369 <P>
370 <I>Note:</I> If you want to include images in your manuscript, don't forget the command
371 <TT>\usepackage{graphicx}</TT> in your preamble! You should
372 <STRONG>not</STRONG> use
373 <TT>epsfig</TT> or <TT>graphics</TT> instead of <TT>graphicx</TT>.
374
375 <H4>Tables</H4>
376
377 Tables are stretched to occupy the corresponding text width and are placed with
378 appropriate typefaces etc., but it is your responsibility to format the
379 tabular environments
380 in accordance with the APA guidelines (e.g., no vertical lines, and so on).
381 You should always <STRONG>precede</STRONG> the actual table body with its
382 caption (i.e., use <TT>\caption</TT> before <TT>\begin{tabular}</TT>)
383 or the results won't be conforming to the APA requirements for tables. <P>
384 <P>
385 To match the APA-journal look you can use <TT>\thickline</TT> (instead of
386 <TT>\hline</TT>) for the top separator (right after starting the <TT>tabular</TT>
387 environment).
388 <P>
389 Because a paragraph break is inserted in manuscript mode (optionally with an
390 &ldquo;insert table/figure&rdquo; note), don't define tables in the middle of a
391 paragraph.
392
393 <H4>Wide (two-column) tables and figures</H4>
394 When an image or table is too wide for a single column, use a double-column
395 float, noted with an asterisk after the float environment designation (see
396 the LaTeX book). For a wide (two-column) figure, use <TT>\begin{figure*}</TT>
397 and <TT>\end{figure*}</TT>, instead of beginning and ending <TT>{figure}</TT>.
398 For a two-column table, similary, begin and end a <TT>table*</TT> environment.
399 <P>
400 When using double column figures, it looks better in <TT>jou</TT> mode
401 if you use <TT>\centeredcaption</TT> instead of caption, with the first parameter
402 about equal to the width of the float (table or figure). This makes no difference in
403 <TT>man</TT> mode.
404 <P>
405 If your table is too wide to fit upright on a manuscript page, load the <TT>rotating</TT>
406 package and use a <TT>sidewaystable</TT> environment (instead of <TT>table</TT>). You
407 need the special configuration file
408 <A HREF="dl/apa/endfloat.cfg"><TT>endfloat.cfg</TT></A>, supplied with <TT>apa.cls</TT>,
409 for this to work.
410
411 <H4>Long tables</H4>
412
413 By popular demand,
414 <A HREF="http://www.ctan.org/tex-archive/help/Catalogue/entries/longtable.html"><TT>longtable</TT></A> now (sort of) works with
415 <TT>apa.cls</TT>. You must <STRONG>not</STRONG> load the <TT>longtable</TT>
416 package yourself, due to precedence requirements for proper endfloat
417 function and cross-definitions. Instead, pass the <TT>longtable</TT>
418 option to <TT>apa.cls</TT>. See the
419 <A HREF="http://www.cmis.csiro.au/Graham.Williams/TeX/docs/longtable.pdf"><TT>longtable</TT> documentation</A> or
420 the <A HREF="http://www.awprofessional.com/catalog/product.asp?product_id={32316FC4-94F5-4616-815D-F8691C44BC2B}">LaTeX Companion</A> for instructions on using <TT>longtable</TT>.
421 <P>
422 Since <TT>longtable</TT> only works in single-column documents it can only be
423 used with <TT>man</TT> mode. Unfortunately the conditional compilation
424 (<TT>ifapamode</TT>) commands won't work
425 to keep a single table body and apply a mode-specific (<TT>table</TT> or
426 <TT>longtable</TT>) environment because of illegal cross-nesting with
427 environment begin/end. In fact the table environment won't even work
428 inside in <TT>ifapamode</TT> argument, which makes it impossible to have a
429 single file that can be processed for both <TT>man</TT> and <TT>jou</TT>. This defeats
430 the purpose of <TT>apa.cls</TT>, so only resort to <TT>longtable</TT> if you absolutely
431 have to.
432 You will need the supplied <A HREF="dl/apa/endfloat.cfg"><TT>endfloat.cfg</TT></A> to use it.
433 <P>
434 A simpler, less clean solution for long tables (not using any specialized package) is
435 shown on page 47 of an <A HREF="pdf/Protopapas_2007_Eutypon.pdf">article</A> about <tt>apa.cls</tt>.
436
437
438 <H4>Notes in tables</H4>
439 There is a simple way to include notes in
440 tables such as, for example, to indicate levels of significance. The
441 command <TT>\tabfnm{X}</TT> inside a table cell (tabular environment) produces
442 the note mark. Use <TT>\tabfnt{X}{Note text}</TT> immediately before or after
443 <TT>\end{tabular}</TT> inside the table environment to produce the note text.
444 See <A HREF="dl/apa/examples.txt"><TT>examples.txt</TT></A>. It is not possible
445 to number the notes automatically, but since it is frequently necessary to refer
446 to the same note repeatedly within a table (e.g., for a level of significance),
447 automatic numbering would create more problems than it would solve.
448
449
450 <H3><A NAME="condcomp">Conditional compilation</A></H3>
451
452 You can have some text appear differently in each mode, or only appear
453 in some mode(s). You can also modify the appearance of tables,
454 figures, or equations between modes of compilation. Here's an
455 unexciting example:<P>
456 <TT>
457 \ifapamodeman{This is printed in man mode only}{This is not man mode}
458 </TT><P>
459 You can also use the three-way switch:<P>
460 <TT>The current mode is \ifapamode{man}{jou}{doc}</TT>
461
462
463 <H3><A NAME="fonts">Document typefaces</A></H3>
464
465 The journal format (<TT>jou</TT> mode) uses Times Roman by default (it does look like
466 published after all). If you don't have <TT>txfonts.sty</TT> or <TT>pslatex.sty</TT> or <TT>times.sty</TT>, or
467 if you just prefer computer modern fonts, add <TT>notimes</TT> after the <TT>jou</TT> option
468 in the class line: <TT>\documentclass[jou,notimes]{apa}</TT> (<TT>notimes</TT> has no
469 effect in modes other than <TT>jou</TT> and may be left in when switching).<P>
470
471 The manuscript format (<TT>man</TT> mode) uses Computer Modern by default but can use
472 Helvetica or typewriter look by using the options <TT>helv</TT> or <TT>tt</TT>,
473 respectively. I find the result with either of these much more
474 &ldquo;manuscript&rdquo;-like looking, especially using <TT>tt</TT>
475 (<TT>\documentclass[man,tt]{apa}</TT>), but that's a matter of taste.
476 These options have no effect in modes other than <TT>man</TT>
477 and may be left in when switching.<P>
478
479 In the document format (<TT>doc</TT> mode), Computer Modern are used be default
480 and should probably be used all the time since, after all, this is supposed to
481 be the most &ldquo;regular&rdquo; LaTeX-like format.
482
483
484 <H3><A NAME="bibcit">Bibliography and citations</A></H3>
485
486 By default, <TT>apa.cls</TT> uses the
487 <A HREF="http://www.ctan.org/tex-archive/biblio/bibtex/contrib/apacite/"><TT>apacite</TT></A>
488 package by Erik Meijer for citations which offers complete coverage and excellent conformance
489 to APA guidelines, including <TT>apacite</TT> handling of electronic sources
490 and non-English language forms.
491
492 You should count on using <TT>bibTeX</TT> with the corresponding
493 <A HREF="http://www.ctan.org/tex-archive/biblio/bibtex/contrib/apacite/apacite.bst"><TT>apacite.bst</TT></A>
494 style file for your bibliography. Citation commands include the standard <TT>bibtex</TT>
495 options such as <TT>\cite</TT> but there are substantial extensions to cover other needs
496 such as contracted <I>vs.</I> full author lists, author name only or year only for complex
497 constructions, text preceding or following reference list in parentheses etc.
498 For instructions on using the various citation forms and output examples get
499 <A HREF="http://www.ctan.org/tex-archive/biblio/bibtex/contrib/apacite/apacite.tex"><TT>apacite.tex</TT></A>,
500 <A HREF="http://www.ctan.org/tex-archive/biblio/bibtex/contrib/apacite/testAPA.tex"><TT>testAPA.tex</TT></A>, and
501 <A HREF="http://www.ctan.org/tex-archive/biblio/bibtex/contrib/apacite/readme.apa"><TT>readme.apa</TT></A>
502 from the CTAN mirror near you.
503 <P>
504 At the end of your document, before any appendices, issue the <TT>\bibliography</TT>
505 command with the file names of the relevant <TT>bib</TT> files (standard <TT>bibtex</TT> usage). Do not use a
506 <TT>\bibliographystyle</TT> command, because <TT>apacite</TT>
507 is selected and loaded automatically (however, for backwards compatibility,
508 any existing <TT>\bibliographystyle</TT> command is nicely ignored with a warning).
509 <P>
510 <B><I>BibLaTeX update:</I></B> As of version 1.3.4, <TT>apa.cls</TT> can also be used with <A HREF="http://www.ctan.org/tex-archive/help/Catalogue/entries/biblatex.html">BibLaTeX</A> (with the <A HREF="http://www.ctan.org/tex-archive/help/Catalogue/entries/biblatex-apa.html">biblatex-apa</A> style by Philip Kime).
511 Use the <TT>noapacite</TT> option to <TT>apa.cls</TT> to prevent it from
512 automatically loading <TT>apacite</TT>. You can then load <TT>biblatex</TT> as
513 usual and use the biblatex-apa package for citations and references. See
514 the <A HREF="http://www.ctan.org/tex-archive/macros/latex/exptl/biblatex/doc/biblatex.pdf">biblatex documentation</A> and <A HREF="http://www.ctan.org/tex-archive/macros/latex/exptl/biblatex-contrib/biblatex-apa/biblatex-apa.pdf">biblatex-apa documentation</A>.
515
516 <H3><A NAME="append">Appendices</A></H3>
517
518
519 The appendix part comes last, that is, after the references section.
520 Consistent with standard LaTeX usage, the command <TT>\appendix</TT> is used once,
521 at the point where your (first) appendix starts, to signal the change from
522 regular matter to appendix matter. From that point on, regular sectioning
523 commands refer to appendix sections. In particular, each use of the <TT>\section</TT>
524 command starts a new appendix. Use, for example<P>
525 <TT>
526 \section{Appendix Title}<BR>
527 </TT><P>
528 to start an appendix (even if there is only one). Each appendix has its title,
529 while numbering (&ldquo;Appendix A,&rdquo; &ldquo;Appendix B&rdquo; etc.) is
530 taken care of automatically in case there are more than one appendices.
531 <P>
532 You are free to
533 use figures and tables in the usual way in the appendix(es). <TT>apa.cls</TT>
534 will number them correctly and include them in the table and figure lists where they
535 belong.
536 <P>
537 You may use
538 cross-references to appendixes, because they are numbered, if there
539 are more than one. A command such as <TT>\label{app:xxx}</TT> after the appendix
540 <TT>\section</TT> sets the label. Then you may refer to this appendix with <P>
541 <TT>Appendix~\ref{app:xxx}</TT><P>
542 from anywhere in your manuscript.
543
544
545 <H3><A NAME="babel">Non-English documents</A></H3>
546
547 As of 2005, <TT>apa.cls</TT> and <TT>apacite</TT> can handle non-English documents with <TT>babel</TT>. Because there are potential conflicts between <TT>apacite</TT> and <TT>babel</TT>, you may not load <TT>babel</TT> from your document, but must pass it as an option to <TT>apa.cls</TT>, so that it can be loaded in the appropriate order and handled correctly. Desired languages are listed as additional options to <TT>apa.cls</TT>, and will be passed on to <TT>babel</TT> automatically when loaded. Remember that the main language of your document is the one listed <I>last</I>. For example, if your article is written in Dutch, use
548 <PRE>
549 \documentclass[man,babel,english,dutch]{apa}
550 </PRE>
551 If, however, your article is in English but you need support for Greek, for example to cite certain passages using <TT>\textgreek</TT>, then use
552 <PRE>
553 \documentclass[man,babel,greek,english]{apa}
554 </PRE>
555 instead.
556 <P>
557 <TT>apa.cls</TT> produces certain strings in the manuscript, mostly as titles to obligatory sections (pages): &ldquo;Running head,&rdquo; &ldquo;Author note,&rdquo; &ldquo;Figure captions,&rdquo; and &ldquo;Footnotes&rdquo; (other strings, such as &ldquo;Abstract,&rdquo; &ldquo;References,&rdquo; and the float labels &ldquo;Table&rdquo; and &ldquo;Figure&rdquo; are handled by <TT>babel</TT> and/or <TT>apacite</TT>). These strings are defined in external files, so new ones can easily be added. These files are named with the language name (as known by <TT>babel</TT>) and the extension <TT>.apa</TT> (for example, <TT>greek.apa</TT>). If the definitions for your languages are not supplied with <TT>apa.cls</TT>, copy <TT>english.apa</TT> with the new file name for your language, and edit the macro definitions inside the new file to display the correct strings in the new language. Send me the new file so it can be included with future distributions of <TT>apa.cls</TT>.
558
559 <H3><A NAME="misc">Miscellaneous</A></H3>
560
561
562 If you use vectors, the command \apavector{X} will make your life easier.
563 <P>
564 If you need to use additional options for <TT>article.cls</TT>, list them as <TT>apa.cls</TT> options and they will be automatically passed along to
565 <TT>article.cls</TT>.
566
567
568 <H2><A NAME="comlist">List of <TT>apa.cls</TT> commands</A></H2>
569
570 In the following alphabetical list of commands you can see the number
571 and kind of parameters needed for the use of each one:<P>
572 <PRE>
573 \abstract{Abstract text}
574 \acknowledgements{Author notes etc.}
575 \affiliation{Department\\ University}
576 \twoaffiliations{Affiliation of 1st Author(s)}{Affil. of 2nd Author(s)}
577 \threeaffiliations{...}{...}{...}
578 \fouraffiliations{...}{...}{...}{...}
579 \fiveaffiliations{...}{...}{...}{...}{...}
580 \sixaffiliations{...}{...}{...}{...}{...}{...}
581 \apamatrix{M}
582 \apavector{A}
583 \appendix
584 \author{Author Name(s)}
585 \twoauthors{First Author(s)}{Second Author(s)}
586 \threeauthors{...}{...}{...}
587 \fourauthors{...}{...}{...}{...}
588 \fiveauthors{...}{...}{...}{...}{...}
589 \sixauthors{...}{...}{...}{...}{...}{...}
590 \ccoppy{Copyright notice}
591 \centeredcaption{width}{caption-text}
592 \copnum{Serial number}
593 \fitbitmap[optional-height]{eps-filename}
594 \fitfigure[optional-height]{eps-filename}
595 \ifapamode{man-code}{jou-code}{doc-code}
596 \ifapamodeman{man-mode-code}{doc-or-jou-code}
597 \ifapamodejou{jou-mode-code}{doc-or-man-code}
598 \ifapamodedoc{doc-mode-code}{man-or-jou-code}
599 \leftheader{Author name list}
600 \journal{Journal name}
601 \maketitle
602 \note{Draft/submission date, etc.}
603 \rightheader{Running head}
604 \shorttitle{Short title}
605 \tabfnm{a}
606 \tabfnt{a}{Note text}
607 \thickline
608 \title{Title}
609 \volume{Volume, number, pages}
610 </PRE>
611
612
613 <H2><A NAME="optlist">List of options to <TT>apa.cls</TT></A></H2>
614
615 <DL>
616 <DT><TT>babel</TT>
617 <DD>Loads <TT>babel</TT> to support hyphenation and features for languages other
618 than English. Desired languages should be listed as additional options
619 after <TT>babel</TT>.
620 <DT><TT>fignum</TT>
621 <DD>Effective in <TT>man</TT> mode, adds figure numbering to the figure pages.
622 Makes it easier to refer to figures and I recommend it for the
623 reviewers' copies, but for the original figures you need to have
624 them printed without this and write the number with pencil on the back.
625 <DT><TT>floatmark</TT>
626 <DD>Effective in <TT>man</TT> mode, inserts placeholders for floats in text
627 (&ldquo;Insert Figure X about here&rdquo; &ndash; no longer required by APA)
628 <DT><TT>helv</TT>
629 <DD>Effective in <TT>man</TT> mode, uses Helvetica as the base typeface
630 <DT><TT>longtable</TT>
631 <DD>Only usable in <TT>man</TT> mode, loads <TT>longtable.sty</TT> if
632 you <EM>really</EM> must use long tables in your manuscript.
633 <DT><TT>noapacite</TT>
634 <DD>Prevents loading of <TT>apacite</TT> to allow use of BibLaTeX with the biblatex-apa
635 style for citations and references. See the biblatex and biblatex-apa documentation.
636 <DT><TT>nobf</TT>
637 <DD>Effective in <TT>man</TT> mode, turns off boldface in section headers for strict
638 conformance to APA style.
639 <DT><TT>nosf</TT>
640 <DD>Effective in <TT>man</TT> mode, neutralizes the <TT>\helvetica</TT> command. <EM>This is
641 only included for backwards compatibility and should not be used any more since
642 the <TT>\helvetica</TT> command is not supported now.</EM>
643 <DT><TT>notab</TT>
644 <DD>Effective in <TT>jou</TT> mode, cancels the automatic stretching of tabular
645 environments to the width of their enclosing float.
646 <DT><TT>notimes</TT>
647 <DD>Effective in <TT>jou</TT> mode, cancels loading <TT>pslatex</TT> (or <TT>times</TT>) and
648 uses computer modern fonts.
649 <DT><TT>notxfonts</TT>
650 <DD>Effective in <TT>jou</TT> mode, ignores search for <TT>txfonts</TT> and tries to load
651 <TT>pslatex</TT> (or <TT>times</TT>) in order to typeset with Times Roman.
652 <DT><TT>tt</TT>
653 <DD>Effective in <TT>man</TT> mode, uses a typewriter base typeface
654 </DL>
655
656 <I>Note:</I> Options may be left in the <TT>\documentclass</TT> line when compiling
657 any mode, since they are quietly ignored when they are not effective.<P>
658
659
660 <H2><A NAME="problems">Possible problems</A></H2>
661
662
663 If you follow the instructions you shouldn't really have any problems.
664 In terms of restrictions, you should keep in mind that only up to six
665 affiliations (for article author(s)) are supported, and that there is no
666 provision for A4 paper dimensions (but see
667 <A HREF="dl/apa/examples.txt"><TT>examples.txt</TT></A> for a workaround).<P>
668
669 <CENTER><I>Last updated on December 9<SUP>th</SUP>, 2008<BR>by
670 <A HREF="mailto:[email protected]">Athanassios Protopapas</I></CENTER>
671
672 </BODY>
673
674 </HTML>