| 1 |
% \iffalse meta-comment |
| 2 |
% !TEX program = pdfLaTeX |
| 3 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 4 |
% % |
| 5 |
% CHANGE THESE VALUES WITH EACH NEW RELEASE: % |
| 6 |
% % |
| 7 |
%<class>\ProvidesClass{apa6}[2023/08/07 v2.35 APA formatting (6th edition)] |
| 8 |
% % |
| 9 |
%<*internal> % |
| 10 |
\def\apaSixVersionDate{2023/08/07} |
| 11 |
\def\apaSixVersionNumber{2.35} |
| 12 |
% % |
| 13 |
% % |
| 14 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 15 |
\iffalse |
| 16 |
%</internal> |
| 17 |
%<*readme> |
| 18 |
---------------------------------------------------------------------- |
| 19 |
|
| 20 |
apa6 - A LaTeX class for formatting documents in compliance with the |
| 21 |
American Psychological Association's Publication Manual, 6th edition |
| 22 |
|
| 23 |
Copyright (C) 2011-2023 by Brian D. Beitzel <brian at beitzel.com> |
| 24 |
|
| 25 |
This work may be distributed and/or modified under the |
| 26 |
conditions of the LaTeX Project Public License (LPPL), either |
| 27 |
version 1.3c of this license or (at your option) any later |
| 28 |
version. The latest version of this license is in the file: |
| 29 |
|
| 30 |
http://www.latex-project.org/lppl.txt |
| 31 |
|
| 32 |
Users may freely modify these files without permission, as long as the |
| 33 |
copyright line and this statement are maintained intact. |
| 34 |
|
| 35 |
This work is not endorsed by, affiliated with, or probably even known |
| 36 |
by, the American Psychological Association. |
| 37 |
|
| 38 |
---------------------------------------------------------------------- |
| 39 |
|
| 40 |
The Publication Manual of the American Psychological Association is |
| 41 |
widely used in the social sciences. The most recent update, in 2009, |
| 42 |
altered the formatting guidelines and therefore rendered existing |
| 43 |
formatting solutions inadequate. The apa6 class is an update of |
| 44 |
older code from the apa class (available from CTAN), which is no |
| 45 |
longer being maintained. New features have also been added, such as |
| 46 |
suppressing references to one's own work to facilitate masked reviews |
| 47 |
of manuscripts by independent reviewers. See the documentation for |
| 48 |
details. |
| 49 |
%</readme> |
| 50 |
%<*internal> |
| 51 |
\fi |
| 52 |
\def\nameofplainTeX{plain} |
| 53 |
\ifx\fmtname\nameofplainTeX\else |
| 54 |
\expandafter\begingroup |
| 55 |
\fi |
| 56 |
%</internal> |
| 57 |
%<*install> |
| 58 |
\input docstrip.tex |
| 59 |
\keepsilent |
| 60 |
\askforoverwritefalse |
| 61 |
\preamble |
| 62 |
---------------------------------------------------------------------- |
| 63 |
|
| 64 |
apa6 - A LaTeX class for formatting documents in compliance with the |
| 65 |
American Psychological Association's Publication Manual, 6th edition |
| 66 |
|
| 67 |
Copyright (C) 2011-2023 by Brian D. Beitzel <brian at beitzel.com> |
| 68 |
|
| 69 |
This work may be distributed and/or modified under the |
| 70 |
conditions of the LaTeX Project Public License (LPPL), either |
| 71 |
version 1.3c of this license or (at your option) any later |
| 72 |
version. The latest version of this license is in the file: |
| 73 |
|
| 74 |
http://www.latex-project.org/lppl.txt |
| 75 |
|
| 76 |
Users may freely modify these files without permission, as long as the |
| 77 |
copyright line and this statement are maintained intact. |
| 78 |
|
| 79 |
This work is not endorsed by, affiliated with, or probably even known |
| 80 |
by, the American Psychological Association. |
| 81 |
|
| 82 |
---------------------------------------------------------------------- |
| 83 |
|
| 84 |
\endpreamble |
| 85 |
\postamble |
| 86 |
|
| 87 |
Copyright (C) 2011-2023 by Brian D. Beitzel <brian at beitzel.com> |
| 88 |
|
| 89 |
This work may be distributed and/or modified under the |
| 90 |
conditions of the LaTeX Project Public License (LPPL), either |
| 91 |
version 1.3c of this license or (at your option) any later |
| 92 |
version. The latest version of this license is in the file: |
| 93 |
|
| 94 |
http://www.latex-project.org/lppl.txt |
| 95 |
|
| 96 |
Users may freely modify these files without permission, as long as the |
| 97 |
copyright line and this statement are maintained intact. |
| 98 |
|
| 99 |
This work is not endorsed by, affiliated with, or probably even known |
| 100 |
by, the American Psychological Association. |
| 101 |
|
| 102 |
|
| 103 |
This work is "maintained" (as per LPPL maintenance status) by |
| 104 |
Brian D. Beitzel. |
| 105 |
|
| 106 |
This work consists of the file apa6.dtx |
| 107 |
and the derived files apa6.ins, |
| 108 |
apa6.cls, |
| 109 |
apa6.pdf, |
| 110 |
README, |
| 111 |
APAamerican.txt, |
| 112 |
APAbritish.txt, |
| 113 |
APAdutch.txt, |
| 114 |
APAenglish.txt, |
| 115 |
APAgerman.txt, |
| 116 |
APAngerman.txt, |
| 117 |
APAgreek.txt, |
| 118 |
APAczech.txt, |
| 119 |
APAturkish.txt, |
| 120 |
APAendfloat.cfg, |
| 121 |
apa6.ptex, |
| 122 |
TeX2WordForapa6.bas, |
| 123 |
Figure1.pdf, |
| 124 |
shortsample.tex, |
| 125 |
longsample.tex, and |
| 126 |
bibliography.bib. |
| 127 |
|
| 128 |
\endpostamble |
| 129 |
\usedir{tex/latex/apa6} |
| 130 |
\generate{ |
| 131 |
\file{\jobname.cls}{\from{\jobname.dtx}{class}} |
| 132 |
} |
| 133 |
\usedir{tex/latex/apa6/config} |
| 134 |
\generate{ |
| 135 |
\file{./config/APAamerican.txt}{\from{\jobname.dtx}{american}} |
| 136 |
\file{./config/APAbritish.txt}{\from{\jobname.dtx}{british}} |
| 137 |
\file{./config/APAdutch.txt}{\from{\jobname.dtx}{dutch}} |
| 138 |
\file{./config/APAenglish.txt}{\from{\jobname.dtx}{english}} |
| 139 |
\file{./config/APAgerman.txt}{\from{\jobname.dtx}{german}} |
| 140 |
\file{./config/APAngerman.txt}{\from{\jobname.dtx}{ngerman}} |
| 141 |
\file{./config/APAgreek.txt}{\from{\jobname.dtx}{greek}} |
| 142 |
\file{./config/APAczech.txt}{\from{\jobname.dtx}{czech}} |
| 143 |
\file{./config/APAturkish.txt}{\from{\jobname.dtx}{turkish}} |
| 144 |
\file{./config/APAendfloat.cfg}{\from{\jobname.dtx}{APAendfloat}} |
| 145 |
} |
| 146 |
\usedir{tex/latex/apa6/samples} |
| 147 |
\generate{ |
| 148 |
\file{./samples/bibliography.bib}{\from{\jobname.dtx}{bibliography}} |
| 149 |
\file{./samples/shortsample.tex}{\from{\jobname.dtx}{shortsample}} |
| 150 |
\file{./samples/longsample.tex}{\from{\jobname.dtx}{longsample}} |
| 151 |
} |
| 152 |
\usedir{tex/latex/apa6/pseudoTeX} |
| 153 |
\generate{ |
| 154 |
\file{./pseudoTeX/apa6.ptex}{\from{\jobname.dtx}{ptex}} |
| 155 |
\file{./pseudoTeX/TeX2WordForapa6.bas}{\from{\jobname.dtx}{bas}} |
| 156 |
} |
| 157 |
%</install> |
| 158 |
%<install>\endbatchfile |
| 159 |
%<*internal> |
| 160 |
\usedir{source/latex/apa6} |
| 161 |
\generate{ |
| 162 |
\file{\jobname.ins}{\from{\jobname.dtx}{install}} |
| 163 |
} |
| 164 |
\nopreamble\nopostamble |
| 165 |
\usedir{doc/latex/apa6} |
| 166 |
\generate{ |
| 167 |
\file{README.txt}{\from{\jobname.dtx}{readme}} |
| 168 |
} |
| 169 |
\ifx\fmtname\nameofplainTeX |
| 170 |
\expandafter\endbatchfile |
| 171 |
\else |
| 172 |
\expandafter\endgroup |
| 173 |
\fi |
| 174 |
%</internal> |
| 175 |
%<class>\NeedsTeXFormat{LaTeX2e} |
| 176 |
%<*driver> |
| 177 |
\documentclass{ltxdoc} |
| 178 |
\usepackage[T1]{fontenc} |
| 179 |
\usepackage{lmodern} |
| 180 |
\usepackage{hyperref} |
| 181 |
\usepackage{graphicx} |
| 182 |
\usepackage{booktabs} |
| 183 |
\EnableCrossrefs |
| 184 |
\CodelineIndex |
| 185 |
\OnlyDescription % don't publish the full code in the PDF documentation file |
| 186 |
\RecordChanges |
| 187 |
\begin{document} |
| 188 |
\DocInput{\jobname.dtx} |
| 189 |
\end{document} |
| 190 |
%</driver> |
| 191 |
% \fi |
| 192 |
% |
| 193 |
%\DoNotIndex{\#,\$,\%,\&,\@,\\,\{,\},\^,\_,\~,\ } |
| 194 |
%\DoNotIndex{\@ne} |
| 195 |
%\DoNotIndex{\advance,\begingroup,\catcode,\closein} |
| 196 |
%\DoNotIndex{\closeout,\day,\def,\edef,\else,\empty,\endgroup} |
| 197 |
%\DoNotIndex{\newcommand,\renewcommand} |
| 198 |
% |
| 199 |
% \ifpdf |
| 200 |
% \hypersetup{% |
| 201 |
% pdfauthor = {Brian D. Beitzel <[email protected]>}, |
| 202 |
% pdftitle = {The apa6 class}, |
| 203 |
% pdfsubject = {Documentation of LaTeX class apa6}, |
| 204 |
% pdfkeywords = {LaTeX, APA} |
| 205 |
% }% |
| 206 |
% \fi |
| 207 |
% |
| 208 |
% \title{^^A |
| 209 |
% Formatting documents in APA style (6th Edition)\\^^A |
| 210 |
% with the \textsf{apa6} \LaTeX\ class^^A |
| 211 |
% \thanks{This file describes version ^^A |
| 212 |
% \apaSixVersionNumber, last revised \apaSixVersionDate.}^^A |
| 213 |
% } |
| 214 |
% \author{Brian D.\ Beitzel\thanks{E-mail: [email protected]}} |
| 215 |
% \date{Released \apaSixVersionDate} |
| 216 |
% |
| 217 |
% \maketitle |
| 218 |
% |
| 219 |
% \changes{v1.0}{2011/11/24}{Initial release} |
| 220 |
% |
| 221 |
% \changes{v1.01}{2011/11/28}{Prepended config files with `APA' to |
| 222 |
% prevent possible conflicts along the \LaTeX\ path.} |
| 223 |
% \changes{v1.01}{2011/11/28}{Minor changes in `apa6.ptex' to |
| 224 |
% accommodate the \cs{note} command.} |
| 225 |
% |
| 226 |
% \changes{v1.02}{2011/12/01}{More reliable font-size selection} |
| 227 |
% \changes{v1.02}{2011/12/01}{Corrected default mode to jou} |
| 228 |
% |
| 229 |
% \changes{v1.11}{2011/12/10}{New option `noextraspace'} |
| 230 |
% \changes{v1.11}{2011/12/10}{Added German language support} |
| 231 |
% \changes{v1.11}{2011/12/10}{Removed automated rotation of wide figures} |
| 232 |
% \changes{v1.11}{2011/12/10}{Load lmodern and fontenc by default} |
| 233 |
% \changes{v1.11}{2011/12/10}{Allow whitespace after subsubsection |
| 234 |
% (and lower) sectioning commands} |
| 235 |
% |
| 236 |
% \changes{v1.12}{2011/12/12}{Fixed bug that erroneously displayed the |
| 237 |
% first figure on the same page as the references (when no tables were |
| 238 |
% present)} |
| 239 |
% |
| 240 |
% \changes{v1.13}{2012/01/16}{Removed duplicate definitions of |
| 241 |
% ifapamodeXXX} |
| 242 |
% \changes{v1.13}{2012/01/16}{Removed redundant definition of |
| 243 |
% LT@makecaption} |
| 244 |
% \changes{v1.13}{2012/01/16}{Removed hyphenation of figure and table |
| 245 |
% captions in man mode} |
| 246 |
% \changes{v1.13}{2012/01/16}{Increased spacing on top and bottom of |
| 247 |
% tables (below caption and above table notes, if present)} |
| 248 |
% |
| 249 |
% \changes{v1.2}{2012/02/15}{Added `APAbritish.txt' configuration |
| 250 |
% file} |
| 251 |
% \changes{v1.2}{2012/02/15}{Version 6.00 (2012/02/14) or later of the |
| 252 |
% apacite package is now required} |
| 253 |
% |
| 254 |
% \changes{v1.25}{2012/02/23}{Fixed incompatibility with hyperref package} |
| 255 |
% \changes{v1.25}{2012/02/23}{Localized `Keywords' label (in config file)} |
| 256 |
% |
| 257 |
% \changes{v1.27}{2012/03/24}{Added `APAczech.txt' configuration} |
| 258 |
% |
| 259 |
% \changes{v1.3}{2012/04/04}{Added `a4paper' option} |
| 260 |
% |
| 261 |
% \changes{v2.0}{2012/10/20}{EndNote integration via `apa6.ptex' file |
| 262 |
% and `FormatTex2WordDocument' macro} |
| 263 |
% \changes{v2.0}{2012/10/20}{Fixed `headwidth' for `doc' mode} |
| 264 |
% |
| 265 |
% \changes{v2.01}{2012/10/25}{Really fixed `headwidth' for `doc' mode} |
| 266 |
% |
| 267 |
% \changes{v2.05}{2012/10/26}{Resolved the EndNote @@author-year |
| 268 |
% specification causing no files to be found} |
| 269 |
% |
| 270 |
% \changes{v2.10}{2012/12/21}{Package `biber' now required when using |
| 271 |
% biblatex} |
| 272 |
% |
| 273 |
% \changes{v2.10}{2012/12/21}{apa6.ptex file now honors `mask' option} |
| 274 |
% |
| 275 |
% \changes{v2.11}{2012/12/29}{Refined handling of `mask' option in the |
| 276 |
% apa6.ptex file} |
| 277 |
% |
| 278 |
% \changes{v2.12}{2013/01/09}{Fixed `jou' mode to handle a starting |
| 279 |
% page other than 1} |
| 280 |
% |
| 281 |
% \changes{v2.13}{2013/06/26}{Fixed bug for `natbib' bibliography heading} |
| 282 |
% |
| 283 |
% \changes{v2.13}{2013/06/26}{Disabled overwriting of the `enumerate' |
| 284 |
% and `itemize' environments by `APAenumerate' and `APAitemize'; now |
| 285 |
% the `enumerate' and `itemize' environments are passed to standard |
| 286 |
% \LaTeX\ and will nest properly.} |
| 287 |
% |
| 288 |
% \changes{v2.14}{2014/11/20}{Fixed compatiblity with `nameref' for |
| 289 |
% appendices} |
| 290 |
% \changes{v2.14}{2014/11/20}{Fixed bug specifying the headwidth for |
| 291 |
% `doc' format} |
| 292 |
% |
| 293 |
% \changes{v2.20}{2016/05/26}{Added Turkish localization file} |
| 294 |
% \changes{v2.20}{2016/05/26}{Corrected `doc' mode to be one-sided} |
| 295 |
% |
| 296 |
% \changes{v2.21}{2016/07/02}{Added code to be more friendly to |
| 297 |
% rotated tables in `man' mode} |
| 298 |
% |
| 299 |
% \changes{v2.22}{2016/07/02}{Bug fix for `floatsintext' option with |
| 300 |
% sideways tables} |
| 301 |
% |
| 302 |
% \changes{v2.23}{2016/10/31}{Bug fix for rotated tables in `man' |
| 303 |
% mode} |
| 304 |
% |
| 305 |
% \changes{v2.30}{2016/11/15}{Suppress trailing period for section |
| 306 |
% headings ending with a question mark} |
| 307 |
% |
| 308 |
% \changes{v2.31}{2017/05/30}{Tweak to allow the last reference to be |
| 309 |
% properly indented on the final line of the reference list} |
| 310 |
% |
| 311 |
% \changes{v2.32}{2017/06/20}{Minor adjustments to line spacing (e.g., |
| 312 |
% between footnotes) for uniformity across manuscript elements; and |
| 313 |
% making footnotes ragged-right justified} |
| 314 |
% |
| 315 |
% \changes{v2.33}{2018/09/01}{Eliminated extra blank page before |
| 316 |
% the References page under some circumstances} |
| 317 |
% |
| 318 |
% \changes{v2.34}{2020/01/13}{Provided the full title as the short |
| 319 |
% title if the full title is 50 or fewer characters} |
| 320 |
% |
| 321 |
% \changes{v2.34}{2020/01/13}{Changed biblatex loading to freeze to |
| 322 |
% APA 6th Edition compatibility} |
| 323 |
% |
| 324 |
% \changes{v2.35}{2023/08/07}{Sanitize title string (credit: Ulrike |
| 325 |
% Fischer)} |
| 326 |
% |
| 327 |
% \begin{abstract} |
| 328 |
% The \textit{Publication Manual} of the American Psychological |
| 329 |
% Association is widely used in the social sciences. The most |
| 330 |
% recent update, in 2009, altered the formatting guidelines and |
| 331 |
% therefore rendered existing formatting solutions inadequate. The |
| 332 |
% \textsf{apa6} class is an update of older code from the |
| 333 |
% \textsf{apa} class, which is no longer being maintained. New |
| 334 |
% features have also been added, such as suppressing references to |
| 335 |
% one's own work to facilitate masked reviews of manuscripts by |
| 336 |
% independent reviewers. |
| 337 |
% \end{abstract} |
| 338 |
% |
| 339 |
% \section{Background} |
| 340 |
% Most journals in the social sciences require manuscripts to be |
| 341 |
% formatted in compliance with the American Psychological |
| 342 |
% Association's \textit{Publication Manual}, which is updated |
| 343 |
% periodically. The 6th Edition, released in 2009, substantially |
| 344 |
% changed the guidelines for formatting manuscripts; these |
| 345 |
% modifications rendered existing formatting solutions (e.g., the |
| 346 |
% \textsf{apa} \LaTeX\ class) inadequate for venues in which 6th |
| 347 |
% Edition guidelines are being enforced. The \textsf{apa6} class |
| 348 |
% solves this problem, and provides some new functionality not offered |
| 349 |
% by the \textsf{apa} class. |
| 350 |
% |
| 351 |
% \section{Disclaimer} |
| 352 |
% Great care has been taken to ensure the closest possible match |
| 353 |
% between APA requirements and the output of this class. However, it |
| 354 |
% is the sole responsibility of the user to ensure compliance with |
| 355 |
% specific journal submission requirements! |
| 356 |
% |
| 357 |
% \section{Usage} |
| 358 |
% \label{sec:usage} |
| 359 |
% |
| 360 |
% \subsection{Class Options} |
| 361 |
% \label{sec:classoptions} |
| 362 |
% When loading \textsf{apa6} with |
| 363 |
% |\documentclass|\oarg{options}|{apa6}|, the following options are |
| 364 |
% available. |
| 365 |
% |
| 366 |
% \vspace{1em} |
| 367 |
% \textbf{Document mode:} Three choices are available. |
| 368 |
% \begin{itemize} |
| 369 |
% \item \DescribeMacro{jou}|jou| (default): Formats the document with an |
| 370 |
% appearance resembling a printed APA journal (e.g., \textit{Journal |
| 371 |
% of Educational Psychology}. The text is typeset in two-sided, |
| 372 |
% two-column format. |
| 373 |
% \item \DescribeMacro{man}|man|: Formats the document in close (if |
| 374 |
% not complete) compliance with the requirements for submission to |
| 375 |
% an APA journal (e.g., title page, double-spacing, etc.). |
| 376 |
% \item \DescribeMacro{doc}|doc|: Formats the document as a typical |
| 377 |
% \LaTeX\ document (one-sided, single-column, etc.) |
| 378 |
% \end{itemize} |
| 379 |
% |
| 380 |
% \textbf{Other class options:} |
| 381 |
% \begin{itemize} |
| 382 |
% \item \DescribeMacro{10pt}|10pt|: Typesets the document in 10-point |
| 383 |
% font. |
| 384 |
% \item \DescribeMacro{11pt}|11pt|: Typesets the document in 11-point |
| 385 |
% font. |
| 386 |
% \item \DescribeMacro{12pt}|12pt|: Typesets the document in 12-point |
| 387 |
% font. |
| 388 |
% \item \DescribeMacro{a4paper}|a4paper|: Specifies A4 paper size |
| 389 |
% (letter is default). |
| 390 |
% \item \DescribeMacro{nolmodern}|nolmodern|: Suppresses loading of the |
| 391 |
% \textsf{lmodern} package. |
| 392 |
% \item \DescribeMacro{nofontenc}|nofontenc|: Suppresses loading of the |
| 393 |
% \textsf{fontenc} package (which is needed for proper hyphenation |
| 394 |
% of accented characters). |
| 395 |
% \item \DescribeMacro{babel}|babel|: In all modes, loads |
| 396 |
% \textsf{babel}; the desired language(s) are listed as options |
| 397 |
% immediately following |babel|; the last language listed is the |
| 398 |
% main one. |
| 399 |
% \item \DescribeMacro{noextraspace}|noextraspace|: In |man| mode, |
| 400 |
% removes some of the vertical space between certain elements (e.g., |
| 401 |
% headers and text) in an attempt to more closely resemble true |
| 402 |
% double-spacing (use at your own risk). |
| 403 |
% \item \DescribeMacro{floatsintext}|floatsintext|: In |man| mode, |
| 404 |
% integrates floats (tables and figures) within the body of the text |
| 405 |
% instead of postponing them until after the reference list. |
| 406 |
% \item \DescribeMacro{biblatex}|biblatex|: Loads the |
| 407 |
% \textsf{biblatex} package; see Section~\ref{sec:biblatexinfo} for |
| 408 |
% details. |
| 409 |
% \item \DescribeMacro{apacite}|apacite|: Loads the \textsf{apacite} |
| 410 |
% package; see Section~\ref{sec:apaciteinfo} for details. |
| 411 |
% \item \DescribeMacro{natbib}|natbib|: See |
| 412 |
% Section~\ref{sec:natbibinfo} for details. |
| 413 |
% \item \DescribeMacro{mask}|mask|: Masks references that are marked |
| 414 |
% as the author's own (for masked peer review); see |
| 415 |
% Section~\ref{sec:masking} for details. |
| 416 |
% \item \DescribeMacro{longtable}|longtable|: If you \textit{must} use |
| 417 |
% long tables (exceeding one page in length), try this option (but |
| 418 |
% it may not work in all contexts). Do \textbf{\textit{not}} load |
| 419 |
% \textsf{longtable} yourself because of precedence requirements |
| 420 |
% with the \textsf{endfloat} package. Copy the file |
| 421 |
% |APAendfloat.cfg| from the ``config'' folder of your \textsf{apa} |
| 422 |
% installation to the working folder of your document (not in your |
| 423 |
% |texmf| tree), and rename it to |endfloat.cfg| so that endfloat |
| 424 |
% will recognize it. The supplied |APAendfloat.cfg| file will also |
| 425 |
% be necessary in conjunction with the \textsf{rotating} package |
| 426 |
% (and its |\sideways| command) to produce rotated tables; this |
| 427 |
% works for |man| mode only. For rotated tables in |jou| or |doc| |
| 428 |
% mode, the \textsf{rotating} package may be used. If sideways |
| 429 |
% tables get pushed to the end of your document with the |
| 430 |
% |floatsintext| option, try using the |ph!| placement specifier for |
| 431 |
% your sideways table(s); for example, |\begin{sidewaystable}[ph!]|. |
| 432 |
% \item \DescribeMacro{notxfonts}|notxfonts|: In |jou| mode, prevents |
| 433 |
% \textsf{txfonts} from loading, in case \textsf{pslatex} or |
| 434 |
% \textsf{times} is preferable for some reason. |
| 435 |
% \item \DescribeMacro{notimes}|notimes|: In |jou| mode, cancels |
| 436 |
% loading \textsf{txfonts} or \textsf{pslatex} or \textsf{times} and |
| 437 |
% uses Computer Modern instead. |
| 438 |
% \item \DescribeMacro{notab}|notab|: In |jou| mode, cancels the |
| 439 |
% automatic stretching of tabular environments to the width of their |
| 440 |
% enclosing float. |
| 441 |
% \item \DescribeMacro{helv}|helv|: In |man| mode, |
| 442 |
% uses Helvetica font instead of Computer Modern. |
| 443 |
% \item \DescribeMacro{nosf}|nosf|: In |man| mode, |
| 444 |
% neutralizes the |\helvetica| command. |
| 445 |
% \item \DescribeMacro{tt}|tt|: In |man| mode, uses typewriter-like |
| 446 |
% font. |
| 447 |
% \item \DescribeMacro{draftfirst}|draftfirst|: In all modes, places |
| 448 |
% the word ``DRAFT'' as a watermark across the first page. |
| 449 |
% \item \DescribeMacro{draftall}|draftall|: In all modes, places the |
| 450 |
% word ``DRAFT'' as a watermark across all pages. |
| 451 |
% \end{itemize} |
| 452 |
% |
| 453 |
% Class options not handled by \textsf{apa6} (e.g., |draft|) will be |
| 454 |
% passed on to the \textsf{article} class. |
| 455 |
% |
| 456 |
% \subsection{Document Preamble} |
| 457 |
% \label{sec:preamble} |
| 458 |
% The following commands are available within the document preamble |
| 459 |
% (i.e., the part of the file preceding |\begin{document}|). |
| 460 |
% |
| 461 |
% \begin{itemize} |
| 462 |
% \item \DescribeMacro{\title}|\title|\marg{document-title}: The title of the document |
| 463 |
% \item \DescribeMacro{\shorttitle}|\shorttitle|\marg{short-title}: A |
| 464 |
% shortened version of the title (for page headers) |
| 465 |
% \item \DescribeMacro{\author}|\author|\marg{author(s)}: Author name(s) |
| 466 |
% \end{itemize} |
| 467 |
% |
| 468 |
% For authors across multiple affiliations, follow these formats, |
| 469 |
% noting that authors must be matched in sequence with their |
| 470 |
% affiliations in the |\affiliation| command (hence multiple authors |
| 471 |
% inside some braces represent multiple authors from the same |
| 472 |
% institution):\par |
| 473 |
% |\twoauthors{First Author(s)}{Second Author(s)}|\par |
| 474 |
% |\threeauthors{John and Jim}{Mary and Sue}{Nick}|\par |
| 475 |
% |\fourauthors{Helen}{Dick}{Tracy and Larry}{James Bond}|\par |
| 476 |
% |\fiveauthors{...}{...}{...}{...}{...}|\par |
| 477 |
% |\sixauthors{...}{...}{...}{...}{...}{...}|\par |
| 478 |
% \begin{itemize} |
| 479 |
% \item |
| 480 |
% \DescribeMacro{\leftheader}|\leftheader|\marg{author-last-name(s)}: |
| 481 |
% Author last name(s) (for even-page headers in |jou| mode) |
| 482 |
% \item |
| 483 |
% \DescribeMacro{\affiliation}|\affiliation|\marg{affiliation(s)}: |
| 484 |
% Author affiliation(s) |
| 485 |
% \end{itemize} |
| 486 |
% |
| 487 |
% For multiple affiliations, follow these formats:\par |
| 488 |
% |\twoaffiliations{Affil. of 1st Author(s)}{Affil. 2nd Author(s)}|\par |
| 489 |
% |\threeaffiliations{U of A}{U of B}{U of C}|\par |
| 490 |
% |\fouraffiliations{My Company}{Your Department}{Heaven}{Earth}|\par |
| 491 |
% |\fiveaffiliations{...}{...}{...}{...}{...}|\par |
| 492 |
% |\sixaffiliations{...}{...}{...}{...}{...}{...}|\par |
| 493 |
% \begin{itemize} |
| 494 |
% \item \DescribeMacro{\abstract}|\abstract|\marg{abstract-text}: The |
| 495 |
% abstract of the article |
| 496 |
% \item \DescribeMacro{\keywords}|\keywords|\marg{keywords}: Keywords |
| 497 |
% (typeset after the abstract) See Section~\ref{sec:keywords} for |
| 498 |
% details regarding language localization of the ``Keywords'' label. |
| 499 |
% \item \DescribeMacro{\authornote}|\authornote|\marg{author-note}: |
| 500 |
% The Author Note, containing contact information, acknowledgements, |
| 501 |
% etc. |
| 502 |
% \end{itemize} |
| 503 |
% |
| 504 |
% Optional; use if desired:\par |
| 505 |
% \begin{itemize} |
| 506 |
% \item \DescribeMacro{\note}|\note|\marg{note-text}: Notation of |
| 507 |
% manuscript date or other information desired beneath the |
| 508 |
% affiliation line |
| 509 |
% \item \DescribeMacro{\journal}|\journal|\marg{journal-name}: Journal |
| 510 |
% name or other note; typeset in the top left header of page 1 |
| 511 |
% (|jou| and |doc| modes only); to change the starting page to a |
| 512 |
% number other than 1, insert the following line immediately after |
| 513 |
% |\maketitle|:\\ |
| 514 |
% |\setcounter{page}|\marg{custom-page-number} |
| 515 |
% \item \DescribeMacro{\volume}|\volume|\marg{journal-volume}: Volume, |
| 516 |
% number, pages; typeset in the top left header in |jou| and |doc| |
| 517 |
% modes, underneath the content of |\journal| |
| 518 |
% \item \DescribeMacro{\ccoppy}|\ccoppy|\marg{copright-notice}: |
| 519 |
% Copyright notice, etc.; typeset in the top right header of page 1 |
| 520 |
% (|jou| and |doc| modes only) |
| 521 |
% \item \DescribeMacro{\copnum}|\copnum|\marg{more-copyright-info}: |
| 522 |
% Any additional text needed; typeset in the top right header in |
| 523 |
% |jou| and |doc| modes, underneath the content of |\ccoppy| |
| 524 |
% \end{itemize} |
| 525 |
% |
| 526 |
% \subsection{Maketitle} |
| 527 |
% The \DescribeMacro{\maketitle}|\maketitle| command formats the |
| 528 |
% document title, page headers, author list, author affiliations, |
| 529 |
% Author Note (if provided), abstract according to whether |jou|, |
| 530 |
% |man|, or |doc| mode has been specified. This command should be |
| 531 |
% on the line after |\begin{document}|, with the first line of text |
| 532 |
% immediately following the |\maketitle| line (no blank lines). |
| 533 |
% |
| 534 |
% \subsection{Heading Levels} |
| 535 |
% \label{sec:headinglevels} |
| 536 |
% Heading levels are automatically formatted using the following |
| 537 |
% standard \LaTeX\ commands: |
| 538 |
% \begin{itemize} |
| 539 |
% \item \DescribeMacro{\section}|\section|\marg{title} |
| 540 |
% \item \DescribeMacro{\subsection}|\subsection|\marg{title} |
| 541 |
% \item \DescribeMacro{\subsubsection}|\subsubsection|\marg{title} |
| 542 |
% \item \DescribeMacro{\paragraph}|\paragraph|\marg{title} |
| 543 |
% \item \DescribeMacro{\subparagraph}|\subparagraph|\marg{title} |
| 544 |
% \end{itemize} |
| 545 |
% |
| 546 |
% Please note that sections cannot be |\ref|'d since APA style does |
| 547 |
% not use numbered sections. So |\label| commands are unnecessary |
| 548 |
% unless you wish to use |\refname|. |
| 549 |
% |
| 550 |
% \subsection{Enumeration} |
| 551 |
% \label{sec:enumeration} |
| 552 |
% Several forms of enumeration are provided, as follows. |
| 553 |
% |
| 554 |
% \vspace{0.6em} |
| 555 |
% \DescribeMacro{\begin\{seriate\}} \DescribeMacro{\end\{seriate\}} |
| 556 |
% |Blah blah blah|\par |
| 557 |
% |\begin{seriate}|\par |
| 558 |
% | \item first item,|\par |
| 559 |
% | \item second item.|\par |
| 560 |
% |\end{seriate}|\par |
| 561 |
% |Blah blah blah|\par\vspace{0.6em} |
| 562 |
% \noindent results in:\par\vspace{0.6em} |
| 563 |
% |Blah blah blah (a) first item, (b) second item. Blah blah blah| |
| 564 |
% |
| 565 |
% \vspace{3em} |
| 566 |
% \DescribeMacro{\begin\{APAenumerate\}} \DescribeMacro{\end\{APAenumerate\}} |
| 567 |
% |Blah blah blah|\par |
| 568 |
% |\begin{APAenumerate}|\par |
| 569 |
% | \item first item ... ... ... continue continue|\par |
| 570 |
% | \item second item ... ... ... continue continue|\par |
| 571 |
% |\end{APAenumerate}|\par |
| 572 |
% |Blah blah blah|\par\vspace{0.6em} |
| 573 |
% \noindent results in:\par\vspace{0.6em} |
| 574 |
% |Blah blah blah|\par |
| 575 |
% | 1. first item ... ... ...|\par |
| 576 |
% |continue continue|\par |
| 577 |
% | 2. second item ... ... ...|\par |
| 578 |
% |continue continue|\par |
| 579 |
% |Blah blah blah|\par |
| 580 |
% |
| 581 |
% \vspace{3em} |
| 582 |
% \DescribeMacro{\begin\{APAitemize\}} \DescribeMacro{\end\{APAitemize\}} |
| 583 |
% |Blah blah blah|\par |
| 584 |
% |\begin{APAitemize}|\par |
| 585 |
% | \item first item ... ... ... continue continue|\par |
| 586 |
% | \item second item ... ... ... continue continue|\par |
| 587 |
% |\end{APAitemize}|\par |
| 588 |
% |Blah blah blah|\par\vspace{0.6em} |
| 589 |
% \noindent results in:\par\vspace{0.6em} |
| 590 |
% |Blah blah blah|\par |
| 591 |
% | o first item ... ... ...|\par |
| 592 |
% |continue continue|\par |
| 593 |
% | o second item ... ... ...|\par |
| 594 |
% |continue continue|\par |
| 595 |
% |Blah blah blah|\par |
| 596 |
% |
| 597 |
% \vspace{0.6em} |
| 598 |
% In addition to the above, all standard \LaTeX\ enumeration |
| 599 |
% environments are available (e.g., |enumerate| and |itemize|). |
| 600 |
% |
| 601 |
% \subsection{Other Macros} |
| 602 |
% \label{sec:othermacros} |
| 603 |
% \begin{itemize} |
| 604 |
% \item \DescribeMacro{\begin\{figure*\}} \DescribeMacro{\end\{figure*\}} |
| 605 |
% \DescribeMacro{\begin\{table*\}} \DescribeMacro{\end\{table*\}} |
| 606 |
% When a figure is too wide for a single column (in |jou| mode), use |
| 607 |
% |\begin{figure*}| and |\end{figure*}| instead of the non-starred |
| 608 |
% version. The same applies with |\begin{table*}| and |\end{table*}|. |
| 609 |
% When using double-column tables or figures (|jou| mode), use the |
| 610 |
% |\centering| command; for example:\par |
| 611 |
% |\begin{table*}|\par\vspace{-.5em} |
| 612 |
% | \centering|\par\vspace{-.5em} |
| 613 |
% | \begin{threeparttable}|\par |
| 614 |
% \item |
| 615 |
% \DescribeMacro{\fitfigure}|\fitfigure|\oarg{height}\marg{eps-filename}: |
| 616 |
% Automatically fit a postscript figure; use instead of |
| 617 |
% |\includegraphics| |
| 618 |
% \item |
| 619 |
% \DescribeMacro{\fitbitmap}|\fitbitmap|\oarg{height}\marg{eps-filename}: |
| 620 |
% Same as |\fitfigure| but won't scale figure in |\man| mode for |
| 621 |
% best reproduction of bitmap figures |
| 622 |
% \item \DescribeMacro{\tabfnm}|\tabfnm{a}|: Place a superscript |
| 623 |
% \textbf{f}oot\textbf{n}ote \textbf{m}ark inside a table cell. Any |
| 624 |
% series of unique identifiers can be used in place of |a|. |
| 625 |
% \item \DescribeMacro{\tabfnt}|\tabfnt{a}|\marg{footnote-text}: |
| 626 |
% Within table footnotes, specify the \textbf{f}oot\textbf{n}ote |
| 627 |
% \textbf{t}ext for |\tabfnm{a}| |
| 628 |
% \item \DescribeMacro{\apavector}|\apavector|\marg{symbol}: Format |
| 629 |
% the \marg{symbol} as a vector by APA rules |
| 630 |
% \end{itemize} |
| 631 |
% |
| 632 |
% \subsection{Appendices} |
| 633 |
% \label{sec:appendices} |
| 634 |
% \begin{itemize} |
| 635 |
% \item \DescribeMacro{\appendix}|\appendix|: Begins the appendices |
| 636 |
% portion of the document |
| 637 |
% \item \DescribeMacro{\section}|\section|\marg{appendix-title}: |
| 638 |
% Begins each appendix |
| 639 |
% \end{itemize} |
| 640 |
% |
| 641 |
% Because appendices are numbered (with letters!) you may establish a |
| 642 |
% label for each appendix (e.g., |\label{app:xxx}|); when there is |
| 643 |
% more than one appendix, use |Appendix~\ref{app:xxx}| within the main |
| 644 |
% body of the text to refer to that appendix. (Of course, if there is |
| 645 |
% only one appendix, simply refer to it as |the Appendix|.) |
| 646 |
% |
| 647 |
% \section{Known Limitations} |
| 648 |
% \begin{itemize} |
| 649 |
% \item There is a limit of six affiliations for authors (but an |
| 650 |
% unlimited number of authors across those six affiliations). |
| 651 |
% \item The |APAenumerate| environment does not nest properly. |
| 652 |
% \end{itemize} |
| 653 |
% |
| 654 |
% \section{Development of \textsf{apa6}} |
| 655 |
% The base code for this class is the \textsf{apa} class, which in |
| 656 |
% turn was based upon other sources. In order to comply with 6th |
| 657 |
% Edition criteria, certain changes had to be made to update the |
| 658 |
% \textsf{apa} code. |
| 659 |
% |
| 660 |
% \subsection{Section Headings} |
| 661 |
% Most prominently, the formatting of section headings had to be |
| 662 |
% altered. The 6th Edition specifies a more straightforward series of |
| 663 |
% heading levels than previous editions did. Briefly, the top-level |
| 664 |
% heading is now boldfaced and centered, upper- and lower-case, no |
| 665 |
% matter now many levels of heading are in the document; other heading |
| 666 |
% levels have similar specifications. The \textsf{apa6} class |
| 667 |
% utilizes code (with permission) from the \textsf{apa6e} class to |
| 668 |
% comply with all of these specifications. |
| 669 |
% |
| 670 |
% \subsection{Float Placement} |
| 671 |
% The placement of floats (i.e., tables and figures) within an |
| 672 |
% APA-style manuscript has also changed. The 6th Edition requires |
| 673 |
% that tables and figures (in that order) be placed after the |
| 674 |
% references but before the appendices. This creates a bit of a |
| 675 |
% conundrum as to what should happen with tables or figures that are |
| 676 |
% ultimately typeset within an appendix. The choices we are left with |
| 677 |
% are to place appendix floats (a) along with the floats from the main |
| 678 |
% part of the manuscript, which would mean that appendix floats appear |
| 679 |
% prior to the point at which they are mentioned; (b) within the |
| 680 |
% appendices themselves, which is not consistent with how floats in |
| 681 |
% the main part of the manuscript are handled; or (c) in a separate |
| 682 |
% float section that follows the appendices, which results in two |
| 683 |
% float sections. Obviously none of these choices is satisfactory, so |
| 684 |
% I posed the question to APA's Style Expert. He responded that at |
| 685 |
% least for APA's journals ``it doesn't matter whether appendix tables |
| 686 |
% are submitted with text tables or separately, as long as they are |
| 687 |
% numbered correctly (e.g., Table A1, Table B1, etc.)'' (J.\ |
| 688 |
% Hume-Pratuch, personal communication, June 15, 2011). Therefore, |
| 689 |
% \textsf{apa6} takes the most straightforward approach and includes |
| 690 |
% all appendix floats within the body of the relevant appendix. This |
| 691 |
% also has the advantage of making appendices more readable. |
| 692 |
% |
| 693 |
% Because the 6th Edition requires figure captions to be printed on |
| 694 |
% the same page as their respective figures, there are no more Figure |
| 695 |
% Captions pages. |
| 696 |
% |
| 697 |
% \subsection{Author Note} |
| 698 |
% According to 6th Edition guidelines, Author Notes are placed on the |
| 699 |
% title page of manuscripts. |
| 700 |
% |
| 701 |
% \section{New features} |
| 702 |
% In addition to providing compatibility with the 6th Edition of the |
| 703 |
% \textit{Manual}, several new features have been implemented beyond |
| 704 |
% those available in the \textsf{apa} class. |
| 705 |
% |
| 706 |
% \subsection{Masked References} |
| 707 |
% \label{sec:masking} |
| 708 |
% When manuscripts are sent out for review, they customarily must have |
| 709 |
% all identifying information stripped so that reviewers do not know |
| 710 |
% who the author of the manuscript is. The new |
| 711 |
% \DescribeMacro{mask}|mask| option suppresses the output of the |
| 712 |
% author's name and affiliation, the author note, and any references |
| 713 |
% that are marked as being the author's own. |
| 714 |
% |
| 715 |
% \begin{table}[htbp] |
| 716 |
% \caption{Supported masking commands} |
| 717 |
% \label{tab:CitationCommandsTable} |
| 718 |
% \begin{tabular}{@{}llll@{}} \toprule |
| 719 |
% Unmasked Result & \multicolumn{3}{c}{Masking Commands} \\ \cmidrule(r){2-4} |
| 720 |
% & \textsf{apacite} & \textsf{natbib} & \textsf{biblatex} \\ \midrule |
| 721 |
% (van Dijk, 2001) & |\maskcite| & |\maskcitep| & |\maskparencite| \\ |
| 722 |
% (Van Dijk, 2001) & & |\maskCitep| & |\maskParencite| \\ |
| 723 |
% van Dijk, 2001 & |\maskciteNP| & |\maskcitealp| & |\maskcite| \\ |
| 724 |
% Van Dijk, 2001 & & |\maskCitealp| & |\maskCite| \\ |
| 725 |
% van Dijk (2001) & |\maskciteA| & |\maskcitet| & |\masktextcite| \\ |
| 726 |
% Van Dijk (2001) & & |\maskCitet| & |\maskTextcite| \\ |
| 727 |
% van Dijk & |\maskciteauthor| & |\maskciteauthor| & |\maskciteauthor| \\ |
| 728 |
% Van Dijk & & |\maskCiteauthor| & |\maskCiteauthor| \\ |
| 729 |
% (2001) & |\maskciteyear| & |\maskciteyearpar| & \\ |
| 730 |
% 2001 & |\maskciteyearNP| & |\maskciteyear| & |\maskciteyear| \\ \bottomrule |
| 731 |
% \end{tabular} |
| 732 |
% \end{table} |
| 733 |
% |
| 734 |
% To specify a reference that is to be masked with the |mask| option, |
| 735 |
% simply prepend |mask| to the desired citation command (e.g., |
| 736 |
% |\maskcite| instead of |\cite|). Supported bibliography packages |
| 737 |
% are \textsf{biblatex}, \textsf{apacite}, and \textsf{natbib}. The |
| 738 |
% specific masking commands are shown in Table |
| 739 |
% \ref{tab:CitationCommandsTable}. Prenotes and postnotes for |
| 740 |
% citations are supported with both \textsf{biblatex} and |
| 741 |
% \textsf{natbib}; however, they are not supported with the |
| 742 |
% \textsf{apacite} package. |
| 743 |
% |
| 744 |
% To mask citations that have been prepended with |mask| (and the |
| 745 |
% corresponding bibliography entries), the name of the bibliography |
| 746 |
% package must also be passed in as an option on the |\documentclass| |
| 747 |
% line, in addition to the |mask| option. For example, |
| 748 |
% |\documentclass[jou,biblatex,mask]{apa6}|. (But as explained later, |
| 749 |
% the |biblatex| option is the default and is therefore not required, |
| 750 |
% even with the |mask| option.) |
| 751 |
% |
| 752 |
% \textbf{Be warned}, however, that if you have previously generated |
| 753 |
% .bbl, etc., files without the |mask| option applied, those files |
| 754 |
% must be deleted or re-written before \LaTeX-ing with the |mask| |
| 755 |
% option---otherwise, you will see the to-be-masked entries showing up |
| 756 |
% in the bibliography. |
| 757 |
% |
| 758 |
% Masked citations are replaced with the text, \textit{(2 citations |
| 759 |
% removed for masked review)} (in the case of two masked citations). |
| 760 |
% The corresponding entries in the References section are also |
| 761 |
% suppressed. |
| 762 |
% |
| 763 |
% There is no need to revise the masked citations when removing the |
| 764 |
% |mask| option for final production. The citations that were |
| 765 |
% previously masked will not be masked in the absence of the |mask| |
| 766 |
% option. |
| 767 |
% |
| 768 |
% \subsection{Repositioned Floats} |
| 769 |
% When revising and proofreading a manuscript, it is most helpful to |
| 770 |
% have the tables and figures readily available (rather than turning |
| 771 |
% most of the way to the end of the manuscript to access them). The |
| 772 |
% \DescribeMacro{floatsintext}|floatsintext| option (specified in the |
| 773 |
% |\documentclass| line) will integrate tables and figures |
| 774 |
% approximately where they are mentioned in the text. This is |
| 775 |
% available only with the |man| option, of course, because the other |
| 776 |
% formats already have floats integrated with the text. |
| 777 |
% |
| 778 |
% \subsection{User-defined Font Size} |
| 779 |
% \DescribeMacro{10pt} \DescribeMacro{11pt} \DescribeMacro{12pt} Users |
| 780 |
% can now select from the font-size options available in standard |
| 781 |
% \LaTeX\ (10pt, 11pt, 12pt) by including the appropriate option |
| 782 |
% (e.g., |10pt|) in the |\documentclass| line. The default font size |
| 783 |
% is 10pt for |jou| mode, 11pt for |doc| mode, and 12pt for |man| |
| 784 |
% mode. |
| 785 |
% |
| 786 |
% \subsection{Watermark} |
| 787 |
% If desired, a ``DRAFT'' watermark can be placed on either the first |
| 788 |
% pages or all pages of the document with the |
| 789 |
% \DescribeMacro{draftfirst}|draftfirst| and |
| 790 |
% \DescribeMacro{draftall}|draftall| options, respectively. The text, |
| 791 |
% font size, angle, and lightness of the text can all be modified |
| 792 |
% using commands explained in the \textsf{draftwatermark} |
| 793 |
% documentation. Also loads the \textsf{everypage} package. |
| 794 |
% |
| 795 |
% \subsection{Flexible Bibliographies} |
| 796 |
% The \textsf{apa6} class supports three bibliography packages: |
| 797 |
% \textsf{biblatex}, \textsf{apacite}, and \textsf{natbib}. |
| 798 |
% |
| 799 |
% \subsubsection{\textsf{biblatex}} |
| 800 |
% \label{sec:biblatexinfo} |
| 801 |
% Biblatex is the most APA-compliant bibiliography package. The |
| 802 |
% \DescribeMacro{biblatex}|biblatex| option directs \textsf{apa6} to |
| 803 |
% load the \textsf{biblatex} package with the following options: |
| 804 |
% style=apa6,sortcites=true,sorting=nyt; however, the |
| 805 |
% |\DeclareLanguageMapping| and |\addbibresource| commands will need |
| 806 |
% to be specified by the user within the document preamble. Please |
| 807 |
% note that the \textsf{biblatex-apa6} package must be installed (but |
| 808 |
% not explicitly loaded) for 6th Edition compatibility. In the |
| 809 |
% absence of bibliographic options, \textsf{apa6} will mask references |
| 810 |
% using \textsf{biblatex} commands if the |mask| option is specified. |
| 811 |
% In other words, the only reason to use the |biblatex| option is to |
| 812 |
% have \textsf{apa6} automatically load the \textsf{biblatex} package. |
| 813 |
% |
| 814 |
% \subsubsection{\textsf{apacite}} |
| 815 |
% \label{sec:apaciteinfo} |
| 816 |
% The \textsf{apacite} package is loaded if the |
| 817 |
% \DescribeMacro{apacite}|apacite| option is specified. This option |
| 818 |
% also informs \textsf{apa6} to mask references using \textsf{apacite} |
| 819 |
% commands if the |mask| option is specified. \textbf{The |
| 820 |
% \textsf{apacite} package is \textit{not} loaded by default.} |
| 821 |
% |
| 822 |
% \subsubsection{\textsf{natbib}} |
| 823 |
% \label{sec:natbibinfo} |
| 824 |
% Specifying the \DescribeMacro{natbib}|natbib| option implicitly |
| 825 |
% loads \textsf{apacite} and \textsf{natbib} and directs |
| 826 |
% \textsf{apa6} to mask references using \textsf{natbib} commands if |
| 827 |
% the |mask| option is specified. |
| 828 |
% |
| 829 |
% \subsection{Keywords} |
| 830 |
% \label{sec:keywords} |
| 831 |
% Many journals (including APA journals) request authors to provide |
| 832 |
% keywords for their manuscripts to facilitate electronic indexing. |
| 833 |
% \textsf{apa6} introduces the \DescribeMacro{\keywords}|\keywords| |
| 834 |
% command. If provided, keywords will be displayed on a line beneath |
| 835 |
% the abstract. For languages other than English, the `Keywords' |
| 836 |
% label can be localized by modifying the appropriate configuration |
| 837 |
% file (in the `config' folder of the \textsf{apa6} installation). |
| 838 |
% |
| 839 |
% \subsection{Converting to Microsoft Word\textregistered} |
| 840 |
% A common requirement for manuscript submission is that the document |
| 841 |
% be in Microsoft Word\textregistered\ format. \LaTeX\ provides no |
| 842 |
% easy way to convert to Word in APA format. Several conversion |
| 843 |
% utilities are available, but after researching and testing several |
| 844 |
% of them, it seems that most of them---besides being incredibly |
| 845 |
% challenging to implement---are incapable of formatting anything |
| 846 |
% close to APA style. One software package clearly stands out from |
| 847 |
% the group, however: Chikrii Softlab's TeX2Word\texttrademark\ |
| 848 |
% (\url{http://www.chikrii.com/products/tex2word/}; compatible with |
| 849 |
% Microsoft Windows\textregistered\ only). The distinct advantage of |
| 850 |
% this software is that it is extensible, allowing customizable |
| 851 |
% interpretation of \LaTeX\ commands in a user-specified file---which |
| 852 |
% is exactly what I have created for \textsf{apa6}. The file |
| 853 |
% |apa6.ptex| is included in the ``pseudoTeX'' subfolder of the |
| 854 |
% \textsf{apa6} installation. After installing TeX2Word (a 30-day |
| 855 |
% trial period is available), find its ``pseudoTeX'' folder (which |
| 856 |
% contains all the |.ptex| files automatically generated by TeX2Word), |
| 857 |
% and copy |apa6.ptex| into that folder. To convert your |
| 858 |
% \textsf{apa6} \LaTeX\ document, start Microsoft Word (it must be |
| 859 |
% 32-bit) and open your \textsf{apa6} document just as you would open |
| 860 |
% any other document in Word. The conversion process will run |
| 861 |
% automatically and a mostly-ready document will be produced. |
| 862 |
% Formatting of the title page, abstract page, section headings, |
| 863 |
% double-spacing, table and figure captions, boldfaced and italicized |
| 864 |
% text are all handled by the converter. Instructions for finishing |
| 865 |
% the conversion process will be displayed on the title page of the |
| 866 |
% converted document. Mostly this involves moving floats (tables and |
| 867 |
% figures) to their places toward the end of the manuscript, some |
| 868 |
% table re-formatting, and editing of bibliographic information. If |
| 869 |
% you wish to have this editing more automated, you can open Word's |
| 870 |
% Visual Basic Editor and import the ``TeX2WordForapa6.bas'' file |
| 871 |
% (from the ``pseudoTeX'' subfolder of the \textsf{apa6} installation) |
| 872 |
% as a new module, delete the lines beginning with percent signs at |
| 873 |
% the top and bottom of the module, then run its |
| 874 |
% |FormatTex2WordDocument| macro. This will complete all of the above |
| 875 |
% steps and configure the bibliographic information as temporary |
| 876 |
% citations that EndNote can then interpret (see below for details). |
| 877 |
% However, some minor editing is still necessary (e.g., table titles |
| 878 |
% and footnotes are not moved). For more efficient use of this macro, |
| 879 |
% create a new Word document, open the Visual Basic Editor (VBE) and |
| 880 |
% import the ``TeX2WordForapa6.bas'' file as a new module (be sure to |
| 881 |
% delete all lines beginning with two percent signs); close the VBE |
| 882 |
% and save the document in your ``Word Startup'' folder. Then the |
| 883 |
% |FormatTex2WordDocument| macro will be available from the Macros |
| 884 |
% dialog in Word for all documents. |
| 885 |
% |
| 886 |
% The major weakness of TeX2Word at the moment is a near-total lack of |
| 887 |
% support for bibliographic packages. Version 2.0 of \textsf{apa6} |
| 888 |
% introduced mechanisms in the |apa6.ptex| file and the |
| 889 |
% |FormatTex2WordDocument| macro to establish compatibility with |
| 890 |
% EndNote for handling bibliographic citations and the reference list |
| 891 |
% when using TeX2Word. The process works as follows: (a) in Word, |
| 892 |
% open your |.tex| file and let TeX2Word do the conversion; (b) run |
| 893 |
% the |FormatTex2WordDocument| macro as described above to convert |
| 894 |
% citations to a format that EndNote recognizes as ``temporary |
| 895 |
% citations''; (c) go to the EndNote toolbar within Word and run |
| 896 |
% ``Update Citations and Bibliography''; for each temporary citation, |
| 897 |
% EndNote will present a dialog containing the matched references from |
| 898 |
% the EndNote library; for each matched reference, click ``Insert''; |
| 899 |
% (d) after all citations have been resolved and EndNote has generated |
| 900 |
% the References list at the end of the document, move the References |
| 901 |
% list to the proper position if needed (i.e., when there are |
| 902 |
% appendices, tables, or figures). Unfortunately, this workaround |
| 903 |
% does mean that duplicate databases will need to be maintained in |
| 904 |
% both a |.bib| file and an EndNote library that contain common |
| 905 |
% Bib\TeX\ keys for each reference. To work properly, one |
| 906 |
% modification is necessary to the user preferences in EndNote: |
| 907 |
% un-check the ``Omit Author and/or Year from formatted citation if |
| 908 |
% removed from temporary citation'' option (in the ``Formatting'' |
| 909 |
% section of EndNote preferences). |
| 910 |
% |
| 911 |
% It's well worth experimenting with the 30-day trial of TeX2Word, and |
| 912 |
% perhaps even worth finding---or borrowing---a Windows machine if you |
| 913 |
% don't have one readily available (the conversion process does not |
| 914 |
% require a \TeX\ installation to be present). |
| 915 |
% |
| 916 |
% |
| 917 |
% \section{Dependencies} |
| 918 |
% \textsf{apa6} automatically loads the following packages. If these |
| 919 |
% packages are not already installed, producing the first |
| 920 |
% \textsf{apa6} document could take a few minutes while these packages |
| 921 |
% are downloaded and installed. |
| 922 |
% |
| 923 |
% \begin{itemize} |
| 924 |
% \item \textsf{apacite}: bibliography package; used only if the |
| 925 |
% |apacite| or |natbib| option has been specified |
| 926 |
% \item \textsf{biblatex}: bibliographic package; used only if the |
| 927 |
% |biblatex| option has been specified |
| 928 |
% \item \textsf{biblatex-apa6}: bibliographic package; this package |
| 929 |
% must must be installed (but not explicitly loaded) for 6th Edition |
| 930 |
% compatibility |
| 931 |
% \item \textsf{booktabs}: formats tables that are much more |
| 932 |
% attractive than the standard \LaTeX\ tables |
| 933 |
% \item \textsf{caption}: formats table and figure captions |
| 934 |
% \item \textsf{draftwatermark}: includes a ``DRAFT'' watermark; used |
| 935 |
% only if the |draftfirst| or |draftall| options are specified |
| 936 |
% (\textsf{draftwatermark} automatically loads \textsf{everypage} |
| 937 |
% \item \textsf{endfloat}: handles placing tables and figures at the |
| 938 |
% end of a manuscript; used only with the |man| option |
| 939 |
% \item \textsf{etoolbox}: provides low-level hooks needed to detect |
| 940 |
% user-loaded packages |
| 941 |
% \item \textsf{fancyhdr}: formats page headers |
| 942 |
% \item \textsf{float}: handles floats placed within text; used only |
| 943 |
% when the |man| and |floatsintext| options are both specified |
| 944 |
% \textsf{biblatex} package (when loaded by the user in the document |
| 945 |
% preamble) in time to set the ``References'' heading to |
| 946 |
% non-boldface; used only if no bibliographic options have been |
| 947 |
% specified |
| 948 |
% \item \textsf{geometry}: formats margins |
| 949 |
% \item \textsf{gettitlestring}: for cleaning title references |
| 950 |
% \item \textsf{graphicx}: allows inclusion of figures |
| 951 |
% \item \textsf{longtable}: formats tables that exceed one page in |
| 952 |
% length; loaded only if the |longtable| option is specified. Also |
| 953 |
% loads the \textsf{array} package. |
| 954 |
% \item \textsf{lmodern}: needed for proper default text size for |
| 955 |
% draft watermark, so used on all documents; may be suppressed from |
| 956 |
% loading with option |nolmodern| |
| 957 |
% \item \textsf{substr}: counts masked references; used only if the |
| 958 |
% |mask| option is specified |
| 959 |
% \item \textsf{threeparttable}: produces nicely formatted table notes |
| 960 |
% that comply with APA style. See |longsample.tex| (in the |
| 961 |
% ``samples'' subfolder of the \textsf{apa6} installation; |
| 962 |
% specifically, Appendix B in that document) for how to set up a |
| 963 |
% table with notes |
| 964 |
% \item \textsf{times}: for math definitions |
| 965 |
% \end{itemize} |
| 966 |
% |
| 967 |
% |
| 968 |
% \section{Examples} |
| 969 |
% |
| 970 |
% Sample documents are included with this class; look in the |
| 971 |
% ``samples'' subfolder of your installation. The source and output for |
| 972 |
% |shortsample.tex| are reproduced on the following pages for quick |
| 973 |
% reference. |
| 974 |
% |
| 975 |
% \newpage |
| 976 |
% |
| 977 |
% \subsection{shortsample.tex} |
| 978 |
% |
| 979 |
% \begin{verbatim} |
| 980 |
% \documentclass[jou]{apa6} |
| 981 |
% |
| 982 |
% \usepackage[american]{babel} |
| 983 |
% |
| 984 |
% \usepackage{csquotes} |
| 985 |
% \usepackage[style=apa6,sortcites=true,sorting=nyt,backend=biber]{biblatex} |
| 986 |
% \DeclareLanguageMapping{american}{american-apa} |
| 987 |
% \addbibresource{bibliography.bib} |
| 988 |
% |
| 989 |
% \title{Sample APA-Style Document Using the \textsf{apa6} Package} |
| 990 |
% |
| 991 |
% \author{Brian D.\ Beitzel} |
| 992 |
% \affiliation{SUNY Oneonta} |
| 993 |
% |
| 994 |
% \leftheader{Beitzel} |
| 995 |
% |
| 996 |
% \abstract{This demonstration paper uses the \textsf{apa6} \LaTeX\ |
| 997 |
% class to format the document in compliance with the 6th Edition of |
| 998 |
% the American Psychological Assocation's \textit{Publication Manual.} |
| 999 |
% The references are managed using \textsf{biblatex}.} |
| 1000 |
% |
| 1001 |
% \keywords{APA style, demonstration} |
| 1002 |
% |
| 1003 |
% \begin{document} |
| 1004 |
% \maketitle |
| 1005 |
% We begin with \textcite{Shotton1989}. We can also cite this work in |
| 1006 |
% parenthesis, like this: \parencite{Shotton1989}. |
| 1007 |
% |
| 1008 |
% A three-author paper \parencite[e.g.,][]{Lassen2006} lists all |
| 1009 |
% three authors for the first citation, then only the first author |
| 1010 |
% on all subsequent citations \parencite{Lassen2006}. |
| 1011 |
% |
| 1012 |
% Note the use of five heading levels throughout this demonstration |
| 1013 |
% Method section. |
| 1014 |
% |
| 1015 |
% \section{Method} |
| 1016 |
% \subsection{Participants} |
| 1017 |
% We had a lot of people in this study. |
| 1018 |
% |
| 1019 |
% \subsection{Materials} |
| 1020 |
% Several materials were used for this project. Some of them were |
| 1021 |
% already created for prior research. |
| 1022 |
% |
| 1023 |
% \subsubsection{Paper-and-Pencil Instrument} |
| 1024 |
% We used an instrument that we found to be highly successful. |
| 1025 |
% |
| 1026 |
% \paragraph{Reliability} |
| 1027 |
% The reliability of this instrument is extraordinary. |
| 1028 |
% |
| 1029 |
% \paragraph{Validity} |
| 1030 |
% We now discuss the validity of our instrument. |
| 1031 |
% |
| 1032 |
% \subparagraph{Face validity} The face validity is exceptionally |
| 1033 |
% strong. Everyone should be impressed. |
| 1034 |
% |
| 1035 |
% \subparagraph{Construct validity} Also very strong. |
| 1036 |
% |
| 1037 |
% \subsection{Design} |
| 1038 |
% This section describes the study's design. |
| 1039 |
% |
| 1040 |
% \subsection{Procedure} |
| 1041 |
% The procedure was fairly straightforward, yet required |
| 1042 |
% attention to detail. |
| 1043 |
% |
| 1044 |
% \section{Results} |
| 1045 |
% Table \ref{tab:ComplexTable} contains some sample data. Our |
| 1046 |
% statistical prowess in analyzing these data is unmatched. |
| 1047 |
% |
| 1048 |
% \begin{table}[htbp] |
| 1049 |
% \vspace*{2em} |
| 1050 |
% \begin{threeparttable} |
| 1051 |
% \caption{A Complex Table} |
| 1052 |
% \label{tab:ComplexTable} |
| 1053 |
% \begin{tabular}{@{}lrrr@{}} \toprule |
| 1054 |
% Distribution type & \multicolumn{2}{l}{Percentage of} & Total number \\ |
| 1055 |
% & \multicolumn{2}{l}{targets with} & of trials per \\ |
| 1056 |
% & \multicolumn{2}{l}{segment in} & participant \\ \cmidrule(r){2-3} |
| 1057 |
% & Onset & Coda & \\ \midrule |
| 1058 |
% Categorical -- onset\tabfnm{a} & 100 & 0 & 196 \\ |
| 1059 |
% Probabilistic & 80 & 20\tabfnm{*} & 200 \\ |
| 1060 |
% Categorical -- coda\tabfnm{b} & 0 & 100\tabfnm{*} & 196 \\ \midrule |
| 1061 |
% \end{tabular} |
| 1062 |
% \begin{tablenotes}[para,flushleft] |
| 1063 |
% {\small |
| 1064 |
% \textit{Note.} All data are approximate. |
| 1065 |
% |
| 1066 |
% \tabfnt{a}Categorical may be onset. |
| 1067 |
% \tabfnt{b}Categorical may also be coda. |
| 1068 |
% |
| 1069 |
% \tabfnt{*}\textit{p} < .05. |
| 1070 |
% \tabfnt{**}\textit{p} < .01. |
| 1071 |
% } |
| 1072 |
% \end{tablenotes} |
| 1073 |
% \end{threeparttable} |
| 1074 |
% \end{table} |
| 1075 |
% |
| 1076 |
% \section{Discussion} |
| 1077 |
% This is a lengthy and erudite discussion. It demonstrates amazing |
| 1078 |
% skill in interpreting the results for the masses. |
| 1079 |
% |
| 1080 |
% \printbibliography |
| 1081 |
% |
| 1082 |
% \end{document} |
| 1083 |
% \end{verbatim} |
| 1084 |
% |
| 1085 |
% \subsection{shortsample.pdf} |
| 1086 |
% \IfFileExists{samples/shortsample.pdf}% |
| 1087 |
% {\includegraphics[scale=0.8, trim = 1in 1.5in 1in 0.8in]{samples/shortsample.pdf}}% |
| 1088 |
% {PRINTED DOCUMENT WILL BE DISPLAYED HERE \newpage} |
| 1089 |
% |
| 1090 |
% |
| 1091 |
% \StopEventually{^^A |
| 1092 |
% \PrintChanges |
| 1093 |
% \PrintIndex |
| 1094 |
% } |
| 1095 |
% |
| 1096 |
% \begin{macrocode} |
| 1097 |
%<*class> |
| 1098 |
% \end{macrocode} |
| 1099 |
% |
| 1100 |
%\begin{macro}{apa6.cls} |
| 1101 |
% \begin{macrocode} |
| 1102 |
% % Below is the license statement from the apa class, upon which this |
| 1103 |
% % apa6 class was built |
| 1104 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1105 |
% |
| 1106 |
% apa.cls version 1.3.4 |
| 1107 |
% |
| 1108 |
% NOTE CHANGE IN VERSION NUMBERING : 1.21--1.28 should have been 1.2.1--1.2.8 |
| 1109 |
% |
| 1110 |
% Athanassios Protopapas, December 2008 |
| 1111 |
% [email protected] |
| 1112 |
% |
| 1113 |
% This package may be distributed under the terms of the LaTeX Project Public |
| 1114 |
% License, as described in lppl.txt in the base LaTeX distribution. Either |
| 1115 |
% version 1.0 or, at your option, any later version. |
| 1116 |
% |
| 1117 |
% The term "package", in the above license statement, applies to all files |
| 1118 |
% included with apa.cls (language files, examples, configuration, |
| 1119 |
% instructions etc.) -- they may be all distributed under LPPL. |
| 1120 |
% |
| 1121 |
% Use with LaTeX2e, \documentclass[man|jou|doc]{apa} |
| 1122 |
% Default mode is doc. Conforms to the APA manual 5th ed. |
| 1123 |
% |
| 1124 |
% ** Read apacls.txt and examples.txt carefully before using ** |
| 1125 |
% |
| 1126 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1127 |
|
| 1128 |
\DeclareOption{man}{% |
| 1129 |
\def\def@man{\@manmode} |
| 1130 |
} |
| 1131 |
|
| 1132 |
\DeclareOption{jou}{% |
| 1133 |
\def\def@jou{\@joumode} |
| 1134 |
} |
| 1135 |
|
| 1136 |
\DeclareOption{doc}{% |
| 1137 |
\def\def@doc{\@docmode} |
| 1138 |
} |
| 1139 |
|
| 1140 |
\DeclareOption{babel}{% |
| 1141 |
\def\def@babel{\@babel} |
| 1142 |
} |
| 1143 |
|
| 1144 |
\DeclareOption{notimes}{% |
| 1145 |
\@ifundefined{def@jou}{}{\def\def@notimes{\@notimes}} |
| 1146 |
} |
| 1147 |
|
| 1148 |
\DeclareOption{notxfonts}{% -- thp 2005/07/23 |
| 1149 |
\@ifundefined{def@jou}{}{\def\def@notxfonts{\@notxfonts}} |
| 1150 |
} |
| 1151 |
|
| 1152 |
\DeclareOption{nosf}{% |
| 1153 |
\@ifundefined{def@man}{}{\def\def@nosf{\@nosf}} |
| 1154 |
} |
| 1155 |
|
| 1156 |
\DeclareOption{fignum}{% |
| 1157 |
\@ifundefined{def@man}{}{\def\fig@num{\relax}} |
| 1158 |
} |
| 1159 |
|
| 1160 |
% \DeclareOption{floatmark}{% |
| 1161 |
% \@ifundefined{def@man}{}{\def\float@mark{\relax}} |
| 1162 |
% } |
| 1163 |
|
| 1164 |
\DeclareOption{longtable}{% |
| 1165 |
\def\long@table{\relax} |
| 1166 |
} |
| 1167 |
|
| 1168 |
\DeclareOption{tt}{% |
| 1169 |
\@ifundefined{def@man}{}{\def\tt@family{\relax}} |
| 1170 |
} |
| 1171 |
|
| 1172 |
\DeclareOption{helv}{% |
| 1173 |
\@ifundefined{def@man}{}{\def\helv@family{\relax}} |
| 1174 |
} |
| 1175 |
|
| 1176 |
\DeclareOption{notab}{\def\no@tab{\relax}} |
| 1177 |
|
| 1178 |
\DeclareOption{nobf}{\def\no@bf@title{\relax}} |
| 1179 |
|
| 1180 |
\DeclareOption{nolmodern}{% |
| 1181 |
\def\def@nolmodern{\@nolmodernmode} |
| 1182 |
} |
| 1183 |
|
| 1184 |
\DeclareOption{nofontenc}{% |
| 1185 |
\def\def@nofontenc{\@nofontencmode} |
| 1186 |
} |
| 1187 |
|
| 1188 |
% remove extra space around headings, etc., in man mode |
| 1189 |
\DeclareOption{noextraspace}{% |
| 1190 |
\def\def@noextraspace{\@noextraspacemode} |
| 1191 |
} |
| 1192 |
|
| 1193 |
% suppress the title at the introduction (in case a different title is desired) |
| 1194 |
\DeclareOption{donotrepeattitle}{% |
| 1195 |
\def\def@donotrepeattitle{\@donotrepeattitlemode} |
| 1196 |
} |
| 1197 |
|
| 1198 |
% in order to have tables and figure inside the text, Guillaume Jourjon 19/10/10 |
| 1199 |
\DeclareOption{floatsintext}{% |
| 1200 |
\def\def@floatsintext{\@floatsintext} |
| 1201 |
} |
| 1202 |
|
| 1203 |
% allow A4 paper size |
| 1204 |
\DeclareOption{a4paper}{% |
| 1205 |
\def\def@aFourPaper{\@aFourPapermode} |
| 1206 |
} |
| 1207 |
|
| 1208 |
\DeclareOption{apacite}{% BDB |
| 1209 |
\def\def@apacite{\@apacitemode} |
| 1210 |
} |
| 1211 |
|
| 1212 |
\DeclareOption{natbib}{% BDB |
| 1213 |
\def\def@natbib{\@natbibmode} |
| 1214 |
} |
| 1215 |
|
| 1216 |
\DeclareOption{biblatex}{% BDB |
| 1217 |
\def\def@biblatex{\@biblatexmode} |
| 1218 |
} |
| 1219 |
|
| 1220 |
\DeclareOption{draftfirst}{% BDB |
| 1221 |
\def\def@draftfirst{\@draftfirstmode} |
| 1222 |
} |
| 1223 |
|
| 1224 |
\DeclareOption{draftall}{% BDB |
| 1225 |
\def\def@draftall{\@draftallmode} |
| 1226 |
} |
| 1227 |
|
| 1228 |
\DeclareOption{mask}{\def\apaSix@maskauthoridentity{\relax}} % BDB |
| 1229 |
|
| 1230 |
% declare the font-size commands |
| 1231 |
\newcommand\apaSix@ptsize{} |
| 1232 |
\newcommand\apaSix@noptsize{} |
| 1233 |
\DeclareOption{10pt}{\renewcommand\apaSix@ptsize{10pt}} |
| 1234 |
\DeclareOption{11pt}{\renewcommand\apaSix@ptsize{11pt}} |
| 1235 |
\DeclareOption{12pt}{\renewcommand\apaSix@ptsize{12pt}} |
| 1236 |
|
| 1237 |
|
| 1238 |
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} |
| 1239 |
|
| 1240 |
\ProcessOptions\relax |
| 1241 |
|
| 1242 |
% make jou the default if no other options have been specified |
| 1243 |
\@ifundefined{def@man}{% |
| 1244 |
\@ifundefined{def@doc}{% |
| 1245 |
\@ifundefined{def@jou}{% |
| 1246 |
\def\def@jou{\@joumode} |
| 1247 |
\ClassInfo{apa6}{Using default mode (jou)} |
| 1248 |
%\def\def@man{\@manmode} |
| 1249 |
%\def\def@doc{\@docmode} |
| 1250 |
}{} |
| 1251 |
}{} |
| 1252 |
}{} |
| 1253 |
|
| 1254 |
% pass the default font-size to the article class |
| 1255 |
\@ifundefined{def@man}{% |
| 1256 |
\@ifundefined{def@jou}{% |
| 1257 |
\@ifundefined{def@doc}{% |
| 1258 |
}{% doc |
| 1259 |
\ifx\apaSix@ptsize\apaSix@noptsize |
| 1260 |
\LoadClass[11pt]{article} % default for doc is 11pt |
| 1261 |
\else |
| 1262 |
\LoadClass[\apaSix@ptsize]{article} |
| 1263 |
\fi |
| 1264 |
} |
| 1265 |
}{% jou |
| 1266 |
\ifx\apaSix@ptsize\apaSix@noptsize |
| 1267 |
\LoadClass[10pt,twoside]{article} % default for jou is 10pt |
| 1268 |
\else |
| 1269 |
\LoadClass[\apaSix@ptsize,twoside]{article} |
| 1270 |
\fi |
| 1271 |
} |
| 1272 |
}{% man |
| 1273 |
\ifx\apaSix@ptsize\apaSix@noptsize |
| 1274 |
\LoadClass[12pt,twoside]{article} % default for man is 12pt |
| 1275 |
\else |
| 1276 |
\LoadClass[\apaSix@ptsize]{article} |
| 1277 |
\fi |
| 1278 |
} |
| 1279 |
|
| 1280 |
|
| 1281 |
% determine the bibliography package, and load it if selected through the appropriate \documentclass option |
| 1282 |
\@ifundefined{def@apacite}{% |
| 1283 |
\@ifundefined{def@natbib}{% |
| 1284 |
\@ifundefined{def@biblatex}{% |
| 1285 |
\def\def@biblatex{\@biblatexmode}% the default bibliography package is biblatex |
| 1286 |
\RequirePackage{etoolbox} |
| 1287 |
\AtEndPreamble{% |
| 1288 |
\@ifpackageloaded{biblatex}{% the user has loaded biblatex |
| 1289 |
\@ifundefined{def@man}{% |
| 1290 |
\defbibheading{bibliography}{\section*{\normalfont\refname}}% |
| 1291 |
}{% |
| 1292 |
\defbibheading{bibliography}{\clearpage\section*{\normalfont\refname}}% |
| 1293 |
} |
| 1294 |
}{} |
| 1295 |
} |
| 1296 |
\ClassInfo{apa6}{No bibliography package was specified; defaulting to (but not loading) Biblatex} |
| 1297 |
}{% |
| 1298 |
\def\def@biblatex{\@biblatexmode}% the selected bibliography package is Biblatex |
| 1299 |
\RequirePackage[style=apa6,sortcites=true,sorting=nyt,backend=biber]{biblatex} |
| 1300 |
\@ifundefined{def@man}{% |
| 1301 |
\defbibheading{bibliography}{\section*{\normalfont\refname}}% |
| 1302 |
}{% |
| 1303 |
\defbibheading{bibliography}{\clearpage\section*{\normalfont\refname}}% |
| 1304 |
} |
| 1305 |
\ClassInfo{apa6}{The selected bibliography package, biblatex, has been loaded} |
| 1306 |
} |
| 1307 |
}{% |
| 1308 |
\def\def@natbib{\@natbibmode}% the selected bibliography package is natbib (with apacite) |
| 1309 |
\@ifundefined{def@man}{% -- thp 2005/07/23 |
| 1310 |
\RequirePackage[natbibapa]{apacite}[2012/02/25]} |
| 1311 |
{\RequirePackage[natbibapa,bibnewpage]{apacite}[2012/02/25]} |
| 1312 |
\ClassInfo{apa6}{The selected bibliography package, apacite and |
| 1313 |
natbib, have been loaded} |
| 1314 |
} |
| 1315 |
}{% |
| 1316 |
\def\def@apacite{\@apacitemode}% the selected bibliography package is apacite |
| 1317 |
\@ifundefined{def@man}{% -- thp 2005/07/23 |
| 1318 |
\RequirePackage{apacite}[2005/06/08]} |
| 1319 |
{\RequirePackage[bibnewpage]{apacite}[2005/06/08]} |
| 1320 |
\ClassInfo{apa6}{The selected bibliography package, apacite, has been loaded} |
| 1321 |
} |
| 1322 |
|
| 1323 |
% load the lmodern package (needed for proper watermark font size) |
| 1324 |
\@ifundefined{def@nolmodern}{% |
| 1325 |
\RequirePackage{lmodern} |
| 1326 |
}{} |
| 1327 |
|
| 1328 |
% load the fontenc package (needed for proper hyphenation of accented characters) |
| 1329 |
\@ifundefined{def@nofontenc}{% |
| 1330 |
\RequirePackage[T1]{fontenc} |
| 1331 |
}{} |
| 1332 |
|
| 1333 |
% place a watermark on any pages indicated |
| 1334 |
\@ifundefined{def@draftall}{% |
| 1335 |
\@ifundefined{def@draftfirst}{}{% |
| 1336 |
\RequirePackage[firstpage]{draftwatermark} |
| 1337 |
\SetWatermarkText{DRAFT} |
| 1338 |
} |
| 1339 |
}{% |
| 1340 |
% a draft watermark has been requested for all pages |
| 1341 |
\RequirePackage{draftwatermark} |
| 1342 |
\SetWatermarkText{DRAFT} |
| 1343 |
} |
| 1344 |
|
| 1345 |
%\@ifundefined{def@noapacite}% -- Philip Kime 2008/12/03 |
| 1346 |
% {\ClassInfo{apa6}{Using BibTeX with apacite for citations and references}}% |
| 1347 |
% {\ClassInfo{apa6}{apacite not loaded -- User may load BibLaTeX}} |
| 1348 |
|
| 1349 |
% provide compatibility for authors who wish to use the \and command |
| 1350 |
% in author lists |
| 1351 |
\renewcommand\and{\vspace{0.25in}\\} |
| 1352 |
|
| 1353 |
%==== Conditional compilation macros depending on mode ==== |
| 1354 |
|
| 1355 |
\long\def\ifapamodeman#1#2{\@ifundefined{def@man}{#2}{#1}} |
| 1356 |
\long\def\ifapamodejou#1#2{\@ifundefined{def@jou}{#2}{#1}} |
| 1357 |
\long\def\ifapamodedoc#1#2{\@ifundefined{def@doc}{#2}{#1}} |
| 1358 |
\long\def\ifapamode#1#2#3{% |
| 1359 |
\@ifundefined{def@man}{% |
| 1360 |
\@ifundefined{def@jou}{% |
| 1361 |
\@ifundefined{def@doc}{\ClassError{apa6}{Undefined mode state!}}{#3}% |
| 1362 |
}{#2}% |
| 1363 |
}{#1}% |
| 1364 |
} |
| 1365 |
|
| 1366 |
%================================================================= |
| 1367 |
\@ifundefined{def@man}{}{% |
| 1368 |
% |
| 1369 |
% endnotes and endfloat loaded later |
| 1370 |
% longtable must be loaded before endfloat |
| 1371 |
% |
| 1372 |
\@ifundefined{long@table}{}{% |
| 1373 |
\RequirePackage{array} |
| 1374 |
\RequirePackage{longtable} |
| 1375 |
% |
| 1376 |
% longtable messes with captions too, we need to intervene to match style |
| 1377 |
% NOTE: the caption package makes the following redundant |
| 1378 |
%\def\LT@makecaption#1#2#3{% |
| 1379 |
% \LT@mcol\LT@cols c{\hbox to\z@{\hss\parbox{\linewidth}{% |
| 1380 |
% \vskip 10pt% |
| 1381 |
% #1{#2}% |
| 1382 |
% \let\BBAB\table@BBAB% -- thp 2005/07/23 |
| 1383 |
% \par\emph{#3}% |
| 1384 |
% \let\BBAB\normal@BBAB% -- thp 2005/07/23 |
| 1385 |
% \endgraf\vskip\baselineskip}% |
| 1386 |
% \hss}}} |
| 1387 |
}% END of loading longtable |
| 1388 |
% |
| 1389 |
% Switch font family for manuscript if required |
| 1390 |
% |
| 1391 |
\@ifundefined{tt@family}{}{% |
| 1392 |
% A typewriter font can be used as in the APA manual example. Since tt has |
| 1393 |
% no bold (or bold-italic), the cmss font metrics are loaded instead |
| 1394 |
% \DeclareFontShape{OT1}{cmtt}{bx}{n}{ <-> sub * cmss/bx/n }{} % this fails |
| 1395 |
\DeclareFontShape{OT1}{cmtt}{bx}{n}{ <-> cmssbx10 }{} % probably not the |
| 1396 |
\DeclareFontShape{OT1}{cmtt}{bx}{it}{ <-> cmssbxo10}{} % right way to do it |
| 1397 |
\renewcommand{\familydefault}{cmtt} |
| 1398 |
} |
| 1399 |
\@ifundefined{helv@family}{}{% |
| 1400 |
\renewcommand{\familydefault}{phv}} |
| 1401 |
} |
| 1402 |
|
| 1403 |
|
| 1404 |
% |
| 1405 |
% For jou mode, load times (and related math fonts) if available |
| 1406 |
% First try txfonts because they are supposed to have better math definitions |
| 1407 |
% |
| 1408 |
\@ifundefined{def@jou}{}{% |
| 1409 |
\@ifundefined{def@notimes}{% |
| 1410 |
\newif\iftxfonts % -- thp 2005/07/23 |
| 1411 |
\txfontsfalse % added checks for txfonts because they may be undesirable |
| 1412 |
% for example, there are no Greek txfonts but there are times |
| 1413 |
\IfFileExists{txfonts.sty}{\@ifundefined{def@notxfonts}{\txfontstrue}{}}{} |
| 1414 |
\iftxfonts% |
| 1415 |
\RequirePackage{txfonts}% |
| 1416 |
\typeout{apa6.cls: Using txfonts}% Changed from Warning -- thp 2005/12/28 |
| 1417 |
%%% |
| 1418 |
% According to Erik Meijer, txfonts causes problems if amsmath is loaded later |
| 1419 |
% (i.e., via \usepackage by the user); instead of providing yet another option |
| 1420 |
% to load amsmath by apa.cls, we adopt Erik's suggestion to undefine temporarily |
| 1421 |
% the offending macros -- thp 2005/12/28 |
| 1422 |
\let\tempiint\iint\let\iint\undefined |
| 1423 |
\let\tempiiint\iiint\let\iiint\undefined |
| 1424 |
\let\tempiiiint\iiiint\let\iiiint\undefined |
| 1425 |
\let\tempidotsint\idotsint\let\idotsint\undefined |
| 1426 |
\let\tempopenbox\openbox\let\openbox\undefined |
| 1427 |
\AtBeginDocument{% |
| 1428 |
\let\iint\tempiint\let\tempiint\undefined |
| 1429 |
\let\iiint\tempiiint\let\tempiiint\undefined |
| 1430 |
\let\iiiint\tempiiiint\let\tempiiiint\undefined |
| 1431 |
\let\idotsint\tempidotsint\let\tempidotsint\undefined |
| 1432 |
\let\openbox\tempopenbox\let\tempopenbox\undefined |
| 1433 |
} |
| 1434 |
%%% end of taking care of txfonts problems |
| 1435 |
\else% |
| 1436 |
% if txfonts are not available/desirable, try pslatextimes/mathptm |
| 1437 |
\IfFileExists{pslatex.sty} |
| 1438 |
{\RequirePackage{pslatex}} |
| 1439 |
% if pslatex is not available, try times/mathptm |
| 1440 |
{\RequirePackage{times} |
| 1441 |
\IfFileExists{mathptm.sty}{\RequirePackage{mathptm}}{}}% |
| 1442 |
\fi% txfonts not available/desirable |
| 1443 |
}{}% def@notimes |
| 1444 |
}% def@jou |
| 1445 |
|
| 1446 |
|
| 1447 |
% choose a paper size and set the page margins |
| 1448 |
\@ifundefined{def@aFourPaper}{ |
| 1449 |
\RequirePackage[top=1in, bottom=1in, left=1in, right=1in]{geometry} |
| 1450 |
}{ |
| 1451 |
\RequirePackage[top=1in, bottom=1in, left=1in, right=1in,a4paper]{geometry} |
| 1452 |
} |
| 1453 |
|
| 1454 |
\RequirePackage{graphicx} % this is for including graphics |
| 1455 |
|
| 1456 |
\RequirePackage{gettitlestring} % this helps clean up section and title references |
| 1457 |
|
| 1458 |
\RequirePackage{booktabs} % this is for nice-looking tables |
| 1459 |
\setlength{\abovetopsep}{0pt} % set the distance between the table title and the table toprule |
| 1460 |
\setlength{\belowbottomsep}{0pt} % set the distance between the table bottomrule and any notes |
| 1461 |
|
| 1462 |
\RequirePackage[para,flushleft]{threeparttable} % this is for nice-looking table footnotes, etc. |
| 1463 |
% need to redefine the tablenotes so they hug the bottom line of the table a little closer |
| 1464 |
% also, the manuscript format needs to have \raggedright |
| 1465 |
\@ifundefined{def@man}{% BDB |
| 1466 |
\def\TPT@doparanotes{\par\vspace{-.5\baselineskip}% BDB |
| 1467 |
\prevdepth\z@ \TPT@hsize |
| 1468 |
\TPTnoteSettings |
| 1469 |
\parindent\z@ \pretolerance 8 |
| 1470 |
\linepenalty 200 |
| 1471 |
\renewcommand\item[1][]{\relax\ifhmode \begingroup |
| 1472 |
\unskip |
| 1473 |
\advance\hsize 10em % \hsize is scratch register, based on real hsize |
| 1474 |
\penalty -45 \hskip\z@\@plus\hsize \penalty-19 |
| 1475 |
\hskip .15\hsize \penalty 9999 \hskip-.15\hsize |
| 1476 |
\hskip .01\hsize\@plus-\hsize\@minus.01\hsize |
| 1477 |
\hskip 1em\@plus .3em |
| 1478 |
\endgroup\fi |
| 1479 |
\tnote{##1}\,\ignorespaces}% |
| 1480 |
\let\TPToverlap\relax |
| 1481 |
\def\endtablenotes{\par}% |
| 1482 |
} |
| 1483 |
}{% |
| 1484 |
\def\TPT@doparanotes{\par\vspace{-.4\baselineskip}% BDB |
| 1485 |
\prevdepth\z@ \TPT@hsize |
| 1486 |
\TPTnoteSettings |
| 1487 |
\raggedright |
| 1488 |
\parindent\z@ \pretolerance 8 |
| 1489 |
\linepenalty 200 |
| 1490 |
\renewcommand\item[1][]{\relax\ifhmode \begingroup |
| 1491 |
\unskip |
| 1492 |
\advance\hsize 10em % \hsize is scratch register, based on real hsize |
| 1493 |
\penalty -45 \hskip\z@\@plus\hsize \penalty-19 |
| 1494 |
\hskip .15\hsize \penalty 9999 \hskip-.15\hsize |
| 1495 |
\hskip .01\hsize\@plus-\hsize\@minus.01\hsize |
| 1496 |
\hskip 1em\@plus .3em |
| 1497 |
\endgroup\fi |
| 1498 |
\tnote{##1}\,\ignorespaces}% |
| 1499 |
\let\TPToverlap\relax |
| 1500 |
\def\endtablenotes{\par}% |
| 1501 |
} |
| 1502 |
} |
| 1503 |
|
| 1504 |
%========= Language portability parameters =========== |
| 1505 |
|
| 1506 |
% Language-specific definition of strings is handled externally -- thp 2005/12/30 |
| 1507 |
% Based on handling of the same issue in apacite.sty |
| 1508 |
|
| 1509 |
% First define the default American English macros in case no external file is present or needed |
| 1510 |
\def\rheadname{Running head} |
| 1511 |
\def\acksname{Author Note} |
| 1512 |
\def\keywordname{Keywords} |
| 1513 |
\def\notesname{Footnotes} |
| 1514 |
|
| 1515 |
\AtBeginDocument{% so that we know what language is active in babel |
| 1516 |
|
| 1517 |
% \typeout{\string\languagename\space is\space\languagename} |
| 1518 |
% \@ifundefined{iflanguage}% this is defined by babel, so it means babel is loaded |
| 1519 |
% Unfortunately, because babel is built into the format |
| 1520 |
% in modern distributions, \iflanguage is defined and |
| 1521 |
% \languagename contains whichever language happens to be |
| 1522 |
% last in the definition list, whether or not the babel |
| 1523 |
% package is loaded by the current document |
| 1524 |
|
| 1525 |
\@ifundefined{def@babel}% this is defined only if the user requested loading babel |
| 1526 |
{\def\@apaSix@langfile{config/APAamerican.txt}} |
| 1527 |
{\def\@apaSix@langfile{config/APA\languagename.txt}} |
| 1528 |
\InputIfFileExists{\@apaSix@langfile}{}{% |
| 1529 |
\ClassInfo{apa6}{Language definition file \@apaSix@langfile\space not found} |
| 1530 |
}% |
| 1531 |
} |
| 1532 |
|
| 1533 |
%========== Load babel if required =================== |
| 1534 |
|
| 1535 |
\@ifundefined{def@babel}{}{% -- thp 2005/07/23 |
| 1536 |
\RequirePackage{babel} % -- thp 2005/07/23, removed options 2005/12/28 |
| 1537 |
} |
| 1538 |
|
| 1539 |
\@ifundefined{def@biblatex}{}{% BDB |
| 1540 |
|
| 1541 |
% we are using biblatex |
| 1542 |
|
| 1543 |
%%%%%%%%%%%% biblatex commands %%%%%%%%%%%%%%%% |
| 1544 |
%% |
| 1545 |
%% \cite[e.g.,][p.~11]{vanDijk2001,Ross1987} => e.g., van Dijk, 2001; Ross, 1987, p. 11 |
| 1546 |
%% \Cite[e.g.,][p.~11]{vanDijk2001,Ross1987} => e.g., Van Dijk, 2001; Ross, 1987, p. 11 |
| 1547 |
%% \parencite[e.g.,][p.~11]{vanDijk2001,Ross1987} => (e.g., van Dijk, 2001; Ross, 1987, p. 11) |
| 1548 |
%% \Parencite[e.g.,][p.~11]{vanDijk2001,Ross1987} => (e.g., Van Dijk, 2001; Ross, 1987, p. 11) |
| 1549 |
%% \textcite[e.g.,][p.~11]{vanDijk2001,Ross1987} => e.g., van Dijk (2001); Ross (1987, p. 11) |
| 1550 |
%% \Textcite[e.g.,][p.~11]{vanDijk2001,Ross1987} => e.g., Van Dijk (2001); Ross (1987, p. 11) |
| 1551 |
%% \citeauthor[e.g.,][p.~11]{vanDijk2001,Ross1987} => e.g., van Dijk (2001); Ross (1987, p. 11) |
| 1552 |
%% \Citeauthor[e.g.,][p.~11]{vanDijk2001,Ross1987} => e.g., Van Dijk (2001); Ross (1987, p. 11) |
| 1553 |
%% \citeyear[e.g.,][p.~11]{vanDijk2001} => e.g., 2001, p. 11) |
| 1554 |
%% \footcite[e.g.,][p.~11]{vanDijk2001,Ross1987} => e.g., van Dijk, 2001; Ross, 1987, p. 11. [as footnote] |
| 1555 |
%% \footcitetext[e.g.,][p.~11]{vanDijk2001,Ross1987} => e.g., van Dijk, 2001; Ross, 1987, p. 11. [as footnotetext] |
| 1556 |
%% |
| 1557 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1558 |
|
| 1559 |
\@ifundefined{apaSix@maskauthoridentity}% BDB |
| 1560 |
{% change masked references to unmasked |
| 1561 |
\providecommand\maskcite\cite |
| 1562 |
\providecommand\maskCite\Cite |
| 1563 |
\providecommand\maskparencite\parencite |
| 1564 |
\providecommand\maskParencite\Parencite |
| 1565 |
\providecommand\masktextcite\textcite |
| 1566 |
\providecommand\maskTextcite\Textcite |
| 1567 |
\providecommand\maskciteauthor\citeauthor |
| 1568 |
\providecommand\maskCiteauthor\Citeauthor |
| 1569 |
\providecommand\maskciteyear\citeyear |
| 1570 |
\providecommand\maskfootcite\footcite |
| 1571 |
\providecommand\maskfootcitetext\footcitetext |
| 1572 |
}{% mask references to author |
| 1573 |
|
| 1574 |
\RequirePackage{substr} % to allow counting of masked references |
| 1575 |
\newcounter{maskedRefs} |
| 1576 |
|
| 1577 |
% \maskcite |
| 1578 |
\newcommand\maskcite{\@ifnextchar[{\maskcite@@also}{\maskcite@@also[]}} |
| 1579 |
\newcommand\maskcite@@also{} |
| 1580 |
\def\maskcite@@also[#1]{\@ifnextchar[{\maskcite@@@also[#1]}{\maskcite@@@also[][#1]}} |
| 1581 |
|
| 1582 |
\def\maskcite@@@also% |
| 1583 |
[#1][#2]#3{% |
| 1584 |
\setcounter{maskedRefs}{0}% |
| 1585 |
\SubStringsToCounter{maskedRefs}{,}{#3}% |
| 1586 |
\addtocounter{maskedRefs}{1}% |
| 1587 |
\ifnum\value{maskedRefs} = 1% |
| 1588 |
\def\apaSix@masked@refs{(\textit{\themaskedRefs\ citation removed for masked review})}% |
| 1589 |
\else% |
| 1590 |
\def\apaSix@masked@refs{(\textit{\themaskedRefs\ citations removed for masked review})}% |
| 1591 |
\fi% |
| 1592 |
\apaSix@masked@refs% |
| 1593 |
} |
| 1594 |
|
| 1595 |
% \maskCite |
| 1596 |
\newcommand\maskCite{\@ifnextchar[{\maskCite@@also}{\maskCite@@also[]}} |
| 1597 |
\newcommand\maskCite@@also{} |
| 1598 |
\def\maskCite@@also[#1]{\@ifnextchar[{\maskCite@@@also[#1]}{\maskCite@@@also[][#1]}} |
| 1599 |
|
| 1600 |
\def\maskCite@@@also% |
| 1601 |
[#1][#2]#3{% |
| 1602 |
\setcounter{maskedRefs}{0}% |
| 1603 |
\SubStringsToCounter{maskedRefs}{,}{#3}% |
| 1604 |
\addtocounter{maskedRefs}{1}% |
| 1605 |
\ifnum\value{maskedRefs} = 1% |
| 1606 |
\def\apaSix@masked@refs{(\textit{\themaskedRefs\ citation removed for masked review})}% |
| 1607 |
\else% |
| 1608 |
\def\apaSix@masked@refs{(\textit{\themaskedRefs\ citations removed for masked review})}% |
| 1609 |
\fi% |
| 1610 |
\apaSix@masked@refs% |
| 1611 |
} |
| 1612 |
|
| 1613 |
% \maskparencite |
| 1614 |
\newcommand\maskparencite{\@ifnextchar[{\maskparencite@@also}{\maskparencite@@also[]}} |
| 1615 |
\newcommand\maskparencite@@also{} |
| 1616 |
\def\maskparencite@@also[#1]{\@ifnextchar[{\maskparencite@@@also[#1]}{\maskparencite@@@also[][#1]}} |
| 1617 |
|
| 1618 |
\def\maskparencite@@@also% |
| 1619 |
[#1][#2]#3{% |
| 1620 |
\setcounter{maskedRefs}{0}% |
| 1621 |
\SubStringsToCounter{maskedRefs}{,}{#3}% |
| 1622 |
\addtocounter{maskedRefs}{1}% |
| 1623 |
\ifnum\value{maskedRefs} = 1% |
| 1624 |
\def\apaSix@masked@refs{(\textit{\themaskedRefs\ citation removed for masked review})}% |
| 1625 |
\else% |
| 1626 |
\def\apaSix@masked@refs{(\textit{\themaskedRefs\ citations removed for masked review})}% |
| 1627 |
\fi% |
| 1628 |
\apaSix@masked@refs% |
| 1629 |
} |
| 1630 |
|
| 1631 |
% \maskParencite |
| 1632 |
\newcommand\maskParencite{\@ifnextchar[{\maskParencite@@also}{\maskParencite@@also[]}} |
| 1633 |
\newcommand\maskParencite@@also{} |
| 1634 |
\def\maskParencite@@also[#1]{\@ifnextchar[{\maskParencite@@@also[#1]}{\maskParencite@@@also[][#1]}} |
| 1635 |
|
| 1636 |
\def\maskParencite@@@also% |
| 1637 |
[#1][#2]#3{% |
| 1638 |
\setcounter{maskedRefs}{0}% |
| 1639 |
\SubStringsToCounter{maskedRefs}{,}{#3}% |
| 1640 |
\addtocounter{maskedRefs}{1}% |
| 1641 |
\ifnum\value{maskedRefs} = 1% |
| 1642 |
\def\apaSix@masked@refs{(\textit{\themaskedRefs\ citation removed for masked review})}% |
| 1643 |
\else% |
| 1644 |
\def\apaSix@masked@refs{(\textit{\themaskedRefs\ citations removed for masked review})}% |
| 1645 |
\fi% |
| 1646 |
\apaSix@masked@refs% |
| 1647 |
} |
| 1648 |
|
| 1649 |
% \maskciteauthor |
| 1650 |
\newcommand\maskciteauthor{\@ifnextchar[{\maskciteauthor@@also}{\maskciteauthor@@also[]}} |
| 1651 |
\newcommand\maskciteauthor@@also{} |
| 1652 |
\def\maskciteauthor@@also[#1]{\@ifnextchar[{\maskciteauthor@@@also[#1]}{\maskciteauthor@@@also[][#1]}} |
| 1653 |
|
| 1654 |
\def\maskciteauthor@@@also% |
| 1655 |
[#1][#2]#3{% |
| 1656 |
\setcounter{maskedRefs}{0}% |
| 1657 |
\SubStringsToCounter{maskedRefs}{,}{#3}% |
| 1658 |
\addtocounter{maskedRefs}{1}% |
| 1659 |
\ifnum\value{maskedRefs} = 1% |
| 1660 |
\def\apaSix@masked@refs{(\textit{\themaskedRefs\ citation removed for masked review})}% |
| 1661 |
\else% |
| 1662 |
\def\apaSix@masked@refs{(\textit{\themaskedRefs\ citations removed for masked review})}% |
| 1663 |
\fi% |
| 1664 |
\apaSix@masked@refs% |
| 1665 |
} |
| 1666 |
|
| 1667 |
% \maskCiteauthor |
| 1668 |
\newcommand\maskCiteauthor{\@ifnextchar[{\maskCiteauthor@@also}{\maskCiteauthor@@also[]}} |
| 1669 |
\newcommand\maskCiteauthor@@also{} |
| 1670 |
\def\maskCiteauthor@@also[#1]{\@ifnextchar[{\maskCiteauthor@@@also[#1]}{\maskCiteauthor@@@also[][#1]}} |
| 1671 |
|
| 1672 |
\def\maskCiteauthor@@@also% |
| 1673 |
[#1][#2]#3{% |
| 1674 |
\setcounter{maskedRefs}{0}% |
| 1675 |
\SubStringsToCounter{maskedRefs}{,}{#3}% |
| 1676 |
\addtocounter{maskedRefs}{1}% |
| 1677 |
\ifnum\value{maskedRefs} = 1% |
| 1678 |
\def\apaSix@masked@refs{(\textit{\themaskedRefs\ citation removed for masked review})}% |
| 1679 |
\else% |
| 1680 |
\def\apaSix@masked@refs{(\textit{\themaskedRefs\ citations removed for masked review})}% |
| 1681 |
\fi% |
| 1682 |
\apaSix@masked@refs% |
| 1683 |
} |
| 1684 |
|
| 1685 |
% \maskciteyear |
| 1686 |
\newcommand\maskciteyear{\@ifnextchar[{\maskciteyear@@also}{\maskciteyear@@also[]}} |
| 1687 |
\newcommand\maskciteyear@@also{} |
| 1688 |
\def\maskciteyear@@also[#1]{\@ifnextchar[{\maskciteyear@@@also[#1]}{\maskciteyear@@@also[][#1]}} |
| 1689 |
|
| 1690 |
\def\maskciteyear@@@also% |
| 1691 |
[#1][#2]#3{% |
| 1692 |
\setcounter{maskedRefs}{0}% |
| 1693 |
\SubStringsToCounter{maskedRefs}{,}{#3}% |
| 1694 |
\addtocounter{maskedRefs}{1}% |
| 1695 |
\ifnum\value{maskedRefs} = 1% |
| 1696 |
\def\apaSix@masked@refs{(\textit{\themaskedRefs\ citation removed for masked review})}% |
| 1697 |
\else% |
| 1698 |
\def\apaSix@masked@refs{(\textit{\themaskedRefs\ citations removed for masked review})}% |
| 1699 |
\fi% |
| 1700 |
\apaSix@masked@refs% |
| 1701 |
} |
| 1702 |
|
| 1703 |
% \maskfootcite |
| 1704 |
\newcommand\maskfootcite{\@ifnextchar[{\maskfootcite@@also}{\maskfootcite@@also[]}} |
| 1705 |
\newcommand\maskfootcite@@also{} |
| 1706 |
\def\maskfootcite@@also[#1]{\@ifnextchar[{\maskfootcite@@@also[#1]}{\maskfootcite@@@also[][#1]}} |
| 1707 |
|
| 1708 |
\def\maskfootcite@@@also% |
| 1709 |
[#1][#2]#3{% |
| 1710 |
\setcounter{maskedRefs}{0}% |
| 1711 |
\SubStringsToCounter{maskedRefs}{,}{#3}% |
| 1712 |
\addtocounter{maskedRefs}{1}% |
| 1713 |
\ifnum\value{maskedRefs} = 1% |
| 1714 |
\def\apaSix@masked@refs{(\textit{\themaskedRefs\ citation removed for masked review})}% |
| 1715 |
\else% |
| 1716 |
\def\apaSix@masked@refs{(\textit{\themaskedRefs\ citations removed for masked review})}% |
| 1717 |
\fi% |
| 1718 |
\apaSix@masked@refs% |
| 1719 |
} |
| 1720 |
|
| 1721 |
% \maskfootcitetext |
| 1722 |
\newcommand\maskfootcitetext{\@ifnextchar[{\maskfootcitetext@@also}{\maskfootcitetext@@also[]}} |
| 1723 |
\newcommand\maskfootcitetext@@also{} |
| 1724 |
\def\maskfootcitetext@@also[#1]{\@ifnextchar[{\maskfootcitetext@@@also[#1]}{\maskfootcitetext@@@also[][#1]}} |
| 1725 |
|
| 1726 |
\def\maskfootcitetext@@@also% |
| 1727 |
[#1][#2]#3{% |
| 1728 |
\setcounter{maskedRefs}{0}% |
| 1729 |
\SubStringsToCounter{maskedRefs}{,}{#3}% |
| 1730 |
\addtocounter{maskedRefs}{1}% |
| 1731 |
\ifnum\value{maskedRefs} = 1% |
| 1732 |
\def\apaSix@masked@refs{(\textit{\themaskedRefs\ citation removed for masked review})}% |
| 1733 |
\else% |
| 1734 |
\def\apaSix@masked@refs{(\textit{\themaskedRefs\ citations removed for masked review})}% |
| 1735 |
\fi% |
| 1736 |
\apaSix@masked@refs% |
| 1737 |
} |
| 1738 |
|
| 1739 |
% \masktextcite |
| 1740 |
\newcommand\masktextcite{\@ifnextchar[{\masktextcite@@also}{\masktextcite@@also[]}} |
| 1741 |
\newcommand\masktextcite@@also{} |
| 1742 |
\def\masktextcite@@also[#1]{\@ifnextchar[{\masktextcite@@@also[#1]}{\masktextcite@@@also[][#1]}} |
| 1743 |
|
| 1744 |
\def\masktextcite@@@also% |
| 1745 |
[#1][#2]#3{% |
| 1746 |
\setcounter{maskedRefs}{0}% |
| 1747 |
\SubStringsToCounter{maskedRefs}{,}{#3}% |
| 1748 |
\addtocounter{maskedRefs}{1}% |
| 1749 |
\ifnum\value{maskedRefs} = 1% |
| 1750 |
\def\apaSix@masked@refs{(\textit{\themaskedRefs\ citation removed for masked review})}% |
| 1751 |
\else% |
| 1752 |
\def\apaSix@masked@refs{(\textit{\themaskedRefs\ citations removed for masked review})}% |
| 1753 |
\fi% |
| 1754 |
\apaSix@masked@refs% |
| 1755 |
} |
| 1756 |
|
| 1757 |
% \maskTextcite |
| 1758 |
\newcommand\maskTextcite{\@ifnextchar[{\maskTextcite@@also}{\maskTextcite@@also[]}} |
| 1759 |
\newcommand\maskTextcite@@also{} |
| 1760 |
\def\maskTextcite@@also[#1]{\@ifnextchar[{\maskTextcite@@@also[#1]}{\maskTextcite@@@also[][#1]}} |
| 1761 |
|
| 1762 |
\def\maskTextcite@@@also% |
| 1763 |
[#1][#2]#3{% |
| 1764 |
\setcounter{maskedRefs}{0}% |
| 1765 |
\SubStringsToCounter{maskedRefs}{,}{#3}% |
| 1766 |
\addtocounter{maskedRefs}{1}% |
| 1767 |
\ifnum\value{maskedRefs} = 1% |
| 1768 |
\def\apaSix@masked@refs{(\textit{\themaskedRefs\ citation removed for masked review})}% |
| 1769 |
\else% |
| 1770 |
\def\apaSix@masked@refs{(\textit{\themaskedRefs\ citations removed for masked review})}% |
| 1771 |
\fi% |
| 1772 |
\apaSix@masked@refs% |
| 1773 |
} |
| 1774 |
|
| 1775 |
} |
| 1776 |
|
| 1777 |
} |
| 1778 |
|
| 1779 |
|
| 1780 |
|
| 1781 |
%========== APA Section spacing |
| 1782 |
|
| 1783 |
\newskip\b@level@one@skip \b@level@one@skip=2.5ex plus 1ex minus .2ex |
| 1784 |
\newskip\e@level@one@skip \e@level@one@skip=1.5ex plus .6ex minus .1ex |
| 1785 |
\newskip\b@level@two@skip \b@level@two@skip=2.5ex plus 1ex minus .2ex |
| 1786 |
\newskip\e@level@two@skip \e@level@two@skip=1.5ex plus .6ex minus .1ex |
| 1787 |
\newskip\b@level@three@skip \b@level@three@skip=2.0ex plus .8ex minus .2ex |
| 1788 |
\newskip\e@level@three@skip \e@level@three@skip=1.5ex plus .6ex minus .1ex |
| 1789 |
\newskip\b@level@four@skip \b@level@four@skip=1.8ex plus .8ex minus .2ex |
| 1790 |
\newskip\e@level@four@skip \e@level@four@skip=1.5ex plus .6ex minus .1ex |
| 1791 |
\newskip\b@level@five@skip \b@level@five@skip=1.8ex plus .8ex minus .2ex |
| 1792 |
\newskip\e@level@five@skip \e@level@five@skip=0ex |
| 1793 |
|
| 1794 |
\ifapamodeman{% |
| 1795 |
\@ifundefined{def@noextraspace}{}{% |
| 1796 |
% redefine the vertical section spacing |
| 1797 |
\b@level@one@skip=0.2\baselineskip \@plus 0.2ex \@minus 0.2ex |
| 1798 |
\e@level@one@skip=0.2\baselineskip \@plus .2ex |
| 1799 |
\b@level@two@skip=0.2\baselineskip \@plus 0.2ex \@minus 0.2ex |
| 1800 |
\e@level@two@skip=0.2\baselineskip \@plus 0.2ex |
| 1801 |
\b@level@three@skip=0\baselineskip \@plus 0.2ex \@minus 0.2ex |
| 1802 |
\e@level@three@skip=-\z@ |
| 1803 |
\b@level@four@skip=0\baselineskip \@plus 0.2ex \@minus 0.2ex |
| 1804 |
\e@level@four@skip=-\z@ |
| 1805 |
\b@level@five@skip=0\baselineskip \@plus 0.2ex \@minus 0.2ex |
| 1806 |
\e@level@five@skip=0ex |
| 1807 |
} |
| 1808 |
}{} |
| 1809 |
|
| 1810 |
|
| 1811 |
|
| 1812 |
%========== APA Section heading & seriation, adapted from class apa6e |
| 1813 |
|
| 1814 |
% % Below is the license statement from the apa6e class, from which a |
| 1815 |
% % small bit of code was used (with permission from Nathaniel Smith) |
| 1816 |
% % Copyright (C) 2011 by Nathaniel J. Smith <[email protected]> |
| 1817 |
% % |
| 1818 |
% % Redistribution and use in source and binary forms, with or without |
| 1819 |
% % modification, are permitted provided that the following conditions are |
| 1820 |
% % met: |
| 1821 |
% % |
| 1822 |
% % 1. Redistributions of source code must retain the above copyright |
| 1823 |
% % notice, this list of conditions and the following disclaimer. |
| 1824 |
% % |
| 1825 |
% % 2. Redistributions in binary form must reproduce the above |
| 1826 |
% % copyright notice, this list of conditions and the following |
| 1827 |
% % disclaimer in the documentation and/or other materials provided |
| 1828 |
% % with the distribution. |
| 1829 |
% % |
| 1830 |
% % THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 1831 |
% % ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 1832 |
% % LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 1833 |
% % A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 1834 |
% % HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 1835 |
% % SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 1836 |
% % LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 1837 |
% % DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 1838 |
% % THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 1839 |
% % (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 1840 |
% % OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 1841 |
% % |
| 1842 |
|
| 1843 |
\setcounter{secnumdepth}{0} |
| 1844 |
|
| 1845 |
\renewcommand{\section}{\@startsection {section}{1}{\z@}% |
| 1846 |
{\b@level@one@skip}{\e@level@one@skip}% |
| 1847 |
{\centering\normalfont\normalsize\bfseries}} |
| 1848 |
|
| 1849 |
\renewcommand{\subsection}{\@startsection{subsection}{2}{\z@}% |
| 1850 |
{\b@level@two@skip}{\e@level@two@skip}% |
| 1851 |
{\normalfont\normalsize\bfseries}} |
| 1852 |
|
| 1853 |
|
| 1854 |
\newcommand*{\typesectitle}[1]{#1\addperi} |
| 1855 |
|
| 1856 |
\newcommand*{\addperi}{% |
| 1857 |
\relax\ifhmode% |
| 1858 |
\ifnum\spacefactor>\@m \else.\fi% |
| 1859 |
\fi% |
| 1860 |
} |
| 1861 |
|
| 1862 |
\renewcommand{\subsubsection}{\@startsection{subsubsection}{3}{\parindent}% |
| 1863 |
{0\baselineskip \@plus 0.2ex \@minus 0.2ex}% |
| 1864 |
{-1em}% |
| 1865 |
{\normalfont\normalsize\bfseries\typesectitle}} |
| 1866 |
|
| 1867 |
\renewcommand{\paragraph}{\@startsection{paragraph}{4}{\parindent}% |
| 1868 |
{0\baselineskip \@plus 0.2ex \@minus 0.2ex}% |
| 1869 |
{-1em}% |
| 1870 |
{\normalfont\normalsize\bfseries\itshape\typesectitle}} |
| 1871 |
|
| 1872 |
\renewcommand{\subparagraph}[1]{\@startsection{subparagraph}{5}{1em}% |
| 1873 |
{0\baselineskip \@plus 0.2ex \@minus 0.2ex}% |
| 1874 |
{-\z@\relax}% |
| 1875 |
{\normalfont\normalsize\itshape\hspace{\parindent}{#1}\textit{\addperi}}{\relax}} |
| 1876 |
|
| 1877 |
% make the References section non-boldface |
| 1878 |
\AtBeginDocument{\def\st@rtbibsection{\mspart{\refname}}}% BDB -- this is for apacite |
| 1879 |
\AtBeginDocument{\def\bibsection{\mspart{\refname}}}% BDB -- this is for apacite + natbib |
| 1880 |
\newcommand{\mspart}{{\ifapamodeman{\clearpage}{}}\@startsection {section}{1}{\z@}% |
| 1881 |
{\b@level@one@skip}{\e@level@one@skip}% |
| 1882 |
{\centering\normalfont\normalsize}} |
| 1883 |
|
| 1884 |
% format the table and figure captions |
| 1885 |
\RequirePackage[singlelinecheck=off]{caption} |
| 1886 |
|
| 1887 |
\ifapamode{% man |
| 1888 |
\DeclareCaptionLabelFormat{tablelabel}{\hspace{-\parindent}\raggedright#1 #2} |
| 1889 |
\DeclareCaptionLabelFormat{figurelabel}{\hspace{-\parindent}\raggedright\textit{#1 #2}} |
| 1890 |
\DeclareCaptionTextFormat{tabletext}{\hspace{-\parindent}\raggedright\textit{#1}} |
| 1891 |
}{% jou |
| 1892 |
\DeclareCaptionLabelFormat{tablelabel}{\hspace{-\parindent}#1 #2} |
| 1893 |
\DeclareCaptionLabelFormat{figurelabel}{\hspace{-\parindent}\textit{#1 #2}} |
| 1894 |
\DeclareCaptionTextFormat{tabletext}{\hspace{-\parindent |
| 1895 |
}\textit{#1}} |
| 1896 |
}{% doc |
| 1897 |
\DeclareCaptionLabelFormat{tablelabel}{\hspace{-\parindent}#1 #2} |
| 1898 |
\DeclareCaptionLabelFormat{figurelabel}{\hspace{-\parindent}\textit{#1 #2}} |
| 1899 |
\DeclareCaptionTextFormat{tabletext}{\hspace{-\parindent}\textit{#1}} |
| 1900 |
} |
| 1901 |
\captionsetup[table]{position=above,skip=0pt,labelformat=tablelabel,labelsep=newline,textformat=tabletext} |
| 1902 |
\captionsetup[figure]{position=below,skip=0pt,labelformat=figurelabel,labelsep=period} |
| 1903 |
|
| 1904 |
% space between caption and surrounding document text |
| 1905 |
\setlength{\belowcaptionskip}{0pt} |
| 1906 |
|
| 1907 |
|
| 1908 |
%============================================================= |
| 1909 |
% |
| 1910 |
% End of code from apa6e |
| 1911 |
% |
| 1912 |
%============================================================= |
| 1913 |
|
| 1914 |
|
| 1915 |
% Code from theapa.sty |
| 1916 |
|
| 1917 |
% Refer to LaTeX book to modify, if you want, spaces before and after of |
| 1918 |
% \begin{...} ... \end{...} or spaces between \item-s. |
| 1919 |
\newcounter{APAenum} |
| 1920 |
\newskip\@text@par@indent |
| 1921 |
\def\APAenumerate{\@text@par@indent\parindent\setbox0\hbox{1. }% |
| 1922 |
\list{\arabic{APAenum}.}{\usecounter{APAenum} |
| 1923 |
\labelwidth\z@\labelsep\z@\leftmargin\z@\parsep\z@ |
| 1924 |
\rightmargin\z@\itemsep\z@\topsep\z@\partopsep\z@ |
| 1925 |
\itemindent\@text@par@indent\advance\itemindent by\wd0 |
| 1926 |
\def\makelabel##1{\hss\llap{##1 }}}} |
| 1927 |
\let\endAPAenumerate=\endlist |
| 1928 |
|
| 1929 |
\def\seriate{\@bsphack\begingroup% |
| 1930 |
\setcounter{APAenum}{0}% |
| 1931 |
\def\item{\addtocounter{APAenum}{1}(\alph{APAenum})\space}% |
| 1932 |
\ignorespaces} |
| 1933 |
\def\endseriate{\endgroup\@esphack} |
| 1934 |
|
| 1935 |
\def\APAitemize{\@text@par@indent\parindent\setbox0\hbox{$\bullet$}% |
| 1936 |
\list{$\bullet$}{% |
| 1937 |
\labelwidth\z@\labelsep.5em\leftmargin\z@\parsep\z@ |
| 1938 |
\rightmargin\z@\itemsep\z@\topsep\z@\partopsep\z@ |
| 1939 |
\itemindent\@text@par@indent |
| 1940 |
\advance\itemindent by\wd0\advance\itemindent by.5em |
| 1941 |
\def\makelabel##1{\hss\llap{##1}}}} |
| 1942 |
\let\endAPAitemize=\endlist |
| 1943 |
|
| 1944 |
% \let\enumerate=\APAenumerate |
| 1945 |
% \let\endenumerate=\endAPAenumerate |
| 1946 |
% \let\itemize=\APAitemize |
| 1947 |
% \let\enditemize=\endAPAitemize |
| 1948 |
|
| 1949 |
%============================================================= |
| 1950 |
% |
| 1951 |
% End of code from theapa.sty |
| 1952 |
% |
| 1953 |
%============================================================= |
| 1954 |
|
| 1955 |
%===== apa.cls main declarations for title page contents ===== |
| 1956 |
|
| 1957 |
\long\def\title#1{\long\def\@title{#1}} |
| 1958 |
\long\def\author#1{\long\def\@author{#1}} |
| 1959 |
\long\def\shorttitle#1{\long\def\@shorttitle{#1}} |
| 1960 |
\long\def\twoauthors#1#2{\long\def\@authorOne{#1}\long\def\@authorTwo{#2}% |
| 1961 |
\long\def\@author{#1}} |
| 1962 |
\long\def\onetwoauthors#1#2#3{\long\def\@authorOne{#1}\long\def\@authorTwo{#2}% |
| 1963 |
\long\def\@authorThree{#3}\long\def\@author{#1}} |
| 1964 |
\long\def\twooneauthors#1#2#3{\long\def\@authorOne{#1}\long\def\@authorTwo{#2}% |
| 1965 |
\long\def\@authorThree{#3}\long\def\@author{#1}\def\@twofirst{1}} |
| 1966 |
\let\threeauthors=\onetwoauthors |
| 1967 |
\long\def\fourauthors#1#2#3#4{\long\def\@authorOne{#1}\long\def\@authorTwo{#2}% |
| 1968 |
\long\def\@authorThree{#3}\long\def\@authorFour{#4}\long\def\@author{#1}} |
| 1969 |
\long\def\fiveauthors#1#2#3#4#5{\long\def\@authorOne{#1}\long\def\@authorTwo{#2}%%%% |
| 1970 |
\long\def\@authorThree{#3}\long\def\@authorFour{#4}\long\def\@authorFive{#5}% %% |
| 1971 |
\long\def\@author{#1}} %% 2006/01/05 -- added as contributed by Aaron Geller %% |
| 1972 |
\long\def\sixauthors#1#2#3#4#5#6{\long\def\@authorOne{#1}% %% thp 2006/01/05 |
| 1973 |
\long\def\@authorTwo{#2}\long\def\@authorThree{#3}\long\def\@authorFour{#4}%% thp 2006/01/05 |
| 1974 |
\long\def\@authorFive{#5}\long\def\@authorSix{#6}\long\def\@author{#1}} %% thp 2006/01/05 |
| 1975 |
\long\def\affiliation#1{\long\def\@affil{#1}} |
| 1976 |
\long\def\twoaffiliations#1#2{\long\def\@affilOne{#1}\long\def\@affilTwo{#2}% |
| 1977 |
\long\def\@affil{#1}} |
| 1978 |
\long\def\onetwoaffiliations#1#2#3{\long\def\@affilOne{#1}\long\def\@affilTwo{#2}% |
| 1979 |
\long\def\@affilThree{#3}\long\def\@affil{#1}} |
| 1980 |
\long\def\twooneaffiliations#1#2#3{\long\def\@affilOne{#1}\long\def\@affilTwo{#2}% |
| 1981 |
\long\def\@affilThree{#3}\long\def\@affil{#1}} |
| 1982 |
\let\threeaffiliations=\onetwoaffiliations |
| 1983 |
\long\def\fouraffiliations#1#2#3#4{\long\def\@affilOne{#1}\long\def\@affilTwo{#2}% |
| 1984 |
\long\def\@affilThree{#3}\long\def\@affilFour{#4}\long\def\@affil{#1}} |
| 1985 |
\long\def\fiveaffiliations#1#2#3#4#5{\long\def\@affilOne{#1}\long\def\@affilTwo{#2}%% |
| 1986 |
\long\def\@affilThree{#3}\long\def\@affilFour{#4}\long\def\@affilFive{#5}% %% |
| 1987 |
\long\def\@affil{#1}} %% 2006/01/05 -- added as contributed by Aaron Geller %% |
| 1988 |
\long\def\sixaffiliations#1#2#3#4#5#6{\long\def\@affilOne{#1}% %% thp 2006/01/05 |
| 1989 |
\long\def\@affilTwo{#2}\long\def\@affilThree{#3}\long\def\@affilFour{#4}%% thp 2006/01/05 |
| 1990 |
\long\def\@affilFive{#5}\long\def\@affilSix{#6}\long\def\@affil{#1}} %% thp 2006/01/05 |
| 1991 |
\long\def\note#1{\long\def\@note{#1}} |
| 1992 |
\long\def\abstract#1{\long\def\@abstract{#1}} |
| 1993 |
\long\def\keywords#1{\long\def\@keywords{#1}} |
| 1994 |
%\long\def\acknowledgements#1{\long\def\@acks{#1}} |
| 1995 |
\long\def\authornote#1{\long\def\@acks{#1}} |
| 1996 |
\def\journal#1{\RequirePackage{fancyhdr}\def\@journal{#1}} |
| 1997 |
\def\volume#1{\def\@vvolume{#1}} |
| 1998 |
\def\ccoppy#1{\def\@ccoppy{#1}} |
| 1999 |
\def\copnum#1{\def\@copnum{#1}} |
| 2000 |
\def\@error@toomanyauthors{\ClassWarningNoLine{apa6}{More authors than affiliations defined}} |
| 2001 |
\def\@error@toomanyaffils{\ClassWarningNoLine{apa6}{More affiliations than authors defined}} |
| 2002 |
% \RequirePackage{xstring} %% need this if inserting default shorttitle (three lines commented out below) |
| 2003 |
\def\check@author{% |
| 2004 |
\@ifundefined{@author}{% |
| 2005 |
\ClassWarningNoLine{apa6}{Author not defined}\def\@author{Author}}{} |
| 2006 |
\@ifundefined{@title}{% |
| 2007 |
\ClassWarningNoLine{apa6}{Title not defined}\def\@title{Title}}{} |
| 2008 |
\@ifundefined{@shorttitle}{% |
| 2009 |
\ClassWarningNoLine{apa6}{Short title not defined}\def\@shorttitle{INSERT SHORTTITLE COMMAND IN PREAMBLE}}{} |
| 2010 |
% \ClassWarningNoLine{apa6}{Short title not defined}% |
| 2011 |
% \StrLen{\@title}[\titleLen]\def\@shorttitle{% |
| 2012 |
% \ifnum\titleLen 50INSERT SHORTTITLE COMMAND IN PREAMBLE\else\@title\fi}}{} |
| 2013 |
\@ifundefined{@affil}{% |
| 2014 |
\ClassWarningNoLine{apa6}{Affiliation not defined}\def\@affil{Affiliation}}{} |
| 2015 |
\@ifundefined{@abstract}{% |
| 2016 |
\ClassWarningNoLine{apa6}{Abstract not defined}}{} |
| 2017 |
\@ifundefined{@keywords}{% |
| 2018 |
\ClassInfo{apa6}{Keywords not defined}}{} |
| 2019 |
\@ifundefined{@authorSix}{% % -- thp 2006/01/05 |
| 2020 |
\@ifundefined{@authorFive}{% % -- thp 2006/01/05 |
| 2021 |
\@ifundefined{@authorFour}{% |
| 2022 |
\@ifundefined{@authorThree}{% |
| 2023 |
\@ifundefined{@authorTwo}{% |
| 2024 |
}{\@ifundefined{@affilTwo}{\@error@toomanyauthors}{}} |
| 2025 |
}{\@ifundefined{@affilThree}{\@error@toomanyauthors}{}} |
| 2026 |
}{\@ifundefined{@affilFour}{\@error@toomanyauthors}{}} |
| 2027 |
}{\@ifundefined{@affilFive}{\@error@toomanyauthors}{}} % -- thp 2006/01/05 |
| 2028 |
}{\@ifundefined{@affilSix}{\@error@toomanyauthors}{}} % -- thp 2006/01/05 |
| 2029 |
\@ifundefined{@affilSix}{% % -- thp 2006/01/05 |
| 2030 |
\@ifundefined{@affilFive}{% % -- thp 2006/01/05 |
| 2031 |
\@ifundefined{@affilFour}{% |
| 2032 |
\@ifundefined{@affilThree}{% |
| 2033 |
\@ifundefined{@affilTwo}{% |
| 2034 |
}{\@ifundefined{@authorTwo}{\@error@toomanyaffils}{}} |
| 2035 |
}{\@ifundefined{@authorThree}{\@error@toomanyaffils}{}} |
| 2036 |
}{\@ifundefined{@authorFour}{\@error@toomanyaffils}{}} |
| 2037 |
}{\@ifundefined{@authorFive}{\@error@toomanyaffils}{}} % -- thp 2006/01/05 |
| 2038 |
}{\@ifundefined{@authorSix}{\@error@toomanyaffils}{}} % -- thp 2006/01/05 |
| 2039 |
} |
| 2040 |
|
| 2041 |
%==== Automatic figure size and orientation determination ==== |
| 2042 |
|
| 2043 |
\newsavebox\gr@box |
| 2044 |
\newlength\gr@boxwidth |
| 2045 |
\newlength\gr@boxheight |
| 2046 |
|
| 2047 |
\newcommand{\fitfigure}[2][0.5]{% |
| 2048 |
%\ifapamodeman |
| 2049 |
%{% man |
| 2050 |
%\sbox\gr@box{\includegraphics[width=\linewidth]{#2}} |
| 2051 |
%\settowidth{\gr@boxwidth}{\usebox\gr@box} |
| 2052 |
%\settoheight{\gr@boxheight}{\usebox\gr@box} |
| 2053 |
%\ifdim\gr@boxheight>\gr@boxwidth{% display upright (h) |
| 2054 |
% \ifdim\gr@boxheight>\textheight% |
| 2055 |
% \centerline{\vspace{\fill}\includegraphics[height=\textheight]{#2}\vspace{\fill}}% |
| 2056 |
% \else% |
| 2057 |
% \usebox\gr@box% |
| 2058 |
% \fi} |
| 2059 |
%\else{% display rotated |
| 2060 |
% \sbox\gr@box{\includegraphics[angle=90,width=\linewidth]{#2}} |
| 2061 |
% \settoheight{\gr@boxheight}{\usebox\gr@box} |
| 2062 |
% \ifdim\gr@boxheight>\textheight% |
| 2063 |
% \centerline{\vspace{\fill}\includegraphics[angle=90,height=\textheight]{#2}\vspace{\fill}}% |
| 2064 |
% \else% |
| 2065 |
% \usebox\gr@box% |
| 2066 |
% \fi}% |
| 2067 |
%\fi |
| 2068 |
%}{% jou, doc |
| 2069 |
\sbox\gr@box{\includegraphics[width=\linewidth]{#2}} |
| 2070 |
\settoheight{\gr@boxheight}{\usebox\gr@box} |
| 2071 |
\ifdim\gr@boxheight>\textheight% |
| 2072 |
\centerline{\includegraphics[height=#1\textheight]{#2}}% need to leave space for caption |
| 2073 |
\else% |
| 2074 |
\usebox\gr@box% |
| 2075 |
\fi |
| 2076 |
%} |
| 2077 |
} |
| 2078 |
|
| 2079 |
\newcommand{\fitbitmap}[2][0.5]{ % like fitfigure but no scaling in man mode for best quality |
| 2080 |
%\ifapamodeman |
| 2081 |
%{% man |
| 2082 |
%\sbox\gr@box{\includegraphics{#2}} |
| 2083 |
%\settowidth{\gr@boxwidth}{\usebox\gr@box} |
| 2084 |
%\settoheight{\gr@boxheight}{\usebox\gr@box} |
| 2085 |
%\ifdim\gr@boxwidth>\textwidth% display rotated |
| 2086 |
% \centerline{\vspace{\fill}\includegraphics[angle=90]{#2}\vspace{\fill}}% |
| 2087 |
% \ifdim\gr@boxheight>\textwidth\ClassWarning{apa6}{Figure #2 too high!}\fi% display rotated |
| 2088 |
% \ifdim\gr@boxwidth>\textheight\ClassWarning{apa6}{Figure #2 too wide!}\fi% display rotated |
| 2089 |
%\else% display upright |
| 2090 |
% \centerline{\vspace{\fill}\includegraphics{#2}\vspace{\fill}}% |
| 2091 |
% \ifdim\gr@boxheight>\textheight\ClassWarning{apa6}{Figure #2 too high!}\fi% display rotated |
| 2092 |
%\fi} |
| 2093 |
%{% jou, doc |
| 2094 |
\sbox\gr@box{\includegraphics[width=\linewidth]{#2}} |
| 2095 |
\settoheight{\gr@boxheight}{\usebox\gr@box} |
| 2096 |
\ifdim\gr@boxheight>\textheight% |
| 2097 |
\centerline{\includegraphics[height=#1\textheight]{#2}}% need to leave space for caption |
| 2098 |
\else% |
| 2099 |
\centerline{\usebox\gr@box}% |
| 2100 |
\fi |
| 2101 |
%} |
| 2102 |
} |
| 2103 |
|
| 2104 |
%==== Miscellaneous definitions |
| 2105 |
|
| 2106 |
\let\normal@BBAB\BBAB % -- thp 2005/07/23 |
| 2107 |
\let\table@BBAB\BBAA % -- thp 2005/07/23 |
| 2108 |
|
| 2109 |
\setlength{\doublerulesep}{\arrayrulewidth} |
| 2110 |
\newcommand\thickline{\hline\hline} |
| 2111 |
\renewcommand\footnoterule{% |
| 2112 |
\kern-3\p@ |
| 2113 |
% \hrule.5\@width.4\columnwidth |
| 2114 |
\hrule height0.125pt width.5in |
| 2115 |
\kern2.6\p@} |
| 2116 |
|
| 2117 |
\let\apaSixtabular\tabular |
| 2118 |
\let\apaSix@doc@tabular\tabular |
| 2119 |
%\let\old@tabular\tabular |
| 2120 |
%\def\apaSixtabular#1{\def\@halignto{to\linewidth}% |
| 2121 |
% \let\BBAB\table@BBAB% -- thp 2005/07/23 |
| 2122 |
% \@tabular{@{\extracolsep{\fill}}#1}} |
| 2123 |
%\def\apaSix@doc@tabular{%% thp 2006/01/02 |
| 2124 |
% \let\BBAB\table@BBAB%% Erik Meijer noticed that in doc mode tables weren't centered |
| 2125 |
% \hfill\old@tabular} %% and that the in-table citation form was incorrect |
| 2126 |
%% |
| 2127 |
\let\apaSix@doc@endtabular\endtabular |
| 2128 |
%\let\orig@endtabular\endtabular % -- thp 2005/07/23 |
| 2129 |
%\def\endtabular{% |
| 2130 |
% \let\BBAB\normal@BBAB% -- thp 2005/07/23 |
| 2131 |
% \orig@endtabular\ifapamodedoc{\hfill}{}}% 2006/01/02 \hfill for centering in doc mode |
| 2132 |
%\def\apaSix@doc@endtabular{%% thp 2006/01/03 |
| 2133 |
% \let\BBAB\normal@BBAB% %% separate redefinition of tabular/endtabular for doc mode |
| 2134 |
% \orig@endtabular\hfill}%% to ensure centering, especially in case array.sty is loaded |
| 2135 |
|
| 2136 |
% Define footnote mark commands for tables that won't mess up vertical alignment |
| 2137 |
\def\@tab@fn#1{\ensuremath{^{\mbox{{\scriptsize #1}}}}} |
| 2138 |
\def\tabfnm#1{\rlap{\@tab@fn{#1}}} |
| 2139 |
%\def\tabfnt#1#2{\par\raggedright\@tab@fn{#1}#2}%BDB |
| 2140 |
\def\tabfnt#1#2{\raggedright\@tab@fn{#1}#2} |
| 2141 |
|
| 2142 |
% Provide a command to display vector symbols appropriately in each mode, thp 10/00 |
| 2143 |
% Use improved definition of apaSixvector provided by Erik Meijer -- 2005/12/28 |
| 2144 |
\def\apaSixvector#1{{\ensuremath |
| 2145 |
\uprightlowercasegreek |
| 2146 |
\ifapamodeman |
| 2147 |
{\apaSixsmash{\mathop{\kern\z@\mathrm{#1}}\limits_{\scriptscriptstyle\sim}}}% |
| 2148 |
{\if@bm@loaded\bm{\mathrm{#1}}\else\mathbf{#1}\fi% in case bm is not available |
| 2149 |
}% |
| 2150 |
}} |
| 2151 |
% and here are the necessary definitions & packages, as instructed by Erik Meijer |
| 2152 |
\newcommand{\apaSixsmash}{% |
| 2153 |
\def\finsm@sh{\dp\z@\z@ \box\z@}% |
| 2154 |
\expandafter\mathpalette\expandafter\mathsm@sh |
| 2155 |
}% |
| 2156 |
\newif\if@bm@loaded\@bm@loadedfalse |
| 2157 |
\IfFileExists{bm.sty}{\RequirePackage{bm}\@bm@loadedtrue}{}% if not, apaSixvector will fail |
| 2158 |
\newcommand{\uprightlowercasegreek}{% |
| 2159 |
\@ifundefined{alphaup}{}{% |
| 2160 |
\def\alpha {\alphaup }% |
| 2161 |
\def\beta {\betaup }% |
| 2162 |
\def\gamma {\gammaup }% |
| 2163 |
\def\delta {\deltaup }% |
| 2164 |
\def\epsilon {\epsilonup }% |
| 2165 |
\def\varepsilon{\varepsilonup}% |
| 2166 |
\def\zeta {\zetaup }% |
| 2167 |
\def\eta {\etaup }% |
| 2168 |
\def\theta {\thetaup }% |
| 2169 |
\def\vartheta {\varthetaup }% |
| 2170 |
\def\iota {\iotaup }% |
| 2171 |
\def\kappa {\kappaup }% |
| 2172 |
\def\lambda {\lambdaup }% |
| 2173 |
\def\mu {\muup }% |
| 2174 |
\def\nu {\nuup }% |
| 2175 |
\def\xi {\xiup }% |
| 2176 |
\def\pi {\piup }% |
| 2177 |
\def\varpi {\varpiup }% |
| 2178 |
\def\rho {\rhoup }% |
| 2179 |
\def\varrho {\varrhoup }% |
| 2180 |
\def\sigma {\sigmaup }% |
| 2181 |
\def\varsigma {\varsigmaup }% |
| 2182 |
\def\tau {\tauup }% |
| 2183 |
\def\upsilon {\upsilonup }% |
| 2184 |
\def\phi {\phiup }% |
| 2185 |
\def\varphi {\varphiup }% |
| 2186 |
\def\chi {\chiup }% |
| 2187 |
\def\psi {\psiup }% |
| 2188 |
\def\omega {\omegaup }% |
| 2189 |
}% |
| 2190 |
} |
| 2191 |
\let\apaSixmatrix\apaSixvector |
| 2192 |
|
| 2193 |
%==== Appendix macros added by Michael Erickson 2000/07/11, revised by thp 2000/07/18 |
| 2194 |
|
| 2195 |
\newcounter{appendix}\setcounter{appendix}{0} |
| 2196 |
\renewcommand{\theappendix}{\@Alph\c@appendix} |
| 2197 |
\def\apaSixappfig{% |
| 2198 |
\renewcommand\thefigure{\theappendix\@arabic\c@figure}% |
| 2199 |
\ifapamodeman{\renewcommand\thepostfig{\theappendix\arabic{postfig}}}{}} |
| 2200 |
\def\apaSixapptab{% |
| 2201 |
\renewcommand\thetable{\theappendix\@arabic\c@table}% |
| 2202 |
\ifapamodeman{\renewcommand\theposttbl{\theappendix\arabic{posttbl}}}{}} |
| 2203 |
\newif\ifoneappendix |
| 2204 |
\oneappendixtrue % one appendix by default |
| 2205 |
\newif\ifappendix |
| 2206 |
\appendixfalse |
| 2207 |
|
| 2208 |
\def\appendix{% |
| 2209 |
% |
| 2210 |
\ifapamodeman{\processdelayedfloats}{}% BDB -- output all tables and figures prior to the appendix |
| 2211 |
% |
| 2212 |
\appendixtrue |
| 2213 |
\apaSixappfig |
| 2214 |
\apaSixapptab |
| 2215 |
% \ifapamodejou{}{\clearpage} %% commented out -- thp 2005/07/23 |
| 2216 |
\let\old@apaSix@section=\section % This will not work right with five levels in appendix. |
| 2217 |
% Should go into \section, not \leveltwo but would also require |
| 2218 |
% changes to section* and section[ (see \def\section above) |
| 2219 |
% Who uses five level heading appendices anyway? |
| 2220 |
% \newlength{\app@t@width} |
| 2221 |
% \setlength{\app@t@width}{\columnwidth} |
| 2222 |
% \addtolength{\app@t@width}{-8em}%% leveltwo is defined with leftskip=rightskip=4em plus 1fill |
| 2223 |
\long\def\section##1{% |
| 2224 |
\GetTitleString{##1}% |
| 2225 |
\let\@currentlabelname\GetTitleStringResult |
| 2226 |
\ifapamodeman{% |
| 2227 |
\clearpage |
| 2228 |
\setcounter{postfig}{0} |
| 2229 |
\setcounter{posttbl}{0} |
| 2230 |
% \efloat@condopen{fff} |
| 2231 |
% \efloat@iwrite{fff}{\string\addtocounter{appendix}{1}} |
| 2232 |
% \efloat@iwrite{fff}{\string\setcounter{figure}{0}} |
| 2233 |
% \efloat@condopen{ttt} |
| 2234 |
% \efloat@iwrite{ttt}{\string\addtocounter{appendix}{1}} |
| 2235 |
% \efloat@iwrite{ttt}{\string\setcounter{table}{0}}% |
| 2236 |
}{% |
| 2237 |
% \setcounter{figure}{0}% |
| 2238 |
% \setcounter{table}{0}% |
| 2239 |
% \vskip2.5ex% |
| 2240 |
% %\small% the appendix should be set in smaller type in jou, including headers! |
| 2241 |
}% |
| 2242 |
\setcounter{figure}{0}% |
| 2243 |
\setcounter{table}{0}% |
| 2244 |
\vskip2.5ex% |
| 2245 |
% \addtocounter{appendix}{1}% |
| 2246 |
\refstepcounter{appendix}% 2002/07/20 this takes care of references too |
| 2247 |
\ifnum\c@appendix>1\immediate\write\@auxout{\global\string\oneappendixfalse}\fi% |
| 2248 |
% \old@apaSix@section{% |
| 2249 |
% \old@tabular[t]{@{}p{\app@t@width}@{}}% tabular may have been redefined |
| 2250 |
% \centering{% |
| 2251 |
% \appendixname\ifoneappendix\else~\theappendix\fi\\ |
| 2252 |
% ##1% |
| 2253 |
% }\endtabular |
| 2254 |
% }% |
| 2255 |
% |
| 2256 |
\centerline{\normalfont\normalsize\appendixname\ifoneappendix\else~\theappendix\fi}% |
| 2257 |
\centerline{##1}\par% |
| 2258 |
\setlength{\parindent}{0.4in} |
| 2259 |
\makeatletter% |
| 2260 |
\@afterindentfalse% |
| 2261 |
\@afterheading% |
| 2262 |
\makeatother% |
| 2263 |
% |
| 2264 |
}% |
| 2265 |
% |
| 2266 |
} % end of appendix definition |
| 2267 |
|
| 2268 |
%==== End of general apa.cls macro definitions ==== |
| 2269 |
|
| 2270 |
|
| 2271 |
%%%%%%%%%%%%%%%%%%%%%%%%% |
| 2272 |
%% %% |
| 2273 |
%% MANUSCRIPT FORMAT %% |
| 2274 |
%% %% |
| 2275 |
%%%%%%%%%%%%%%%%%%%%%%%%% |
| 2276 |
|
| 2277 |
\@ifundefined{def@man}{}{% |
| 2278 |
|
| 2279 |
% \def\@@spacing{1.75} |
| 2280 |
\def\@@spacing{1.655} |
| 2281 |
|
| 2282 |
\newcommand{\@doublespacing}{\linespread{1.655}} |
| 2283 |
\@doublespacing |
| 2284 |
|
| 2285 |
% allow a little more space between captions and floats in man mode |
| 2286 |
\captionsetup[table]{skip=10pt} |
| 2287 |
\captionsetup[figure]{skip=10pt} |
| 2288 |
|
| 2289 |
\def\rightheader#1{\def\r@headr{\protect\MakeUppercase{#1}}} |
| 2290 |
\def\leftheader#1{\def\r@headl{#1}} |
| 2291 |
%\def\shorttitle#1{\def\s@title{#1}}%\markright{\hfill #1 \thepage} %% no rm - thp 020227 |
| 2292 |
|
| 2293 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\newcommand{\shorttitle}[1]{\def\@shorttitle{#1}} |
| 2294 |
|
| 2295 |
\raggedright |
| 2296 |
|
| 2297 |
\RequirePackage{fancyhdr} |
| 2298 |
\setlength{\headheight}{15.2pt} |
| 2299 |
\fancyhf{} |
| 2300 |
\renewcommand{\headrulewidth}{0pt} |
| 2301 |
|
| 2302 |
\fancypagestyle{titlepage}{% |
| 2303 |
\lhead{\rheadname: \MakeUppercase{\@shorttitle}}% |
| 2304 |
\rhead{\thepage}% |
| 2305 |
} |
| 2306 |
\fancypagestyle{otherpage}{% |
| 2307 |
\lhead{\MakeUppercase{\@shorttitle}}% |
| 2308 |
\rhead{\thepage}% |
| 2309 |
} |
| 2310 |
\pagestyle{otherpage} |
| 2311 |
|
| 2312 |
%========== Alterations to endnotes =================== |
| 2313 |
|
| 2314 |
%\RequirePackage{endnotes} |
| 2315 |
% |
| 2316 |
%% added by BDB to make section heading non-bolface |
| 2317 |
%\def\enoteheading{\section*{\normalfont\normalsize\notesname |
| 2318 |
% \@mkboth{\MakeUppercase{\notesname}}{\MakeUppercase{\notesname}}}% |
| 2319 |
% \mbox{}\par\vskip-\baselineskip} |
| 2320 |
% |
| 2321 |
% |
| 2322 |
%\def\@makeenmark{\hbox{$^{\mbox{\small\@ifundefined{hrm}{}{\sf}\@theenmark}}$}} |
| 2323 |
%\def\enoteformat{\rightskip\z@ \leftskip\z@ |
| 2324 |
% \raggedright\fussy\hyphenpenalty 10000 \parindent=0.4in |
| 2325 |
% \leavevmode\llap{\hbox{$^{\mbox{\small\@ifundefined{hrm}{}{\sf}\@theenmark}}$}}} |
| 2326 |
%\AtEndDocument{% |
| 2327 |
% \ifappendix% set section back to no numbering after appendix |
| 2328 |
% \appendixfalse\let\section=\old@apaSix@section% |
| 2329 |
% \fi |
| 2330 |
%% \@ifundefined{@acks}{}{\newpage\section{\acksname}\@acks} |
| 2331 |
% \@ifundefined{hrm}{\def\enotesize{\normalsize}} |
| 2332 |
% {\def\enotesize{\normalsize\@ifundefined{hrm}{}{\sf}}} |
| 2333 |
% \@ifundefined{NoEndnotes}{\if@enotesopen\newpage\theendnotes\fi}{} |
| 2334 |
% \let\footnote=\oldfootnote |
| 2335 |
%} |
| 2336 |
|
| 2337 |
%========= Alterations to endfloat ==================== |
| 2338 |
|
| 2339 |
% prepare to bypass endfloat for any tables or figures in appendices |
| 2340 |
\let\@noendfloattab\table% BDB |
| 2341 |
\let\@noendfloatfig\figure% BDB |
| 2342 |
|
| 2343 |
% \@ifundefined{float@mark}{% Figure and table in-text markers are no longer required |
| 2344 |
% \RequirePackage[notablist,figlist,notabhead,nofighead,tablesfirst,nomarkers]{endfloat}[1995/10/11]}{% |
| 2345 |
% \RequirePackage[notablist,figlist,notabhead,nofighead,tablesfirst]{endfloat}[1995/10/11]} |
| 2346 |
|
| 2347 |
\RequirePackage[notablist,figlist,notabhead,nofighead,tablesfirst,nomarkers]{endfloat}[1995/10/11] |
| 2348 |
|
| 2349 |
%\renewcommand{\figureplace}{% |
| 2350 |
% \par\begin{center} |
| 2351 |
% \parbox{\textwidth} |
| 2352 |
% {\begin{center} |
| 2353 |
% \rule{2.1in}{0.005in}\\ |
| 2354 |
% Insert \figurename~\thepostfig\ about here\\ |
| 2355 |
% \rule{2.1in}{0.005in}\\ |
| 2356 |
% \end{center}} |
| 2357 |
% \end{center}\par} |
| 2358 |
%\renewcommand{\tableplace}{% |
| 2359 |
% \par\begin{center} |
| 2360 |
% \parbox{\textwidth} |
| 2361 |
% {\begin{center} |
| 2362 |
% \rule{2.1in}{0.005in}\\ |
| 2363 |
% Insert \tablename~\theposttbl\ about here\\ |
| 2364 |
% \rule{2.1in}{0.005in}\\ |
| 2365 |
% \end{center}} |
| 2366 |
% \end{center}\par} |
| 2367 |
|
| 2368 |
\def\@gobbleuntilnext[#1]{} |
| 2369 |
\let\eatarg\@gobbleuntilnext |
| 2370 |
\let\ifnextchar\@ifnextchar |
| 2371 |
|
| 2372 |
\@ifundefined{def@floatsintext}{% Guillaume Jourjon 19/10/10 |
| 2373 |
\def\figure{% |
| 2374 |
\ifappendix |
| 2375 |
\vspace*{\intextsep} |
| 2376 |
\def\fps@figure{!hbt}% |
| 2377 |
\@noendfloatfig |
| 2378 |
\else |
| 2379 |
\efloat@condopen{fff} |
| 2380 |
\efloat@iwrite{fff}{\string\begin{figure*}[hbt]}% |
| 2381 |
\global\def\@figure@written{\relax}% Set a flag that there is at least one figure -- thp 20010705 |
| 2382 |
%% should be a global declaration to be "visible" at end document |
| 2383 |
\ifnextchar[{\gobbleuntilnext[}{} |
| 2384 |
\efloat@iwrite{fff}{\string\ifnextchar[{\string\eatarg}{}} |
| 2385 |
% \if@domarkers% |
| 2386 |
% \addtocounter{postfig}{1}% % bj |
| 2387 |
% \figureplace% % bj |
| 2388 |
% \fi% |
| 2389 |
\def\@currenvir{efloat@float}% |
| 2390 |
\begingroup% |
| 2391 |
\let\do\ef@makeinnocent \dospecials% |
| 2392 |
\ef@makeinnocent\^^L% and whatever other special cases |
| 2393 |
\endlinechar`\^^M \catcode`\^^M=12 \ef@xfigure% |
| 2394 |
\fi% |
| 2395 |
}% |
| 2396 |
|
| 2397 |
\def\table{% |
| 2398 |
\ifappendix |
| 2399 |
\vspace*{\intextsep} |
| 2400 |
\def\fps@table{!hbt} |
| 2401 |
\@noendfloattab |
| 2402 |
\else |
| 2403 |
\efloat@condopen{ttt} |
| 2404 |
\efloat@iwrite{ttt}{\string\begin{table*}[hbt]}% |
| 2405 |
\ifnextchar[{\gobbleuntilnext[}{} |
| 2406 |
\@ifundefined{hrm}{}{% |
| 2407 |
\efloat@iwrite{ttt}{\string\sf}}% |
| 2408 |
\efloat@iwrite{ttt}{\string\ifnextchar[{\string\eatarg}{}} % bj |
| 2409 |
% \if@domarkers |
| 2410 |
% \addtocounter{posttbl}{1} % bj |
| 2411 |
% \tableplace % bj |
| 2412 |
% \fi |
| 2413 |
\def\@currenvir{efloat@float}% |
| 2414 |
\begingroup |
| 2415 |
\let\do\ef@makeinnocent \dospecials |
| 2416 |
\ef@makeinnocent\^^L% and whatever other special cases |
| 2417 |
\endlinechar`\^^M \catcode`\^^M=12 \ef@xtable% |
| 2418 |
\fi |
| 2419 |
}% |
| 2420 |
|
| 2421 |
% for rotated tables, per Ulrike Fischer: http://tex.stackexchange.com/a/79843 |
| 2422 |
\RequirePackage{etoolbox} |
| 2423 |
\AtEndPreamble{% |
| 2424 |
\@ifpackageloaded{rotating}{% |
| 2425 |
\DeclareDelayedFloatFlavor{sidewaystable}{table} |
| 2426 |
\DeclareDelayedFloatFlavor{sidewaysfigure}{figure} |
| 2427 |
}{}% |
| 2428 |
}% |
| 2429 |
|
| 2430 |
}{% |
| 2431 |
\RequirePackage{float} |
| 2432 |
\floatplacement{figure}{htb} |
| 2433 |
\def\figure{\@float{figure}} |
| 2434 |
\def\endfigure{\end@float} |
| 2435 |
|
| 2436 |
\floatplacement{table}{htb} |
| 2437 |
\def\table{\@float{table}} |
| 2438 |
\def\endtable{\end@float} |
| 2439 |
} |
| 2440 |
|
| 2441 |
%%%%%%%%%%%%%%\long\def\@@contentsline#1#2#3{ #2 } |
| 2442 |
%%%%%%%%%%%%%%\long\def\numberline#1#2{\noindent{\em\figurename\ #1.\/} #2\vspace{0.5\baselineskip}\par} |
| 2443 |
%%%%%%%%%%%%%%\long\def\@@caption{\refstepcounter\@captype \@dblarg{\@@@caption\@captype}} |
| 2444 |
%%%%%%%%%%%%%%\long\def\@@@caption#1[#2]#3{\addcontentsline{\csname |
| 2445 |
%%%%%%%%%%%%%% ext@#1\endcsname}{#1}{\protect\numberline{\csname |
| 2446 |
%%%%%%%%%%%%%% the#1\endcsname}{\ignorespaces #2}}} |
| 2447 |
%\def\listoffigures{\section*{\figurecaptionsname}\@starttoc{lof}}% changed from 'Figure Captions' |
| 2448 |
|
| 2449 |
%\long\def\figurecaptionsformat{ |
| 2450 |
% \let\contentsline=\@@contentsline |
| 2451 |
% \let\numberline=\@@numberline |
| 2452 |
% \def\baselinestretch{\@@spacing} |
| 2453 |
%} |
| 2454 |
|
| 2455 |
\def\processfigures{% |
| 2456 |
\expandafter\ifnum \csname @ef@fffopen\endcsname>0 |
| 2457 |
\immediate\closeout\efloat@postfff \ef@setct{fff}{0} |
| 2458 |
\clearpage |
| 2459 |
\if@figlist |
| 2460 |
\@ifundefined{@figure@written}{}{% |
| 2461 |
% \figurecaptionsformat |
| 2462 |
{\normalsize\@ifundefined{hrm}{}{\sf}% |
| 2463 |
% \let\BBAB\table@BBAB% -- thp 2005/07/23 |
| 2464 |
% \listoffigures% |
| 2465 |
% \let\BBAB\normal@BBAB% -- thp 2005/07/23 |
| 2466 |
} |
| 2467 |
% \clearpage |
| 2468 |
} |
| 2469 |
\fi |
| 2470 |
% \if@fighead |
| 2471 |
% \section*{\figuresection} |
| 2472 |
% \suppressfloats[t] |
| 2473 |
% \fi |
| 2474 |
\@ifundefined{fig@num}{% |
| 2475 |
% \markboth{}{} |
| 2476 |
\pagestyle{otherpage} |
| 2477 |
% \pagestyle{empty}% |
| 2478 |
}{% |
| 2479 |
\setcounter{page}{1} |
| 2480 |
% \markright{\rm\hfill \s@title, Figure} |
| 2481 |
\def\@oddhead{\rightmark} % changed by Michael Erickson |
| 2482 |
\markright{\hfill \s@title, \figurename\ \protect\thefigure} % to include appendix numbering |
| 2483 |
% remove rm - thp 020227 |
| 2484 |
} |
| 2485 |
% \let\caption=\@@caption |
| 2486 |
\def\baselinestretch{\@@spacing}\normalsize\@ifundefined{hrm}{}{\sf} |
| 2487 |
\processfigures@hook \@input{\jobname.fff} |
| 2488 |
\fi} |
| 2489 |
|
| 2490 |
\def\processtables{% |
| 2491 |
\expandafter\ifnum \csname @ef@tttopen\endcsname>0 |
| 2492 |
\immediate\closeout\efloat@postttt \ef@setct{ttt}{0} |
| 2493 |
\clearpage |
| 2494 |
\if@tabhead |
| 2495 |
\section*{\tablesection} |
| 2496 |
\suppressfloats[t] |
| 2497 |
\fi |
| 2498 |
\def\baselinestretch{\@@spacing} |
| 2499 |
\processtables@hook \@ifundefined{hrm}{}{\sf}% |
| 2500 |
\tiny\normalsize% |
| 2501 |
% We need to deal with citation alterations here because otherwise we either |
| 2502 |
% lose the definition through the .ttt diversion or we miss the table* |
| 2503 |
\let\BBAB\table@BBAB% -- thp 2005/07/23 |
| 2504 |
\@input{\jobname.ttt}% |
| 2505 |
\let\BBAB\normal@BBAB% -- thp 2005/07/23 |
| 2506 |
\fi} |
| 2507 |
|
| 2508 |
|
| 2509 |
|
| 2510 |
%========== Alterations to captions (BDB) =================== |
| 2511 |
|
| 2512 |
\captionsetup{justification=raggedright} |
| 2513 |
|
| 2514 |
|
| 2515 |
%========= Maketitle, margins, lengths, etc. ========== |
| 2516 |
|
| 2517 |
\def\maketitle{ |
| 2518 |
\@ifundefined{hrm}{}{\hrm} |
| 2519 |
\check@author |
| 2520 |
% \@ifundefined{s@title}{\ClassInfo{apa6}{Using title for short title} |
| 2521 |
% \def\s@title{\@title} |
| 2522 |
% \markright{\hfill\@title}}%\protect\thepage}} %% removed rm |
| 2523 |
% {\markright{\hfill\s@title}}%\protect\thepage}} %% thp 020227 |
| 2524 |
% \@ifundefined{r@headr}{\ClassInfo{apa6}{Using short title for running head} |
| 2525 |
% \def\r@headr{\protect\MakeUppercase{\s@title}}}{} |
| 2526 |
|
| 2527 |
|
| 2528 |
\begin{center} |
| 2529 |
\vspace*{0.5in} |
| 2530 |
% \makebox[\linewidth][l]{\rheadname\hspace{0.1in}\MakeUppercase{\r@headr}}\\ %thp090298 |
| 2531 |
|
| 2532 |
\vspace*{1in} |
| 2533 |
\@title% |
| 2534 |
\ifapamodeman{% |
| 2535 |
\@ifundefined{def@noextraspace}{% |
| 2536 |
\vspace{0.25in}\\ |
| 2537 |
}{} |
| 2538 |
}{% |
| 2539 |
\vspace{0.25in}\\ |
| 2540 |
} |
| 2541 |
|
| 2542 |
\@ifundefined{apaSix@maskauthoridentity}{% BDB |
| 2543 |
|
| 2544 |
\@ifundefined{@authorTwo}{ |
| 2545 |
\@author \\ |
| 2546 |
|
| 2547 |
\@affil \vspace{0.25in} \\ }{ |
| 2548 |
\@ifundefined{@authorThree}{ |
| 2549 |
\@authorOne \\ |
| 2550 |
|
| 2551 |
\@affilOne \vspace{0.2in} \\ |
| 2552 |
\@authorTwo \\ |
| 2553 |
|
| 2554 |
\@affilTwo \vspace{0.25in} \\ }{ |
| 2555 |
\@ifundefined{@authorFour}{ |
| 2556 |
\@authorOne \\ |
| 2557 |
|
| 2558 |
\@affilOne \vspace{0.2in} \\ |
| 2559 |
\@authorTwo \\ |
| 2560 |
|
| 2561 |
\@affilTwo \vspace{0.2in} \\ |
| 2562 |
\@authorThree \\ |
| 2563 |
|
| 2564 |
\@affilThree \vspace{0.25in} \\ }{ |
| 2565 |
\@ifundefined{@authorFive}{ %% 2006/01/05 added as contributed by Aaron Geller |
| 2566 |
\@authorOne \\ |
| 2567 |
|
| 2568 |
\@affilOne \vspace{0.2in} \\ |
| 2569 |
\@authorTwo \\ |
| 2570 |
|
| 2571 |
\@affilTwo \vspace{0.2in} \\ |
| 2572 |
\@authorThree \\ |
| 2573 |
|
| 2574 |
\@affilThree \vspace{0.2in} \\ |
| 2575 |
\@authorFour \\ |
| 2576 |
|
| 2577 |
\@affilFour \vspace{0.25in} \\ }{ %% 2006/01/05 beginning of Aaron Geller contribution |
| 2578 |
\@ifundefined{@authorSix}{ %% -- thp 2006/01/05 |
| 2579 |
\@authorOne \\ |
| 2580 |
|
| 2581 |
\@affilOne \vspace{0.2in} \\ |
| 2582 |
\@authorTwo \\ |
| 2583 |
|
| 2584 |
\@affilTwo \vspace{0.2in} \\ |
| 2585 |
\@authorThree \\ |
| 2586 |
|
| 2587 |
\@affilThree \vspace{0.2in} \\ |
| 2588 |
\@authorFour \\ |
| 2589 |
|
| 2590 |
\@affilFour \vspace{0.2in} \\ %% thp corrected distance to non-final value of 0.2in |
| 2591 |
\@authorFive \\ |
| 2592 |
|
| 2593 |
\@affilFive \vspace{0.25in} \\ }{%% 2006/01/05 end of Aaaron Geller contribution |
| 2594 |
%% --- thp 2006/01/05 beginning of six-author display |
| 2595 |
\@authorOne \\ |
| 2596 |
|
| 2597 |
\@affilOne \vspace{0.2in} \\ |
| 2598 |
\@authorTwo \\ |
| 2599 |
|
| 2600 |
\@affilTwo \vspace{0.2in} \\ |
| 2601 |
\@authorThree \\ |
| 2602 |
|
| 2603 |
\@affilThree \vspace{0.2in} \\ |
| 2604 |
\@authorFour \\ |
| 2605 |
|
| 2606 |
\@affilFour \vspace{0.2in} \\ |
| 2607 |
\@authorFive \\ |
| 2608 |
|
| 2609 |
\@affilFive \vspace{0.2in} \\ |
| 2610 |
\@authorSix \\ |
| 2611 |
|
| 2612 |
\@affilSix \vspace{0.25in} \\ }}}}} |
| 2613 |
%% --- thp 2006/01/05 end of six-author display |
| 2614 |
\@ifundefined{@note} |
| 2615 |
{\vspace*{\baselineskip} } |
| 2616 |
{\@note} |
| 2617 |
|
| 2618 |
}{% mask author identity -- show nothing in the author or author note space |
| 2619 |
} |
| 2620 |
|
| 2621 |
\end{center} |
| 2622 |
|
| 2623 |
\@ifundefined{apaSix@maskauthoridentity}{ |
| 2624 |
\@ifundefined{@acks} |
| 2625 |
{} |
| 2626 |
{% |
| 2627 |
\vfill% |
| 2628 |
\begin{center}% |
| 2629 |
\acksname% |
| 2630 |
\end{center}% |
| 2631 |
\protect\raggedright |
| 2632 |
\setlength{\parindent}{0.4in} |
| 2633 |
\indent\par\@acks% |
| 2634 |
} |
| 2635 |
}{% mask author identity -- show nothing in the author or author note space |
| 2636 |
} |
| 2637 |
|
| 2638 |
\newpage |
| 2639 |
%BDB\hyphenpenalty 10000 |
| 2640 |
\fussy |
| 2641 |
\@ifundefined{@abstract}{}{% |
| 2642 |
\section{\normalfont\normalsize\abstractname}% BDB |
| 2643 |
\noindent\@abstract\par% BDB |
| 2644 |
\@ifundefined{@keywords}{}{% |
| 2645 |
\setlength{\parindent}{0.4in}% BDB |
| 2646 |
\indent\textit{\keywordname:} \@keywords% |
| 2647 |
}% |
| 2648 |
\newpage |
| 2649 |
} |
| 2650 |
|
| 2651 |
\@ifundefined{def@donotrepeattitle}{ |
| 2652 |
\section{\protect\normalfont{\@title}} |
| 2653 |
}{}% |
| 2654 |
\raggedright% |
| 2655 |
\setlength{\parindent}{0.4in}% |
| 2656 |
% \indent% |
| 2657 |
} |
| 2658 |
|
| 2659 |
\thispagestyle{titlepage} |
| 2660 |
|
| 2661 |
%\ThreeLevelHeading |
| 2662 |
% \def\baselinestretch{\@@spacing} |
| 2663 |
|
| 2664 |
% footnote issues: separate multiple footnotes on the same page: |
| 2665 |
\setlength{\footnotesep}{16pt} |
| 2666 |
|
| 2667 |
% make footnotes ragged-right (credit to Mako Hill): |
| 2668 |
\renewcommand\@makefntext[1]{\raggedright\textsuperscript{\@thefnmark}~#1} |
| 2669 |
|
| 2670 |
%\setlength{\topmargin}{0in} |
| 2671 |
%\setlength{\oddsidemargin}{0.25in} |
| 2672 |
%\setlength{\evensidemargin}{0.25in} |
| 2673 |
%\setlength{\textwidth}{6in} |
| 2674 |
%\setlength{\textheight}{8.5in} |
| 2675 |
%\setcounter{secnumdepth}{0} |
| 2676 |
% |
| 2677 |
%\def\ps@myheadings{ |
| 2678 |
% \let\@mkboth\@gobbletwo |
| 2679 |
% \def\@oddhead{\hbox{}\rightmark\hfil\hspace{0.1in}\thepage} %% removed rm - thp 020227 |
| 2680 |
% \def\@oddfoot{} |
| 2681 |
% \def\@evenhead{} |
| 2682 |
% \def\@evenfoot{} |
| 2683 |
% \def\sectionmark##1{} |
| 2684 |
% \def\subsectionmark##1{}} |
| 2685 |
|
| 2686 |
%\pagestyle{myheadings} |
| 2687 |
%\raggedright |
| 2688 |
%BDB\hyphenpenalty 10000 |
| 2689 |
\newcommand{\footmark}[1]{${}^{\mbox{\normalsize #1}}$} |
| 2690 |
|
| 2691 |
%\long\def\@makecaption#1#2{% |
| 2692 |
% \let\BBAB\table@BBAB % thp 2005/07/23 |
| 2693 |
% \vskip10pt% |
| 2694 |
% \setbox\@tempboxa\hbox{\parbox{\columnwidth}{#1\cap@line{\cap@style #2}}}% |
| 2695 |
% \ifdim\wd\@tempboxa>\hsize\parbox{\columnwidth}{#1\cap@line{\cap@style #2}}\par% |
| 2696 |
% \else\hbox to\hsize{\box\@tempboxa\hfil}\par% |
| 2697 |
% \fi% |
| 2698 |
% \let\BBAB\normal@BBAB % thp 2005/07/23 |
| 2699 |
% \vskip\baselineskip} |
| 2700 |
% |
| 2701 |
%\long\def\@caption#1[#2]#3{\par\addcontentsline{\csname |
| 2702 |
% ext@#1\endcsname}{#1}{\protect\numberline{\csname |
| 2703 |
% the#1\endcsname}{\ignorespaces #2}}\begingroup |
| 2704 |
% \@parboxrestore |
| 2705 |
% \normalsize\@ifundefined{hrm}{}{\hrm} |
| 2706 |
% \@makecaption{\csname fnum@#1\endcsname}{\ignorespaces #3 } \par |
| 2707 |
% \endgroup} |
| 2708 |
% |
| 2709 |
%\def\caption{\refstepcounter\@captype \@dblarg{\@caption\@captype}} |
| 2710 |
% |
| 2711 |
%\def\centeredcaption#1{\caption} |
| 2712 |
% |
| 2713 |
%\def\fnum@figure{\def\cap@style{}\def\cap@line{}{\em\figurename\ {\thefigure}}. } |
| 2714 |
%% added second set of braces around \em to get citations in man mode -- tp 17/7/2000 |
| 2715 |
%% then removed them again because they were cancelling application of em to the caption |
| 2716 |
%\long\def\fnum@table{\def\cap@style{\em}\def\cap@line{\\ }\tablename\ \thetable } |
| 2717 |
|
| 2718 |
\setcounter{topnumber}{1} |
| 2719 |
\def\topfraction{.7} |
| 2720 |
\setcounter{bottomnumber}{1} |
| 2721 |
\def\bottomfraction{.6} |
| 2722 |
\setcounter{totalnumber}{1} |
| 2723 |
\def\textfraction{0} |
| 2724 |
\def\floatpagefraction{.7} |
| 2725 |
\setcounter{dbltopnumber}{1} |
| 2726 |
\def\dbltopfraction{.7} |
| 2727 |
\def\dblfloatpagefraction{.7} |
| 2728 |
\def\dbltextfloatsep{\textfloatsep} |
| 2729 |
|
| 2730 |
\fussy |
| 2731 |
%\setlength{\parindent}{0.4in} |
| 2732 |
%\let\oldfootnote=\footnote % 3/10/00 |
| 2733 |
%\let\footnote=\endnote |
| 2734 |
%\def\footnotesize{\normalsize\rm} |
| 2735 |
|
| 2736 |
\@ifundefined{def@nosf}{% |
| 2737 |
\def\helvetica{% |
| 2738 |
\ClassWarning{apa6}{ignored \string\helvetica\space (use helv option)} |
| 2739 |
}}{\def\helvetica{\relax}} |
| 2740 |
|
| 2741 |
%==== Appendix definitions added by Michael Erickson 2000/07/11 |
| 2742 |
|
| 2743 |
%\efloat@condopen{fff} |
| 2744 |
%\efloat@iwrite{fff}{\string\apaSixappfig} |
| 2745 |
%\efloat@iwrite{fff}{\string\setcounter{appendix}{0}} |
| 2746 |
%\efloat@condopen{ttt} |
| 2747 |
%\efloat@iwrite{ttt}{\string\apaSixapptab} |
| 2748 |
%\efloat@iwrite{ttt}{\string\setcounter{appendix}{0}} |
| 2749 |
|
| 2750 |
}% end of man mode (manuscript format) |
| 2751 |
|
| 2752 |
|
| 2753 |
%%%%%%%%%%%%%%%%%%%% |
| 2754 |
%% %% |
| 2755 |
%% JOURNAL FORMAT %% |
| 2756 |
%% %% |
| 2757 |
%%%%%%%%%%%%%%%%%%%% |
| 2758 |
|
| 2759 |
\@ifundefined{def@jou}{}{% |
| 2760 |
|
| 2761 |
|
| 2762 |
%========== balance last-page columns ================= |
| 2763 |
|
| 2764 |
% need the `keeplastbox' option to allow final reference to be |
| 2765 |
% properly indented on the final line |
| 2766 |
% https://tex.stackexchange.com/questions/198287/reference-and-biography-indentation-issue |
| 2767 |
% \IfFileExists{flushend.sty}{\RequirePackage[keeplastbox]{flushend}}{} % old package version |
| 2768 |
\IfFileExists{flushend.sty}{\RequirePackage{flushend}}{} |
| 2769 |
|
| 2770 |
%========== ftnright and alterations ================== |
| 2771 |
|
| 2772 |
\IfFileExists{ftnright.sty}{ |
| 2773 |
\let\savefootnoterule\footnoterule |
| 2774 |
\let\save@makefntext\@makefntext |
| 2775 |
\RequirePackage{ftnright} |
| 2776 |
\let\footnoterule\savefootnoterule |
| 2777 |
\let\@makefntext\save@makefntext |
| 2778 |
}{} |
| 2779 |
|
| 2780 |
%====================================================== |
| 2781 |
|
| 2782 |
\def\rightheader#1{\def\r@headr{\protect\MakeUppercase{\protect\scriptsize #1}}} |
| 2783 |
\def\leftheader#1{\def\r@headl{\protect\MakeUppercase{\protect\scriptsize #1}}} |
| 2784 |
\def\r@headr{\protect\MakeUppercase{\protect\scriptsize\@shorttitle}}% BDB |
| 2785 |
%%%%%%%%%%%%%%%%%%%%%%%\def\shorttitle#1{\def\r@headr{\protect\MakeUppercase{\protect\scriptsize #1}}}% BDB |
| 2786 |
|
| 2787 |
\def\put@one@authaffil#1#2{% |
| 2788 |
\parbox[t]{\textwidth}{\begin{center}{\large #1\vspace{0in}}% |
| 2789 |
{\\ #2\vspace{0.05in}\\}\end{center}}} |
| 2790 |
|
| 2791 |
\newsavebox\auone@box |
| 2792 |
\newsavebox\autwo@box |
| 2793 |
\newsavebox\autot@box |
| 2794 |
\newlength\auone@boxwidth |
| 2795 |
\newlength\autwo@boxwidth |
| 2796 |
\newlength\autot@boxwidth |
| 2797 |
|
| 2798 |
\def\default@d@authaffil#1#2#3#4{% |
| 2799 |
\parbox[t]{\columnwidth}{\begin{center}{\large #1\vspace{0in}}% |
| 2800 |
{\\ #2\vspace{0.05in}\\}\end{center}}% |
| 2801 |
\parbox[t]{\columnwidth}{\begin{center}{\large #3\vspace{0in}}% |
| 2802 |
{\\ #4\vspace{0.05in}\\}\end{center}}} |
| 2803 |
|
| 2804 |
\def\uneven@d@authaffil#1#2#3#4{% |
| 2805 |
\hfill\parbox[t]{\auone@boxwidth}{\begin{center}{\large #1\vspace{0in}}% |
| 2806 |
{\\ #2\vspace{0.05in}\\}\end{center}}\hfill\hfill% |
| 2807 |
\parbox[t]{\autwo@boxwidth}{\begin{center}{\large #3\vspace{0in}}% |
| 2808 |
{\\ #4\vspace{0.05in}\\}\end{center}}\hfill} |
| 2809 |
|
| 2810 |
\def\put@two@authaffil#1#2#3#4{% |
| 2811 |
\let\disp@authaffil\default@d@authaffil |
| 2812 |
\sbox\auone@box{\begin{tabular}{c}\large #1\\ #2\end{tabular}} |
| 2813 |
\settowidth{\auone@boxwidth}{\usebox\auone@box} |
| 2814 |
\sbox\autwo@box{\begin{tabular}{c}\large #3\\ #4\end{tabular}} |
| 2815 |
\settowidth{\autwo@boxwidth}{\usebox\autwo@box} |
| 2816 |
\ifdim\auone@boxwidth<1.25\columnwidth |
| 2817 |
\ifdim\autwo@boxwidth<1.25\columnwidth |
| 2818 |
\sbox\autot@box{\usebox\auone@box\hspace{0.4in}\usebox\autwo@box} |
| 2819 |
\settowidth{\autot@boxwidth}{\usebox\autot@box} |
| 2820 |
\ifdim\autot@boxwidth<\textwidth |
| 2821 |
\let\disp@authaffil\uneven@d@authaffil |
| 2822 |
\fi |
| 2823 |
\fi |
| 2824 |
\fi |
| 2825 |
\ifdim\auone@boxwidth<\columnwidth |
| 2826 |
\ifdim\autwo@boxwidth<\columnwidth |
| 2827 |
\let\disp@authaffil\default@d@authaffil |
| 2828 |
\fi |
| 2829 |
\fi |
| 2830 |
\disp@authaffil{#1}{#2}{#3}{#4} |
| 2831 |
} |
| 2832 |
|
| 2833 |
\def\maketitle{ |
| 2834 |
\check@author |
| 2835 |
\@ifundefined{r@headr}{\def\r@headr{\protect\MakeUppercase{\protect\scriptsize\@title}}}{} |
| 2836 |
\@ifundefined{r@headl}{\def\r@headl{\protect\MakeUppercase{\protect\scriptsize\@author}}}{} |
| 2837 |
|
| 2838 |
\twocolumn[ % anything appearing within the brackets is set in one-column mode |
| 2839 |
\vspace{0.03in} |
| 2840 |
\begin{center} |
| 2841 |
% title |
| 2842 |
{\LARGE \@title}\\ |
| 2843 |
\vspace{-0.05in} |
| 2844 |
|
| 2845 |
\@ifundefined{apaSix@maskauthoridentity}{% BDB |
| 2846 |
|
| 2847 |
\@ifundefined{@authorTwo}{ |
| 2848 |
% one author-affiliation |
| 2849 |
\put@one@authaffil{\@author}{\@affil}}{ |
| 2850 |
\@ifundefined{@authorThree}{ |
| 2851 |
% two authors-affiliations |
| 2852 |
\put@two@authaffil{\@authorOne}{\@affilOne}{\@authorTwo}{\@affilTwo}}{ |
| 2853 |
\@ifundefined{@authorFour}{ |
| 2854 |
% three authors-affiliations |
| 2855 |
\@ifundefined{@twofirst}{ |
| 2856 |
% first one, then two |
| 2857 |
\put@one@authaffil{\@authorOne}{\@affilOne}\vspace{-0.15in}\\ |
| 2858 |
\put@two@authaffil{\@authorTwo}{\@affilTwo}{\@authorThree}{\@affilThree} |
| 2859 |
}{ |
| 2860 |
% first two, then one |
| 2861 |
\put@two@authaffil{\@authorOne}{\@affilOne}{\@authorTwo}{\@affilTwo}\vspace{-0.15in}\\ |
| 2862 |
\put@one@authaffil{\@authorThree}{\@affilThree} |
| 2863 |
}}{ |
| 2864 |
\@ifundefined{@authorFive}{ % 2006/01/05 as contributed by Aaron Geller |
| 2865 |
% four authors-affiliations |
| 2866 |
\put@two@authaffil{\@authorOne}{\@affilOne}{\@authorTwo}{\@affilTwo}\vspace{-0.15in}\\ |
| 2867 |
\put@two@authaffil{\@authorThree}{\@affilThree}{\@authorFour}{\@affilFour} |
| 2868 |
}{ % 2006/01/05 beginning of Aaron Geller contribution |
| 2869 |
\@ifundefined{@authorSix}{ % -- thp 2006/01/05 |
| 2870 |
% five authors-affiliations |
| 2871 |
\put@two@authaffil{\@authorOne}{\@affilOne}{\@authorTwo}{\@affilTwo}\vspace{-0.15in}\\ |
| 2872 |
\put@two@authaffil{\@authorThree}{\@affilThree}{\@authorFour}{\@affilFour}% |
| 2873 |
\vspace{-0.15in}\\ % thp added negative vertical space |
| 2874 |
\put@one@authaffil{\@authorFive}{\@affilFive} |
| 2875 |
}{ % 2006/01/05 end of Aaron Geller contribution |
| 2876 |
% six authors-affiliations |
| 2877 |
%% --- thp 2006/01/05 beginning of six-author display |
| 2878 |
\put@two@authaffil{\@authorOne}{\@affilOne}{\@authorTwo}{\@affilTwo}\vspace{-0.15in}\\ |
| 2879 |
\put@two@authaffil{\@authorThree}{\@affilThree}{\@authorFour}{\@affilFour}\vspace{-0.15in}\\ |
| 2880 |
\put@two@authaffil{\@authorFive}{\@affilFive}{\@authorSix}{\@affilSix} |
| 2881 |
%% --- thp 2006/01/05 end of six-author display |
| 2882 |
}}}}} |
| 2883 |
\@ifundefined{@note} |
| 2884 |
{\vspace{0.07in}} |
| 2885 |
{\vspace{0.07in}\\ {\large\@note\vspace{0.07in}}} |
| 2886 |
|
| 2887 |
}{% mask author identity -- show nothing in the author or author space |
| 2888 |
\vspace{0.32in} |
| 2889 |
} |
| 2890 |
|
| 2891 |
|
| 2892 |
\@ifundefined{@abstract} |
| 2893 |
{\par } |
| 2894 |
{\par \parbox{4.6875in} |
| 2895 |
{\small \noindent \@abstract |
| 2896 |
\@ifundefined{@keywords}{}{% |
| 2897 |
\par\vspace{0.12in}\raggedright\textit{\keywordname:} \@keywords% |
| 2898 |
}% |
| 2899 |
} |
| 2900 |
\vspace{0.24in}% |
| 2901 |
} |
| 2902 |
\end{center} |
| 2903 |
] % end of \twocolumn[] |
| 2904 |
|
| 2905 |
\pagenumbering{arabic} |
| 2906 |
\@ifundefined{@journal}{\thispagestyle{empty}}{% |
| 2907 |
\@ifundefined{@vvolume}{\def\@vvolume{\strut}}{}% |
| 2908 |
\@ifundefined{@copnum}{\def\@copnum{\strut}}{}% |
| 2909 |
\@ifundefined{@ccoppy}{\def\@ccoppy{\strut}}{}% |
| 2910 |
\fancyhead{} |
| 2911 |
\fancyhead[LO]{\stiny{\@journal}\vspace{-0.15\baselineskip}\\ |
| 2912 |
\stiny{\@vvolume}} |
| 2913 |
\fancyhead[RO]{\stiny{\@ccoppy}\vspace{-0.15\baselineskip}\\ |
| 2914 |
\stiny{\@copnum}} |
| 2915 |
\fancyfoot[CO]{\small\rm\thepage} |
| 2916 |
% the following are needed if the starting page number is changed to |
| 2917 |
% an even number: |
| 2918 |
\fancyhead[LE]{\stiny{\@journal}\vspace{-0.15\baselineskip}\\ |
| 2919 |
\stiny{\@vvolume}} |
| 2920 |
\fancyhead[RE]{\stiny{\@ccoppy}\vspace{-0.15\baselineskip}\\ |
| 2921 |
\stiny{\@copnum}} |
| 2922 |
\fancyfoot[CE]{\small\rm\thepage} |
| 2923 |
\renewcommand{\headrulewidth}{0pt} |
| 2924 |
\renewcommand{\footrulewidth}{0pt} |
| 2925 |
\thispagestyle{fancy} |
| 2926 |
} |
| 2927 |
|
| 2928 |
\@ifundefined{apaSix@maskauthoridentity}{% BDB |
| 2929 |
\@ifundefined{@acks} |
| 2930 |
{} |
| 2931 |
{\begin{figure}[b] |
| 2932 |
\parbox{\columnwidth}{\setlength{\parindent}{0.18in} |
| 2933 |
\noindent\makebox[\columnwidth]{\vrule height0.125pt width\columnwidth}\vspace*{0.05in}\par |
| 2934 |
{\footnotesize\hspace{-0.04in}\@acks\par}} |
| 2935 |
\end{figure}} |
| 2936 |
}{% mask author identity -- show nothing in the author note space |
| 2937 |
} |
| 2938 |
|
| 2939 |
\@ifundefined{apaSix@maskauthoridentity}{% BDB |
| 2940 |
\markboth{\hfill\r@headl\hfill}{\hfill\r@headr\hfill} |
| 2941 |
}{% mask author identity -- show the short title for both the left and right headers |
| 2942 |
\markboth{\hfill\r@headr\hfill}{\hfill\r@headr\hfill} |
| 2943 |
} |
| 2944 |
\@ifundefined{no@tab}{\let\tabular\apaSixtabular}{} |
| 2945 |
%\noindent |
| 2946 |
} |
| 2947 |
|
| 2948 |
\newcommand\stiny{\@setfontsize\stiny\@vipt\@viipt} |
| 2949 |
|
| 2950 |
%\ThreeLevelHeading |
| 2951 |
%\def\baselinestretch{0.923} |
| 2952 |
%\def\refname{References} |
| 2953 |
\setlength{\footnotesep}{0.2813in} |
| 2954 |
\setlength{\topmargin}{-0.275in} |
| 2955 |
\addtolength{\headheight}{0.02in} |
| 2956 |
\addtolength{\headsep}{-0.156in} |
| 2957 |
\setlength{\oddsidemargin}{-0.25in} |
| 2958 |
\setlength{\evensidemargin}{-0.25in} |
| 2959 |
\setlength{\textwidth}{6.94in} |
| 2960 |
\setlength{\textheight}{8.9in} |
| 2961 |
\setlength{\columnwidth}{8.5cm} |
| 2962 |
\setlength{\columnsep}{0.25in} |
| 2963 |
\setlength{\parindent}{0.15625in} |
| 2964 |
%%\setlength{\parskip}{0in} |
| 2965 |
\setlength{\textfloatsep}{0.35in} |
| 2966 |
%\flushbottom |
| 2967 |
|
| 2968 |
\setcounter{secnumdepth}{0} |
| 2969 |
|
| 2970 |
\def\ps@myheadings{% |
| 2971 |
\let\@mkboth\@gobbletwo |
| 2972 |
\def\@oddhead{\hbox{}\rightmark \hfil\rm\thepage} |
| 2973 |
\def\@oddfoot{} |
| 2974 |
\def\@evenhead{\rm\thepage\hfil\leftmark\hbox{}} |
| 2975 |
\def\@evenfoot{} |
| 2976 |
\def\sectionmark##1{} |
| 2977 |
\def\subsectionmark##1{} |
| 2978 |
} |
| 2979 |
\pagestyle{myheadings} |
| 2980 |
|
| 2981 |
%\long\def\@makecaption#1#2{% |
| 2982 |
% \let\BBAB\table@BBAB % thp 2005/07/23 |
| 2983 |
% \vskip\abovecaptionskip |
| 2984 |
% \sbox\@tempboxa{#1 #2}% |
| 2985 |
% \ifdim \wd\@tempboxa >\hsize |
| 2986 |
% #1 #2\par |
| 2987 |
% \else |
| 2988 |
% \global \@minipagefalse |
| 2989 |
% \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}% |
| 2990 |
% \fi |
| 2991 |
% \let\BBAB\normal@BBAB % thp 2005/07/23 |
| 2992 |
% \vskip\belowcaptionskip} |
| 2993 |
% |
| 2994 |
%\long\def\@makeccaption#1#2#3{ |
| 2995 |
% \let\BBAB\table@BBAB % thp 2005/07/23 |
| 2996 |
% \vskip\abovecaptionskip |
| 2997 |
% \setbox\@tempboxa\hbox{#1 #2} |
| 2998 |
% \ifdim \wd\@tempboxa > \hsize |
| 2999 |
% \hbox to\hsize{\hfil\parbox[t]{#3}{#1 #2}\hfil} |
| 3000 |
% \else |
| 3001 |
% \ifdim \wd\@tempboxa > #3 |
| 3002 |
% \hbox to\hsize{\hfil\parbox[t]{#3}{#1 #2}\hfil} |
| 3003 |
% \else |
| 3004 |
% \hbox to\hsize{\hfil\mbox{#1 #2}\hfil} |
| 3005 |
% \fi |
| 3006 |
% \fi |
| 3007 |
% \let\BBAB\normal@BBAB % thp 2005/07/23 |
| 3008 |
% \vskip\belowcaptionskip} |
| 3009 |
% |
| 3010 |
%\long\def\@caption#1[#2]#3{\par\addcontentsline{\csname |
| 3011 |
% ext@#1\endcsname}{#1}{\protect\numberline{\csname |
| 3012 |
% the#1\endcsname}{\ignorespaces #2}}\begingroup |
| 3013 |
% \@parboxrestore |
| 3014 |
% \normalsize |
| 3015 |
% \csname setcskip@#1\endcsname |
| 3016 |
% \@makecaption{\csname fnum@#1\endcsname}{\ignorespaces #3}\par |
| 3017 |
% \endgroup} |
| 3018 |
% |
| 3019 |
%\long\def\@ccaption#1[#2]#3#4{\def\@ccwidth{#3} \par\addcontentsline{\csname |
| 3020 |
% ext@#1\endcsname}{#1}{\protect\numberline{\csname |
| 3021 |
% the#1\endcsname}{\ignorespaces #2}}\begingroup |
| 3022 |
% \@parboxrestore |
| 3023 |
% \normalsize |
| 3024 |
% \@makeccaption{\csname fnum@#1\endcsname}{\ignorespaces #4}{\@ccwidth}\par |
| 3025 |
% \endgroup} |
| 3026 |
% |
| 3027 |
%\def\caption{\refstepcounter\@captype \@dblarg{\@caption\@captype}} |
| 3028 |
% |
| 3029 |
%\long\def\centeredcaption{\refstepcounter\@captype \@dblarg{\@ccaption\@captype}} |
| 3030 |
% |
| 3031 |
%\def\setcskip@table{\setlength{\abovecaptionskip}{3.2pt}\setlength{\belowcaptionskip}{2pt}} |
| 3032 |
%\def\setcskip@figure{\setlength{\abovecaptionskip}{-0.04in}\setlength{\belowcaptionskip}{-1.9pt}} |
| 3033 |
% |
| 3034 |
%\def\fnum@figure{\small{\em\figurename\ {\thefigure}}.\hspace{0.07in}} |
| 3035 |
%\long\def\fnum@table{\makebox[\linewidth][l]{\tablename\ \thetable} \\ \em } |
| 3036 |
% |
| 3037 |
%\def\@makefnmark{\hbox{\@textsuperscript{\normalfont{\scriptsize\@thefnmark}}}}% |
| 3038 |
%\long\def\@makefntext#1{\parindent 1em\noindent |
| 3039 |
% \hb@[email protected]{% |
| 3040 |
% \hss\@textsuperscript{\normalfont{\tiny\@thefnmark}\hspace{1.5pt}}}#1}% |
| 3041 |
|
| 3042 |
|
| 3043 |
\setcounter{topnumber}{2} |
| 3044 |
\def\topfraction{.85} |
| 3045 |
\setcounter{bottomnumber}{2} |
| 3046 |
\def\bottomfraction{.75} |
| 3047 |
\setcounter{totalnumber}{3} |
| 3048 |
\def\textfraction{.10} |
| 3049 |
\def\floatpagefraction{.85} |
| 3050 |
\setcounter{dbltopnumber}{2} |
| 3051 |
\def\dbltopfraction{.85} |
| 3052 |
\def\dblfloatpagefraction{.85} |
| 3053 |
\def\dbltextfloatsep{0.8\textfloatsep} |
| 3054 |
\let\footnotesize=\small |
| 3055 |
|
| 3056 |
\def\helvetica{\relax} |
| 3057 |
|
| 3058 |
\doublehyphendemerits5000 |
| 3059 |
\hfuzz0pt |
| 3060 |
\tolerance=9999 |
| 3061 |
\pretolerance=-1 |
| 3062 |
\emergencystretch=25pt |
| 3063 |
\hbadness=30000 |
| 3064 |
\hyphenpenalty=100 |
| 3065 |
|
| 3066 |
|
| 3067 |
\@ifundefined{def@apacite}{}{% -- Philip Kime 2008/12/03 |
| 3068 |
% Removed some bibliography redefinitions as per the instructions of Erik Meijer |
| 3069 |
\bibleftmargin=1.2em % left these in because the default is too big |
| 3070 |
\bibindent=-\bibleftmargin % and this is apparently not refefined each time |
| 3071 |
\renewcommand{\bibliographytypesize}{\footnotesize}} |
| 3072 |
\@ifundefined{def@natbib}{}{% -- Philip Kime 2008/12/03 |
| 3073 |
% Removed some bibliography redefinitions as per the instructions of Erik Meijer |
| 3074 |
\bibleftmargin=1.2em % left these in because the default is too big |
| 3075 |
\bibindent=-\bibleftmargin % and this is apparently not refefined each time |
| 3076 |
\renewcommand{\bibliographytypesize}{\footnotesize}} |
| 3077 |
|
| 3078 |
|
| 3079 |
|
| 3080 |
%\@ifundefined{def@noapacite}{% -- Philip Kime 2008/12/03 |
| 3081 |
% % Removed some bibliography redefinitions as per the instructions of Erik Meijer |
| 3082 |
% \bibleftmargin=1.2em % left these in because the default is too big |
| 3083 |
% \bibindent=-\bibleftmargin % and this is apparently not refefined each time |
| 3084 |
% \renewcommand{\bibliographytypesize}{\footnotesize}}{} |
| 3085 |
|
| 3086 |
}% end of jou mode (journal format) |
| 3087 |
|
| 3088 |
%%%%%%%%%%%%%%%%%%%% |
| 3089 |
%% %% |
| 3090 |
%% REGULAR FORMAT %% |
| 3091 |
%% %% |
| 3092 |
%%%%%%%%%%%%%%%%%%%% |
| 3093 |
|
| 3094 |
\@ifundefined{def@doc}{}{% |
| 3095 |
|
| 3096 |
%\pagestyle{myheadings} |
| 3097 |
|
| 3098 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\renewcommand{\shorttitle}[1]{\def\@shorttitle{#1}} |
| 3099 |
|
| 3100 |
\def\leftheader#1{\def\r@headl{#1}} |
| 3101 |
|
| 3102 |
\RequirePackage{fancyhdr} |
| 3103 |
\setlength{\headheight}{15.2pt} |
| 3104 |
\fancyhf{} |
| 3105 |
\renewcommand{\headrulewidth}{0pt} |
| 3106 |
|
| 3107 |
\fancypagestyle{otherpage}{% |
| 3108 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 3109 |
\lhead{\MakeUppercase{\@shorttitle}}% |
| 3110 |
\rhead{\thepage}% |
| 3111 |
} |
| 3112 |
\pagestyle{otherpage} |
| 3113 |
|
| 3114 |
\def\maketitle{ |
| 3115 |
\global\@topnum\z@ % to prevent tables before the title %% Erik Meijer, 2006/01/03 |
| 3116 |
\@ifundefined{@acks}{% if there acknowledgements they make up a "float" on the 1st page |
| 3117 |
\global\@botnum\z@}{% to prevent tables on the first page %% Erik Meijer, 2006/01/03 |
| 3118 |
\global\@botnum\@ne}% to prevent tables below the footnote -- thp 2006/01/10 |
| 3119 |
\check@author |
| 3120 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 3121 |
\@ifundefined{r@headr}{\typeout{Using title for running head} |
| 3122 |
\def\r@headr{\protect\MakeUppercase{\@title}} |
| 3123 |
\markright{\rm \@title \protect\\ \thepage}}{} |
| 3124 |
\@ifundefined{r@headl}{\let\r@headl\r@headr}{} |
| 3125 |
\@ifundefined{s@title}{\let\s@title\r@headr}{} |
| 3126 |
\sloppy |
| 3127 |
\setlength{\parindent}{0.4in} |
| 3128 |
\begin{center} |
| 3129 |
\@ifundefined{@journal}{}{% |
| 3130 |
\@ifundefined{@vvolume}{\def\@vvolume{}}{}% |
| 3131 |
\@ifundefined{@copnum}{\def\@copnum{}}{}% |
| 3132 |
\@ifundefined{@ccoppy}{\def\@ccoppy{}}{}% |
| 3133 |
{\scriptsize{\@journal}}\hspace{\fill}{\scriptsize{\@ccoppy}}\vspace{-0.3\baselineskip}\\ |
| 3134 |
{\scriptsize{\@vvolume}}\hspace{\fill}{\scriptsize{\@copnum}}\vspace{0.1in}\\ |
| 3135 |
} |
| 3136 |
\vspace*{0.3in} |
| 3137 |
|
| 3138 |
{\LARGE \@title}\\ |
| 3139 |
|
| 3140 |
\vspace{0.3in} |
| 3141 |
\@ifundefined{apaSix@maskauthoridentity}{% BDB |
| 3142 |
|
| 3143 |
\@ifundefined{@authorTwo}{ |
| 3144 |
% one author-affiliation |
| 3145 |
{\Large \@author} \\ |
| 3146 |
|
| 3147 |
\@affil \vspace{0.1in} \\ }{ |
| 3148 |
\@ifundefined{@authorThree}{ |
| 3149 |
% two authors-affiliations |
| 3150 |
{\Large \@authorOne} \\ |
| 3151 |
|
| 3152 |
\@affilOne \vspace{0.1in} \\ |
| 3153 |
{\Large \@authorTwo}\\ |
| 3154 |
|
| 3155 |
\@affilTwo \vspace{0.1in} \\ }{ |
| 3156 |
\@ifundefined{@authorFour}{ |
| 3157 |
% three authors-affiliations |
| 3158 |
{\Large \@authorOne} \\ |
| 3159 |
|
| 3160 |
\@affilOne \vspace{0.1in} \\ |
| 3161 |
{\Large \@authorTwo}\\ |
| 3162 |
|
| 3163 |
\@affilTwo \vspace{0.1in} \\ |
| 3164 |
{\Large \@authorThree}\\ |
| 3165 |
|
| 3166 |
\@affilThree \vspace{0.1in} \\ }{ |
| 3167 |
\@ifundefined{@authorFive}{ %% 2006/01/05 added as contributed by Aaron Geller |
| 3168 |
% four authors-affiliations |
| 3169 |
{\Large \@authorOne} \\ |
| 3170 |
|
| 3171 |
\@affilOne \vspace{0.1in} \\ |
| 3172 |
{\Large \@authorTwo}\\ |
| 3173 |
|
| 3174 |
\@affilTwo \vspace{0.1in} \\ |
| 3175 |
{\Large \@authorThree}\\ |
| 3176 |
|
| 3177 |
\@affilThree \vspace{0.1in} \\ |
| 3178 |
{\Large \@authorFour}\\ |
| 3179 |
|
| 3180 |
\@affilFour \vspace{0.1in} \\ }{ %%% 2006/01/05 beginning of Aaron Geller contribution |
| 3181 |
\@ifundefined{@authorSix}{ %% -- thp 2006/01/05 |
| 3182 |
% five authors-affiliations |
| 3183 |
{\Large \@authorOne} \\ |
| 3184 |
|
| 3185 |
\@affilOne \vspace{0.1in} \\ |
| 3186 |
{\Large \@authorTwo}\\ |
| 3187 |
|
| 3188 |
\@affilTwo \vspace{0.1in} \\ |
| 3189 |
{\Large \@authorThree}\\ |
| 3190 |
|
| 3191 |
\@affilThree \vspace{0.1in} \\ |
| 3192 |
{\Large \@authorFour}\\ |
| 3193 |
|
| 3194 |
\@affilFour \vspace{0.1in} \\ |
| 3195 |
{\Large \@authorFive}\\ |
| 3196 |
|
| 3197 |
\@affilFive \vspace{0.1in} \\ }{ %%% 2006/01/05 end of Aaron Geller contribution |
| 3198 |
% six authors-affiliations |
| 3199 |
%% --- thp 2006/01/05 beginning of six-author display |
| 3200 |
{\Large \@authorOne} \\ |
| 3201 |
|
| 3202 |
\@affilOne \vspace{0.1in} \\ |
| 3203 |
{\Large \@authorTwo}\\ |
| 3204 |
|
| 3205 |
\@affilTwo \vspace{0.1in} \\ |
| 3206 |
{\Large \@authorThree}\\ |
| 3207 |
|
| 3208 |
\@affilThree \vspace{0.1in} \\ |
| 3209 |
{\Large \@authorFour}\\ |
| 3210 |
|
| 3211 |
\@affilFour \vspace{0.1in} \\ |
| 3212 |
{\Large \@authorFive}\\ |
| 3213 |
|
| 3214 |
\@affilFive \vspace{0.1in} \\ |
| 3215 |
{\Large \@authorSix}\\ |
| 3216 |
|
| 3217 |
\@affilSix \vspace{0.1in} \\ } |
| 3218 |
%% --- thp 2006/01/05 end of six-author display |
| 3219 |
}}}} |
| 3220 |
% |
| 3221 |
\@ifundefined{@note} |
| 3222 |
{\vspace*{\baselineskip} } |
| 3223 |
{\@note\vspace{0.2in}} |
| 3224 |
|
| 3225 |
}{% mask author identity -- show nothing in the author note space |
| 3226 |
} |
| 3227 |
|
| 3228 |
\@ifundefined{@abstract}{}{% |
| 3229 |
{\abstractname}\vspace{0.1in}% BDB |
| 3230 |
|
| 3231 |
\parbox{5in}{\@abstract% |
| 3232 |
\@ifundefined{@keywords}{}{% |
| 3233 |
\par\vspace{0.12in}\textit{\keywordname:} \@keywords% |
| 3234 |
}% |
| 3235 |
}\vspace{0.25in}% |
| 3236 |
} |
| 3237 |
\end{center} |
| 3238 |
\pagenumbering{arabic} |
| 3239 |
\thispagestyle{empty} |
| 3240 |
|
| 3241 |
\@ifundefined{apaSix@maskauthoridentity}{% BDB |
| 3242 |
|
| 3243 |
\@ifundefined{@acks} |
| 3244 |
{} |
| 3245 |
{\begin{figure}[b] |
| 3246 |
\parbox{\textwidth}{ \setlength{\parindent}{0.2in} |
| 3247 |
\noindent \makebox[\linewidth]{\vrule height0.125pt width\linewidth} |
| 3248 |
|
| 3249 |
\vspace*{0.05in} |
| 3250 |
{\footnotesize |
| 3251 |
\indent \@acks |
| 3252 |
|
| 3253 |
}} |
| 3254 |
\end{figure}} |
| 3255 |
|
| 3256 |
}{% mask author identity -- show nothing in the author note space |
| 3257 |
} |
| 3258 |
|
| 3259 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 3260 |
\markboth{\hfill \r@headl \hfill}{\hfill \r@headr \hfill} |
| 3261 |
\let\tabular\apaSix@doc@tabular% -- thp 2006/01/02 |
| 3262 |
\let\endtabular\apaSix@doc@endtabular% -- thp 2006/01/03 |
| 3263 |
% \noindent |
| 3264 |
} |
| 3265 |
|
| 3266 |
%\ThreeLevelHeading |
| 3267 |
%\def\refname{References} |
| 3268 |
\setlength{\topmargin}{-0.25in} |
| 3269 |
\setlength{\oddsidemargin}{0.25in} |
| 3270 |
\setlength{\evensidemargin}{0.25in} |
| 3271 |
\setlength{\textwidth}{6in} |
| 3272 |
\setlength{\textheight}{8.5in} |
| 3273 |
\setcounter{secnumdepth}{0} |
| 3274 |
\flushbottom |
| 3275 |
|
| 3276 |
% fix headwidth for even-numbered pages |
| 3277 |
% suggestion from http://tex.stackexchange.com/questions/42798/apa6-package-heading-line-exceeds-textwidth |
| 3278 |
\setlength{\headwidth}{\textwidth} |
| 3279 |
|
| 3280 |
\setcounter{topnumber}{2} |
| 3281 |
\def\topfraction{.7} |
| 3282 |
\setcounter{bottomnumber}{2} |
| 3283 |
\def\bottomfraction{.6} |
| 3284 |
\setcounter{totalnumber}{3} |
| 3285 |
\def\textfraction{.2} |
| 3286 |
\def\floatpagefraction{.7} |
| 3287 |
\setcounter{dbltopnumber}{2} |
| 3288 |
\def\dbltopfraction{.8} |
| 3289 |
\def\dblfloatpagefraction{.8} |
| 3290 |
\def\dbltextfloatsep{0.8\textfloatsep} |
| 3291 |
|
| 3292 |
\def\helvetica{\relax} |
| 3293 |
%%\def\timesroman{\relax}% Commented out all \timesroman -- thp 2005/07/23 |
| 3294 |
%\def\centeredcaption#1{\caption} |
| 3295 |
% |
| 3296 |
%\long\def\@makecaption#1#2{ |
| 3297 |
% \let\BBAB\table@BBAB% thp 2005/07/23 |
| 3298 |
% \vskip 10pt |
| 3299 |
% \setbox\@tempboxa\hbox{#1 #2} |
| 3300 |
% \ifdim \wd\@tempboxa >\hsize #1 #2\par \else \hbox |
| 3301 |
%to\hsize{\hfil\box\@tempboxa\hfil} |
| 3302 |
% \fi |
| 3303 |
% \let\BBAB\normal@BBAB% thp 2005/07/23 |
| 3304 |
% \vskip 4pt} |
| 3305 |
% |
| 3306 |
%\long\def\@caption#1[#2]#3{\par\addcontentsline{\csname |
| 3307 |
% ext@#1\endcsname}{#1}{\protect\numberline{\csname |
| 3308 |
% the#1\endcsname}{\ignorespaces #2}}\begingroup |
| 3309 |
% \@parboxrestore |
| 3310 |
% \normalsize |
| 3311 |
% \@makecaption{\csname fnum@#1\endcsname}{\ignorespaces #3}\par |
| 3312 |
% \endgroup} |
| 3313 |
% |
| 3314 |
%\def\fnum@figure{\small {\em\figurename\ {\thefigure}}.\hspace{0.07in}} |
| 3315 |
%\long\def\fnum@table{\small\tablename\ {\thetable}:} |
| 3316 |
|
| 3317 |
|
| 3318 |
\@ifundefined{def@apacite}{}{% -- Philip Kime 2008/12/03 |
| 3319 |
% Removed defs as per the instructions of Erik Meijer -- thp 2005/07/23 |
| 3320 |
\renewcommand{\bibliographytypesize}{\small}} |
| 3321 |
\@ifundefined{def@natbib}{}{% -- Philip Kime 2008/12/03 |
| 3322 |
% Removed defs as per the instructions of Erik Meijer -- thp 2005/07/23 |
| 3323 |
\renewcommand{\bibliographytypesize}{\small}} |
| 3324 |
|
| 3325 |
%\@ifundefined{def@noapacite}{% -- Philip Kime 2008/12/03 |
| 3326 |
% % Removed defs as per the instructions of Erik Meijer -- thp 2005/07/23 |
| 3327 |
% \renewcommand{\bibliographytypesize}{\small}}{} |
| 3328 |
|
| 3329 |
|
| 3330 |
}% end of doc mode (regular LaTeX format) |
| 3331 |
|
| 3332 |
%---------- end of mode specific definitions ----------- |
| 3333 |
|
| 3334 |
% ======================================================= |
| 3335 |
% Some final definitions for all modes |
| 3336 |
% ======================================================= |
| 3337 |
|
| 3338 |
\let\ignore\@gobble |
| 3339 |
|
| 3340 |
|
| 3341 |
\@ifundefined{def@apacite}{}{% -- Philip Kime 2008/12/03 |
| 3342 |
\bibliographystyle{apacite} |
| 3343 |
% |
| 3344 |
% Thanks to Donald Arsenau for the right way to ignore \bibliographystyle |
| 3345 |
% |
| 3346 |
\def\bibliographystyle#1{\ClassWarning{apa6}{\string\bibliographystyle\space |
| 3347 |
command ignored}}} |
| 3348 |
|
| 3349 |
\@ifundefined{def@natbib}{}{% -- Philip Kime 2008/12/03 |
| 3350 |
\bibliographystyle{apacite} |
| 3351 |
% |
| 3352 |
% Thanks to Donald Arsenau for the right way to ignore \bibliographystyle |
| 3353 |
% |
| 3354 |
\def\bibliographystyle#1{\ClassWarning{apa6}{\string\bibliographystyle\space |
| 3355 |
command ignored}}} |
| 3356 |
|
| 3357 |
%\@ifundefined{def@noapacite}{% -- Philip Kime 2008/12/03 |
| 3358 |
% \bibliographystyle{apacite} |
| 3359 |
% % |
| 3360 |
% % Thanks to Donald Arsenau for the right way to ignore \bibliographystyle |
| 3361 |
% % |
| 3362 |
% \def\bibliographystyle#1{\ClassWarning{apa6}{\string\bibliographystyle\space |
| 3363 |
% command ignored}}}{} |
| 3364 |
|
| 3365 |
|
| 3366 |
|
| 3367 |
|
| 3368 |
% \end{macrocode} |
| 3369 |
%\end{macro} |
| 3370 |
% |
| 3371 |
% \begin{macrocode} |
| 3372 |
%</class> |
| 3373 |
% \end{macrocode} |
| 3374 |
% |
| 3375 |
% |
| 3376 |
% %%%%%%%%%%% SAMPLE FILES %%%%%%%%%%%% |
| 3377 |
% |
| 3378 |
%\begin{macro}{bibliography.bib} |
| 3379 |
% \begin{macrocode} |
| 3380 |
%<*bibliography> |
| 3381 |
|
| 3382 |
@ARTICLE{Borst2011a, |
| 3383 |
author = {Borst, Gr\'{e}goire and Kosslyn, Stephen M. and Kievit, Rogier A. and Thompson, William L.}, |
| 3384 |
title = {A fictitious entry to demonstrate complicated bibliographies}, |
| 3385 |
journal = {Journal of Nothingness}, |
| 3386 |
year = {2011}, |
| 3387 |
volume = {1}, |
| 3388 |
pages = {2--3} |
| 3389 |
} |
| 3390 |
|
| 3391 |
@ARTICLE{Borst2011b, |
| 3392 |
author = {Borst, Gr\'{e}goire and Kievit, Rogier A. and Thompson, William L. and |
| 3393 |
Kosslyn, Stephen M.}, |
| 3394 |
title = {Mental rotation is not easily cognitively penetrable}, |
| 3395 |
journal = {Journal of Cognitive Psychology}, |
| 3396 |
year = {2011}, |
| 3397 |
volume = {23}, |
| 3398 |
pages = {60--75} |
| 3399 |
} |
| 3400 |
|
| 3401 |
@ARTICLE{Borst2011c, |
| 3402 |
author = {Borst, Gr\'{e}goire and Thompson, William L. and Kosslyn, Stephen M.}, |
| 3403 |
title = {Understanding the dorsal and ventral systems of the human cerebral |
| 3404 |
cortex: {B}eyond dichotomies}, |
| 3405 |
journal = {American Psychologist}, |
| 3406 |
year = {2011}, |
| 3407 |
volume = {66}, |
| 3408 |
pages = {624--632} |
| 3409 |
} |
| 3410 |
|
| 3411 |
@ARTICLE{deWaal2009, |
| 3412 |
author = {de Waal, Elda and Grosser, M. M.}, |
| 3413 |
title = {Safety and security at school: {A} pedagogical perspective}, |
| 3414 |
journal = {Teaching and Teacher Education}, |
| 3415 |
year = {2009}, |
| 3416 |
volume = {25}, |
| 3417 |
pages = {697--706} |
| 3418 |
} |
| 3419 |
|
| 3420 |
@ARTICLE{Franklin2010, |
| 3421 |
author = {Franklin, Jr., Robert G. and Adams, Jr., Reginald B.}, |
| 3422 |
title = {The two sides of beauty: {L}aterality and the duality of facial attractiveness}, |
| 3423 |
journal = {Brain and Cognition}, |
| 3424 |
year = {2010}, |
| 3425 |
volume = {72}, |
| 3426 |
pages = {300--305} |
| 3427 |
} |
| 3428 |
|
| 3429 |
@ARTICLE{Gilbert2004, |
| 3430 |
author = {Gilbert, David and McClernon, Joseph and Rabinovich, Norka and Sugai, Chihiro |
| 3431 |
and Plath, Louisette and Asgaard, Greg and Zuo, Yantao and Huggenvik, Jodi and Botros, Nazeih}, |
| 3432 |
title = {Effects of quitting smoking on {EEG} activation and attention last for more than 31 |
| 3433 |
days and are more severe with stress, dependence, {DRD2 A1} allele, and depressive traits}, |
| 3434 |
journal = {Nicotine \& Tobacco Research}, |
| 3435 |
year = {2004}, |
| 3436 |
volume = {6}, |
| 3437 |
pages = {249--267}, |
| 3438 |
number = {2}, |
| 3439 |
doi = {10.1080/14622200410001676305} |
| 3440 |
} |
| 3441 |
|
| 3442 |
@INBOOK{Haybron2008, |
| 3443 |
author = {Haybron, Daniel M.}, |
| 3444 |
title = {Philosophy and the science of subjective well-being}, |
| 3445 |
editor = {Eid, Michael and Larsen, Randy J.}, |
| 3446 |
booktitle = {The science of subjective well-being}, |
| 3447 |
year = {2008}, |
| 3448 |
pages = {17--43}, |
| 3449 |
publisher = {Guilford Press}, |
| 3450 |
address = {New York, NY} |
| 3451 |
} |
| 3452 |
|
| 3453 |
@ARTICLE{Herbst-Damm2005, |
| 3454 |
author = {Herbst-Damm, Kathryn L. and Kulik, James A.}, |
| 3455 |
title = {Volunteer support, marital status, and the survival times of terminally ill patients}, |
| 3456 |
journal = {Health Psychology}, |
| 3457 |
year = {2005}, |
| 3458 |
volume = {24}, |
| 3459 |
pages = {225--229}, |
| 3460 |
number = {2} |
| 3461 |
} |
| 3462 |
|
| 3463 |
@ARTICLE{Lassen2006, |
| 3464 |
author = {Lassen, Stephen R. and Steele, Michael M. and Sailor, Wayne}, |
| 3465 |
title = {The relationship of school-wide positive behavior support to academic achievement in |
| 3466 |
an urban middle school}, |
| 3467 |
journal = {Psychology in the Schools}, |
| 3468 |
year = {2006}, |
| 3469 |
volume = {43}, |
| 3470 |
pages = {701--712}, |
| 3471 |
number = {6} |
| 3472 |
} |
| 3473 |
|
| 3474 |
@ARTICLE{JRLevin2000, |
| 3475 |
author = {Levin, Joel R. and O'Donnell, Angela M.}, |
| 3476 |
title = {What to do about educational research's credibility gaps?}, |
| 3477 |
journal = {Journal of Cognitive Education and Psychology}, |
| 3478 |
year = {2000}, |
| 3479 |
volume = {1}, |
| 3480 |
pages = {201--256} |
| 3481 |
} |
| 3482 |
|
| 3483 |
@ARTICLE{MLevin1990, |
| 3484 |
author = {Levin, Mary E. and Levin, Joel R.}, |
| 3485 |
title = {Scientific mnemonomies: {M}ethods for maximizing more than memory}, |
| 3486 |
journal = {American Educational Research Journal}, |
| 3487 |
year = {1990}, |
| 3488 |
volume = {27}, |
| 3489 |
pages = {301--321} |
| 3490 |
} |
| 3491 |
|
| 3492 |
@ARTICLE{MayerInPressA, |
| 3493 |
author = {Mayer, Richard E.}, |
| 3494 |
title = {Fake article to illustrate in-press citations}, |
| 3495 |
journal = {Journal of Cognitive Psychology}, |
| 3496 |
year = {in press} |
| 3497 |
} |
| 3498 |
|
| 3499 |
@ARTICLE{MayerInPressB, |
| 3500 |
author = {Mayer, Richard E.}, |
| 3501 |
title = {Second fake article to illustrate in-press citations}, |
| 3502 |
journal = {Journal of Educational Psychology}, |
| 3503 |
year = {in press} |
| 3504 |
} |
| 3505 |
|
| 3506 |
@ARTICLE{Mayer2008a, |
| 3507 |
author = {Mayer, Richard E.}, |
| 3508 |
title = {Applying the science of learning: {E}vidence-based principles for |
| 3509 |
the design of multimedia instruction}, |
| 3510 |
journal = {American Psychologist}, |
| 3511 |
year = {2008}, |
| 3512 |
volume = {63}, |
| 3513 |
pages = {760--769} |
| 3514 |
} |
| 3515 |
|
| 3516 |
@ARTICLE{Mayer2008b, |
| 3517 |
author = {Mayer, Richard E.}, |
| 3518 |
title = {Old advice for new researchers}, |
| 3519 |
journal = {Educational Psychology Review}, |
| 3520 |
year = {2008}, |
| 3521 |
volume = {20}, |
| 3522 |
pages = {19--28} |
| 3523 |
} |
| 3524 |
|
| 3525 |
@BOOK{Shotton1989, |
| 3526 |
author = {Shotton, Margaret A.}, |
| 3527 |
title = {Computer addiction? {A} study of computer dependency}, |
| 3528 |
publisher = {Taylor \& Francis}, |
| 3529 |
year = {1989}, |
| 3530 |
location = {London, England} |
| 3531 |
} |
| 3532 |
|
| 3533 |
@ARTICLE{vonDavier2011, |
| 3534 |
author = {von Davier, Matthias and Xu, Xueli and Carstensen, Claus H.}, |
| 3535 |
title = {Measuring growth in a longitudinal large-scale assessment with a |
| 3536 |
general latent variable model}, |
| 3537 |
journal = {Psychometrika}, |
| 3538 |
year = {2011}, |
| 3539 |
volume = {76}, |
| 3540 |
pages = {318--336} |
| 3541 |
} |
| 3542 |
|
| 3543 |
%</bibliography> |
| 3544 |
% \end{macrocode} |
| 3545 |
%\end{macro} |
| 3546 |
% |
| 3547 |
%\begin{macro}{shortsample.tex} |
| 3548 |
% \begin{macrocode} |
| 3549 |
%<*shortsample> |
| 3550 |
\documentclass[jou]{apa6} |
| 3551 |
|
| 3552 |
\usepackage[american]{babel} |
| 3553 |
|
| 3554 |
\usepackage{csquotes} |
| 3555 |
\usepackage[style=apa6,sortcites=true,sorting=nyt,backend=biber]{biblatex} |
| 3556 |
\DeclareLanguageMapping{american}{american-apa} |
| 3557 |
\addbibresource{bibliography.bib} |
| 3558 |
|
| 3559 |
\title{Sample APA-Style Document Using the \textsf{apa6} Package} |
| 3560 |
|
| 3561 |
\author{Brian D.\ Beitzel} |
| 3562 |
\affiliation{SUNY Oneonta} |
| 3563 |
|
| 3564 |
\leftheader{Beitzel} |
| 3565 |
|
| 3566 |
\abstract{This demonstration paper uses the \textsf{apa6} \LaTeX\ |
| 3567 |
class to format the document in compliance with the 6th Edition of |
| 3568 |
the American Psychological Assocation's \textit{Publication Manual.} |
| 3569 |
The references are managed using \textsf{biblatex}.} |
| 3570 |
|
| 3571 |
\keywords{APA style, demonstration} |
| 3572 |
|
| 3573 |
\begin{document} |
| 3574 |
\maketitle |
| 3575 |
We begin with \textcite{Shotton1989}. We can also cite this work in |
| 3576 |
parenthesis, like this: \parencite{Shotton1989}. |
| 3577 |
|
| 3578 |
A three-author paper \parencite[e.g.,][]{Lassen2006} lists all |
| 3579 |
three authors for the first citation, then only the first author |
| 3580 |
on all subsequent citations \parencite{Lassen2006}. |
| 3581 |
|
| 3582 |
Note the use of five heading levels throughout this demonstration |
| 3583 |
Method section. |
| 3584 |
|
| 3585 |
\section{Method} |
| 3586 |
\subsection{Participants} |
| 3587 |
We had a lot of people in this study. |
| 3588 |
|
| 3589 |
\subsection{Materials} |
| 3590 |
Several materials were used for this project. Some of themwere |
| 3591 |
already created for prior research. |
| 3592 |
|
| 3593 |
\subsubsection{Paper-and-Pencil Instrument} |
| 3594 |
We used an instrument that we found to be highly successful. |
| 3595 |
|
| 3596 |
\paragraph{Reliability} |
| 3597 |
The reliability of this instrument is extraordinary. |
| 3598 |
|
| 3599 |
\paragraph{Validity} |
| 3600 |
We now discuss the validity of our instrument. |
| 3601 |
|
| 3602 |
\subparagraph{Face validity} The face validity is exceptionally |
| 3603 |
strong. Everyone should be impressed. |
| 3604 |
|
| 3605 |
\subparagraph{Construct validity} Also very strong. |
| 3606 |
|
| 3607 |
\subsection{Design} |
| 3608 |
This section describes the study's design. |
| 3609 |
|
| 3610 |
\subsection{Procedure} |
| 3611 |
The procedure was fairly straightforward, yet required |
| 3612 |
attention to detail. |
| 3613 |
|
| 3614 |
\section{Results} |
| 3615 |
Table \ref{tab:ComplexTable} contains some sample data. Our |
| 3616 |
statistical prowess in analyzing these data is unmatched. |
| 3617 |
|
| 3618 |
\begin{table}[htbp] |
| 3619 |
\vspace*{2em} |
| 3620 |
\begin{threeparttable} |
| 3621 |
\caption{A Complex Table} |
| 3622 |
\label{tab:ComplexTable} |
| 3623 |
\begin{tabular}{@{}lrrr@{}} \toprule |
| 3624 |
Distribution type & \multicolumn{2}{l}{Percentage of} & Total number \\ |
| 3625 |
& \multicolumn{2}{l}{targets with} & of trials per \\ |
| 3626 |
& \multicolumn{2}{l}{segment in} & participant \\ \cmidrule(r){2-3} |
| 3627 |
& Onset & Coda & \\ \midrule |
| 3628 |
Categorical -- onset\tabfnm{a} & 100 & 0 & 196 \\ |
| 3629 |
Probabilistic & 80 & 20\tabfnm{*} & 200 \\ |
| 3630 |
Categorical -- coda\tabfnm{b} & 0 & 100\tabfnm{*} & 196 \\ \midrule |
| 3631 |
\end{tabular} |
| 3632 |
\begin{tablenotes}[para,flushleft] |
| 3633 |
{\small |
| 3634 |
\textit{Note.} All data are approximate. |
| 3635 |
|
| 3636 |
\tabfnt{a}Categorical may be onset. |
| 3637 |
\tabfnt{b}Categorical may also be coda. |
| 3638 |
|
| 3639 |
\tabfnt{*}\textit{p} < .05. |
| 3640 |
\tabfnt{**}\textit{p} < .01. |
| 3641 |
} |
| 3642 |
\end{tablenotes} |
| 3643 |
\end{threeparttable} |
| 3644 |
\end{table} |
| 3645 |
|
| 3646 |
\section{Discussion} |
| 3647 |
This is a lengthy and erudite discussion. It demonstrates amazing |
| 3648 |
skill in interpreting the results for the masses. |
| 3649 |
|
| 3650 |
\printbibliography |
| 3651 |
|
| 3652 |
\end{document} |
| 3653 |
|
| 3654 |
%</shortsample> |
| 3655 |
% \end{macrocode} |
| 3656 |
%\end{macro} |
| 3657 |
% |
| 3658 |
%\begin{macro}{longsample.tex} |
| 3659 |
% \begin{macrocode} |
| 3660 |
%<*longsample> |
| 3661 |
\documentclass[man]{apa6} |
| 3662 |
|
| 3663 |
\usepackage{lipsum} |
| 3664 |
|
| 3665 |
\usepackage[american]{babel} |
| 3666 |
|
| 3667 |
\usepackage{csquotes} |
| 3668 |
\usepackage[style=apa6,sortcites=true,sorting=nyt,backend=biber]{biblatex} |
| 3669 |
\DeclareLanguageMapping{american}{american-apa} |
| 3670 |
\addbibresource{bibliography.bib} |
| 3671 |
|
| 3672 |
\title{Sample APA-Style Document Using the \textsf{apa6} Package} |
| 3673 |
\shorttitle{Sample Document} |
| 3674 |
|
| 3675 |
\author{Brian D.\ Beitzel} |
| 3676 |
\affiliation{SUNY Oneonta} |
| 3677 |
|
| 3678 |
\leftheader{Beitzel} |
| 3679 |
|
| 3680 |
\abstract{\lipsum[1]} |
| 3681 |
|
| 3682 |
\keywords{APA style, demonstration} |
| 3683 |
|
| 3684 |
\authornote{Brian D.\ Beitzel, Department of Educational Psychology, |
| 3685 |
Counseling and Special Education, SUNY Oneonta. |
| 3686 |
|
| 3687 |
Correspondence concerning this article should be addressed to Brian |
| 3688 |
D.\ Beitzel, Department of Educational Psychology, Counseling and |
| 3689 |
Special Education, SUNY Oneonta, 366 Fitzelle Hall, Oneonta, NY |
| 3690 |
13820. E-mail: [email protected]} |
| 3691 |
|
| 3692 |
|
| 3693 |
\begin{document} |
| 3694 |
\maketitle |
| 3695 |
\lipsum[2] |
| 3696 |
|
| 3697 |
\Textcite{vonDavier2011} said this, |
| 3698 |
too \parencite{vonDavier2011,Lassen2006}. Further evidence comes from |
| 3699 |
other sources \parencite{Shotton1989,Lassen2006}. \lipsum[3] |
| 3700 |
|
| 3701 |
\section{Method} |
| 3702 |
\subsection{Participants} |
| 3703 |
\lipsum[4] |
| 3704 |
|
| 3705 |
\subsection{Materials} |
| 3706 |
\lipsum[5] |
| 3707 |
|
| 3708 |
\subsection{Design} |
| 3709 |
\lipsum[6] |
| 3710 |
|
| 3711 |
\subsection{Procedure} |
| 3712 |
\lipsum[7] |
| 3713 |
|
| 3714 |
\subsubsection{Instrument \#1} |
| 3715 |
\lipsum[8] |
| 3716 |
|
| 3717 |
\paragraph{Reliability} |
| 3718 |
\lipsum[9] |
| 3719 |
|
| 3720 |
\subparagraph{Inter-rater reliability} |
| 3721 |
\lipsum[10] |
| 3722 |
|
| 3723 |
\subparagraph{Test-retest reliability} |
| 3724 |
\lipsum[11] |
| 3725 |
|
| 3726 |
\paragraph{Validity} |
| 3727 |
\lipsum[12] |
| 3728 |
|
| 3729 |
\subparagraph{Face validity} |
| 3730 |
\lipsum[13] |
| 3731 |
|
| 3732 |
\subparagraph{Construct validity} |
| 3733 |
\lipsum[14] |
| 3734 |
|
| 3735 |
|
| 3736 |
\section{Results} |
| 3737 |
Table~\ref{tab:BasicTable} summarizes the data. \lipsum[15] |
| 3738 |
|
| 3739 |
\begin{table} |
| 3740 |
\caption{Sample Basic Table} |
| 3741 |
\label{tab:BasicTable} |
| 3742 |
\begin{tabular}{@{}llr@{}} \toprule |
| 3743 |
\multicolumn{2}{c}{Item} \\ \cmidrule(r){1-2} |
| 3744 |
Animal & Description & Price \\ \midrule |
| 3745 |
Gnat & per gram & 13.65 \\ |
| 3746 |
& each & 0.01 \\ |
| 3747 |
Gnu & stuffed & 92.50 \\ |
| 3748 |
Emu & stuffed & 33.33 \\ |
| 3749 |
Armadillo & frozen & 8.99 \\ \bottomrule |
| 3750 |
\end{tabular} |
| 3751 |
\end{table} |
| 3752 |
|
| 3753 |
\begin{figure} |
| 3754 |
\includegraphics[bb=0in 0in 2.5in 2.5in, height=2.5in, width=2.5in]{Figure1.pdf} |
| 3755 |
\caption{This is my first figure caption.} |
| 3756 |
\label{fig:Figure1} |
| 3757 |
\end{figure} |
| 3758 |
|
| 3759 |
Figure~\ref{fig:Figure1} shows this trend. \lipsum[16] |
| 3760 |
|
| 3761 |
\section{Discussion} |
| 3762 |
\lipsum[17] |
| 3763 |
|
| 3764 |
\lipsum[18] |
| 3765 |
|
| 3766 |
\lipsum[19] |
| 3767 |
|
| 3768 |
|
| 3769 |
\printbibliography |
| 3770 |
|
| 3771 |
\appendix |
| 3772 |
|
| 3773 |
\section{Instrument} |
| 3774 |
\label{app:instrument} |
| 3775 |
|
| 3776 |
As shown in Figure~\ref{fig:Figure2}, these results are impressive. \lipsum[20] |
| 3777 |
|
| 3778 |
\begin{figure} |
| 3779 |
\includegraphics[bb=0in 0in 2.5in 2.5in, height=2.5in, width=2.5in]{Figure1.pdf} |
| 3780 |
\caption{This is my second figure caption.} |
| 3781 |
\label{fig:Figure2} |
| 3782 |
\end{figure} |
| 3783 |
|
| 3784 |
\lipsum[21] |
| 3785 |
\section{Pilot Data} |
| 3786 |
\label{app:surveydata} |
| 3787 |
|
| 3788 |
The detailed results are shown in Table~\ref{tab:DeckedTable}. \lipsum[22] |
| 3789 |
|
| 3790 |
\begin{table} |
| 3791 |
\begin{threeparttable} |
| 3792 |
\caption{A More Complex Decked Table} |
| 3793 |
\label{tab:DeckedTable} |
| 3794 |
\begin{tabular}{@{}lrrr@{}} \toprule |
| 3795 |
Distribution type & \multicolumn{2}{l}{Percentage of} & Total number \\ |
| 3796 |
& \multicolumn{2}{l}{targets with} & of trials per \\ |
| 3797 |
& \multicolumn{2}{l}{segment in} & participant \\ \cmidrule(r){2-3} |
| 3798 |
& Onset & Coda & \\ \midrule |
| 3799 |
Categorical -- onset\tabfnm{a} & 100 & 0 & 196 \\ |
| 3800 |
Probabilistic & 80 & 20\tabfnm{*} & 200 \\ |
| 3801 |
Categorical -- coda\tabfnm{b} & 0 & 100\tabfnm{*} & 196 \\ \midrule |
| 3802 |
\end{tabular} |
| 3803 |
\begin{tablenotes}[para,flushleft] |
| 3804 |
{\small |
| 3805 |
\textit{Note.} All data are approximate. |
| 3806 |
|
| 3807 |
\tabfnt{a}Categorical may be onset. |
| 3808 |
\tabfnt{b}Categorical may also be coda. |
| 3809 |
|
| 3810 |
\tabfnt{*}\textit{p} < .05. |
| 3811 |
\tabfnt{**}\textit{p} < .01. |
| 3812 |
} |
| 3813 |
\end{tablenotes} |
| 3814 |
\end{threeparttable} |
| 3815 |
\end{table} |
| 3816 |
|
| 3817 |
\lipsum[23] |
| 3818 |
|
| 3819 |
\end{document} |
| 3820 |
|
| 3821 |
%</longsample> |
| 3822 |
% \end{macrocode} |
| 3823 |
%\end{macro} |
| 3824 |
% |
| 3825 |
% |
| 3826 |
% %%%%%%%%%%% PTEX FILE (for Tex2Word) %%%%%%%%%%%% |
| 3827 |
% |
| 3828 |
%\begin{macro}{apa6.ptex} |
| 3829 |
% \begin{macrocode} |
| 3830 |
%<*ptex> |
| 3831 |
|
| 3832 |
%% pseudo {apa6} |
| 3833 |
%% Copyright (C) 2001-2011 Chikrii Softlab. |
| 3834 |
%% All rights reserved. |
| 3835 |
%% http://www.chikrii.com |
| 3836 |
%% mailto: [email protected] |
| 3837 |
%% License: You are allowed to create your own translators based |
| 3838 |
%% on the contents of this file solely for use with TeX2Word. |
| 3839 |
%% Chikrii Softlab is not responsible for any damages caused by the |
| 3840 |
%% use of this file or derived works. |
| 3841 |
%% |
| 3842 |
%% Modified by Brian Beitzel for the 'apa6' class |
| 3843 |
%% Distributed with permission from Chikrii Softlab |
| 3844 |
|
| 3845 |
\DeclareOption{mask}{\def\apaSix@maskauthoridentity{\relax}} |
| 3846 |
|
| 3847 |
\ProcessOptions\relax |
| 3848 |
|
| 3849 |
\newenvironment{abstract}{\section*{\abstractname}}{\relax} |
| 3850 |
|
| 3851 |
\newenvironment{titlepage}{\relax}{\relax} |
| 3852 |
\newcommand\appendix{\par |
| 3853 |
\setcounter{section}{0}% |
| 3854 |
\setcounter{subsection}{0}% |
| 3855 |
\gdef\thesection{\@Alph\c@section}} |
| 3856 |
\renewcommand\theequation{\@arabic\c@equation} |
| 3857 |
\renewcommand\thefigure{\@arabic\c@figure} |
| 3858 |
\renewcommand\thetable{\@arabic\c@table} |
| 3859 |
|
| 3860 |
\newcommand\tableofcontents{\section*{\contentsname}\entity@toc@placeholder} |
| 3861 |
\newcommand\listoffigures{\section*{\listfigurename}} |
| 3862 |
\newcommand\listoftables{\section*{\listtablename}} |
| 3863 |
|
| 3864 |
\newenvironment{theindex}{\relax}{\relax} |
| 3865 |
\newcommand\contentsname{Contents} |
| 3866 |
\newcommand\listfigurename{List of Figures} |
| 3867 |
\newcommand\listtablename{List of Tables} |
| 3868 |
\newcommand\refname{References} |
| 3869 |
\newcommand\indexname{Index} |
| 3870 |
\newcommand\figurename{Figure} |
| 3871 |
\newcommand\tablename{Table} |
| 3872 |
\newcommand\partname{Part} |
| 3873 |
\newcommand\appendixname{Appendix} |
| 3874 |
\newcommand\abstractname{Abstract} |
| 3875 |
\def\today{\ifcase\month\or |
| 3876 |
January\or February\or March\or April\or May\or June\or |
| 3877 |
July\or August\or September\or October\or November\or December\fi |
| 3878 |
\space\number\day, \number\year} |
| 3879 |
|
| 3880 |
|
| 3881 |
\def\shorttitle#1{\gdef\@shorttitle{#1}\relax} |
| 3882 |
\def\leftheader#1{\gdef\@leftheader{#1}\relax} |
| 3883 |
\long\def\abstract#1{\gdef\@abstract{#1}\relax} |
| 3884 |
\long\def\keywords#1{\gdef\@keywords{#1}\relax} |
| 3885 |
\long\def\authornote#1{\gdef\@authornote{#1}\relax} |
| 3886 |
\long\def\note#1{\gdef\@note{#1}\relax} |
| 3887 |
|
| 3888 |
% for the booktabs package |
| 3889 |
\long\def\cmidrule#1{\gdef\@cmidrule{#1}} |
| 3890 |
|
| 3891 |
% for superscripts |
| 3892 |
\newcommand{\tabfnm}[1]{\textsuperscript{#1}} |
| 3893 |
\newcommand{\tabfnt}[1]{\textsuperscript{#1}} |
| 3894 |
\newcommand{\tnote}[1]{\textsuperscript{#1}} |
| 3895 |
|
| 3896 |
% table definition |
| 3897 |
\newcommand\table[1][tbp]{% |
| 3898 |
\begingroup% |
| 3899 |
\entity@paragraph@first=0% |
| 3900 |
\let\caption=\tab@caption} |
| 3901 |
\def\endtable{\par\endgroup} |
| 3902 |
|
| 3903 |
% table and figure captions |
| 3904 |
\@namedef{caption*}#1{\entity@paragraph@new\entity@paragraph@just=1\relax% |
| 3905 |
{\normalsize\rm{#1}\par}} |
| 3906 |
\newcommand{\tab@caption}[2][?]{\refstepcounter{table}\entity@paragraph@new\relax% |
| 3907 |
{\entity@paragraph@first=0\normalsize\rm{\tablename~\thetable\par{\it #2}\par}}% |
| 3908 |
} |
| 3909 |
\newcommand{\fig@caption}[2][?]{\refstepcounter{figure}\entity@paragraph@new\relax% |
| 3910 |
{\entity@paragraph@first=0\normalsize\rm{{\it \figurename~\thefigure.}\space{#2}\par}}% |
| 3911 |
} |
| 3912 |
|
| 3913 |
% redefine sections to be non-numbered |
| 3914 |
\newcommand\@secdef@nonum[7]{% |
| 3915 |
\begingroup% |
| 3916 |
\entity@paragraph@style=#1% |
| 3917 |
\entity@paragraph@span@font=0% |
| 3918 |
\entity@paragraph@just=#2% |
| 3919 |
\entity@paragraph@spacebefore=#3% |
| 3920 |
\entity@paragraph@spaceafter=#4% |
| 3921 |
\entity@paragraph@keepwithnext=1% |
| 3922 |
\entity@paragraph@linespacingmultiple=1% |
| 3923 |
\entity@paragraph@spacebetween=480% |
| 3924 |
\entity@paragraph@sbasedon=0\entity@paragraph@snext=0% |
| 3925 |
\relax #5\relax% |
| 3926 |
\stylesheet@style#1=#7; aka Heading #1;% |
| 3927 |
\endgroup% |
| 3928 |
\@namedef{#6}{% |
| 3929 |
\def\@sec@hook@setstyle{\entity@paragraph@style=#1\relax}% |
| 3930 |
\def\@sec@hook@refstepcounter{\relax}% |
| 3931 |
\def\@sec@hook@prefix{\relax}% |
| 3932 |
\@sec@hook}} |
| 3933 |
|
| 3934 |
|
| 3935 |
% \@sec@hook that does not start a new paragraph |
| 3936 |
\def\@sec@hook@paragraphlevel{% |
| 3937 |
\entity@paragraph@new% |
| 3938 |
\entity@paragraph@linespacingmultiple=1% |
| 3939 |
\entity@paragraph@spacebetween=480% |
| 3940 |
\@@sec@hook@paragraphlevel} |
| 3941 |
\def\@@sec@hook@paragraphlevel{% |
| 3942 |
\@ifnextchar*{\@@@sec@hook@paragraphlevel}{\@@@@sec@hook@paragraphlevel}} |
| 3943 |
\def\@@@sec@hook@paragraphlevel*#1{% |
| 3944 |
{\@sec@hook@setstyle{#1}\entity@paragraph@new}} |
| 3945 |
\def\@@@@sec@hook@paragraphlevel{% |
| 3946 |
\@ifnextchar[{\@@@@@sec@hook@paragraphlevel}{\@@@@@@sec@hook@paragraphlevel}} |
| 3947 |
\def\@@@@@sec@hook@paragraphlevel[#1]#2{% |
| 3948 |
{\@sec@hook@setstyle\@sec@hook@refstepcounter\@sec@hook@prefix{#2}.}} |
| 3949 |
\def\@@@@@@sec@hook@paragraphlevel#1{% |
| 3950 |
{\@sec@hook@setstyle\@sec@hook@refstepcounter\@sec@hook@prefix{#1}.}} |
| 3951 |
|
| 3952 |
|
| 3953 |
% paragraph-level sections |
| 3954 |
\newcommand\@secdef@nonum@paragraphlevel[7]{% |
| 3955 |
\begingroup% |
| 3956 |
\entity@paragraph@style=#1% |
| 3957 |
\entity@paragraph@just=1% |
| 3958 |
\entity@paragraph@span@font=0% |
| 3959 |
\entity@paragraph@sbasedon=0\entity@paragraph@snext=0% |
| 3960 |
\relax #5\relax% |
| 3961 |
\stylesheet@style#1=#7; aka Normal;% |
| 3962 |
\endgroup% |
| 3963 |
\@namedef{#6}{% |
| 3964 |
\def\@sec@hook@setstyle{\entity@paragraph@style=#1\relax}% |
| 3965 |
\def\@sec@hook@refstepcounter{\relax}% |
| 3966 |
\def\@sec@hook@prefix{\relax}% |
| 3967 |
\@sec@hook@paragraphlevel}} |
| 3968 |
|
| 3969 |
% {styleno}{justification}{space before}{space after}{attribs}{counter}{name} |
| 3970 |
% Consider first parameter as section level, second one is alignment (left, right, |
| 3971 |
% centered, justified... -- possible numbered values are listed in TeX2Word User |
| 3972 |
% Manual), then spacing before and after paragraph, then formatting (\bf goes for |
| 3973 |
% bold, \it for italics). Then goes name for counter and then name of that |
| 3974 |
% paragraph style as it is seen in MS Word. |
| 3975 |
\@secdef@nonum{1}{3}{0}{0}{\normalsize\rm\bf}{section}{Section} |
| 3976 |
\@secdef@nonum{2}{1}{0}{0}{\normalsize\rm\bf}{subsection}{Subsection} |
| 3977 |
\@addtoreset{subsection}{section} |
| 3978 |
\@secdef@nonum@paragraphlevel{3}{1}{0}{0}{\normalsize\rm\bf}{subsubsection}{Subsubsection} |
| 3979 |
\@addtoreset{subsubsection}{subsection} |
| 3980 |
\@secdef@nonum@paragraphlevel{4}{1}{0}{0}{\normalsize\rm\bf\it}{paragraph}{Paragraph} |
| 3981 |
\@addtoreset{paragraph}{subsubsection} |
| 3982 |
\@secdef@nonum@paragraphlevel{5}{1}{0}{0}{\normalsize\rm\it}{subparagraph}{Subparagraph} |
| 3983 |
\@addtoreset{subparagraph}{paragraph} |
| 3984 |
|
| 3985 |
\newcommand\DeclareLanguageMapping[2]{} |
| 3986 |
\newcommand\addbibresource[1]{} |
| 3987 |
\newcommand\printbibliography{} |
| 3988 |
|
| 3989 |
% convert citations to temporary citations for EndNote |
| 3990 |
\def\specialComma{,} |
| 3991 |
\def\specialSemicolon{;} |
| 3992 |
|
| 3993 |
\catcode`\^^G=12 |
| 3994 |
\newcommand*{\doachar}[1]{% |
| 3995 |
\if#1\specialComma\specialSemicolon\else#1\fi%% |
| 3996 |
} |
| 3997 |
\newcommand*{\makeCommaIntoSemicolon}[1]{% |
| 3998 |
\def\stuff{#1}\ifx\stuff\@empty\else\@llchars#1^^G\fi} |
| 3999 |
\def\@llchars#1#2^^G{% |
| 4000 |
\def\letter{#1}\def\others{#2}% |
| 4001 |
\ifx\letter\@empty\let\next\@gobble% |
| 4002 |
\else% |
| 4003 |
\doachar{#1}% |
| 4004 |
\ifx\others\@empty \let\next\@gobble% |
| 4005 |
\else \let\next\@llchars \fi% |
| 4006 |
\fi% |
| 4007 |
\next#2^^G} |
| 4008 |
\catcode`\^^G=15 |
| 4009 |
|
| 4010 |
% handle bibliographic citations |
| 4011 |
\def\parencite{% |
| 4012 |
\@ifnextchar[% |
| 4013 |
{\@parencite}% |
| 4014 |
{\@parencite[]}% |
| 4015 |
} |
| 4016 |
\def\@parencite[#1]{% |
| 4017 |
\@ifnextchar[% |
| 4018 |
{\@@parencite[#1]}% |
| 4019 |
{\@@parencite[#1][]}% |
| 4020 |
} |
| 4021 |
\def\@@parencite[#1][#2]#3{% |
| 4022 |
\makeatletter% |
| 4023 |
{\{{{#1}\textbackslash}{\makeCommaIntoSemicolon{#3}}@{#2}\}}% |
| 4024 |
\makeatother% |
| 4025 |
} |
| 4026 |
|
| 4027 |
\let\Parencite=\parencite |
| 4028 |
\let\citep=\parencite |
| 4029 |
\let\Citep=\parencite |
| 4030 |
\let\citeyear=\parencite |
| 4031 |
\let\citeyearpar=\parencite |
| 4032 |
|
| 4033 |
|
| 4034 |
\def\textcite{% |
| 4035 |
\@ifnextchar[% |
| 4036 |
{\@textcite}% |
| 4037 |
{\@textcite[]}% |
| 4038 |
} |
| 4039 |
\def\@textcite[#1]{% |
| 4040 |
\@ifnextchar[% |
| 4041 |
{\@@textcite[#1]}% |
| 4042 |
{\@@textcite[#1][]}% |
| 4043 |
} |
| 4044 |
\def\@@textcite[#1][#2]#3{% |
| 4045 |
\makeatletter% |
| 4046 |
{\{ , , \makeCommaIntoSemicolon{#3}@{#2}@author-year\}}% |
| 4047 |
\makeatother% |
| 4048 |
} |
| 4049 |
\let\Textcite=\textcite |
| 4050 |
|
| 4051 |
\let\citet=\textcite |
| 4052 |
\let\Citet=\textcite |
| 4053 |
|
| 4054 |
\let\citeA=\textcite |
| 4055 |
|
| 4056 |
\let\citeauthor=\textcite |
| 4057 |
\let\Citeauthor=\textcite |
| 4058 |
|
| 4059 |
\let\citeyearNP=\textcite |
| 4060 |
\let\citeNP=\textcite |
| 4061 |
|
| 4062 |
\@ifundefined{apaSix@maskauthoridentity}{% change masked references to unmasked |
| 4063 |
|
| 4064 |
% \maskcite |
| 4065 |
\let\maskcite=\parencite |
| 4066 |
|
| 4067 |
\let\maskparencite=\maskcite |
| 4068 |
\let\maskParencite=\maskparencite |
| 4069 |
\let\maskcitep=\maskparencite |
| 4070 |
\let\maskCitep=\maskparencite |
| 4071 |
\let\maskciteyear=\maskparencite |
| 4072 |
\let\maskciteyearpar=\maskparencite |
| 4073 |
\let\masktextcite=\maskparencite |
| 4074 |
\let\maskTextcite=\maskparencite |
| 4075 |
\let\maskcitet=\maskparencite |
| 4076 |
\let\maskCitet=\maskparencite |
| 4077 |
\let\maskciteA=\maskparencite |
| 4078 |
\let\maskciteauthor=\maskparencite |
| 4079 |
\let\maskCiteauthor=\maskparencite |
| 4080 |
\let\maskciteyearNP=\maskparencite |
| 4081 |
\let\maskciteNP=\maskparencite |
| 4082 |
|
| 4083 |
}{% mask references to author |
| 4084 |
|
| 4085 |
% \maskcite |
| 4086 |
\newcommand\maskcite{\@ifnextchar[{\maskcite@@also}{\maskcite@@also[]}} |
| 4087 |
\newcommand\maskcite@@also{} |
| 4088 |
\def\maskcite@@also[#1]{\@ifnextchar[{\maskcite@@@also[#1]}{\maskcite@@@also[][#1]}} |
| 4089 |
|
| 4090 |
\def\maskcite@@@also% |
| 4091 |
[#1][#2]#3{% |
| 4092 |
\def\apaSix@masked@refs{\it (citation(s) removed for masked review)}% |
| 4093 |
{\apaSix@masked@refs}% |
| 4094 |
} |
| 4095 |
|
| 4096 |
\let\maskparencite=\maskcite |
| 4097 |
\let\maskParencite=\maskparencite |
| 4098 |
\let\maskcitep=\maskparencite |
| 4099 |
\let\maskCitep=\maskparencite |
| 4100 |
\let\maskciteyear=\maskparencite |
| 4101 |
\let\maskciteyearpar=\maskparencite |
| 4102 |
|
| 4103 |
\let\masktextcite=\maskparencite |
| 4104 |
\let\maskTextcite=\maskparencite |
| 4105 |
\let\maskcitet=\maskparencite |
| 4106 |
\let\maskCitet=\maskparencite |
| 4107 |
\let\maskciteA=\maskparencite |
| 4108 |
\let\maskciteauthor=\maskparencite |
| 4109 |
\let\maskCiteauthor=\maskparencite |
| 4110 |
\let\maskciteyearNP=\maskparencite |
| 4111 |
\let\maskciteNP=\maskparencite |
| 4112 |
|
| 4113 |
} |
| 4114 |
|
| 4115 |
|
| 4116 |
% re-define the maketitle |
| 4117 |
\long\def\maketitle{\entity@paragraph@new\begingroup\entity@paragraph@just=1\relax% |
| 4118 |
{\raggedright\entity@paragraph@first=0\entity@paragraph@linespacingmultiple=0\entity@paragraph@spacebetween=240% |
| 4119 |
{\bf INSTRUCTIONS:}\par\entity@paragraph@first=0% |
| 4120 |
\begin{enumerate}% |
| 4121 |
\item Insert page numbers (non-italic) in top right corner\par% |
| 4122 |
\item Insert the following text on the left-hand side of the page header:\par% |
| 4123 |
\begin{itemize}% |
| 4124 |
\item Running head: \MakeUppercase{\@shorttitle}\par% |
| 4125 |
\end{itemize}% |
| 4126 |
\item Adjust the vertical spacing on this title page to look appealing% |
| 4127 |
\item Verify formatting accuracy of bibliographic entries and References list% |
| 4128 |
\item Move each table and figure to its appropriate place at the end of the document% |
| 4129 |
\begin{itemize}% |
| 4130 |
\item {\it Note:} Captions are already formatted properly (above tables, below figures) |
| 4131 |
\end{itemize}% |
| 4132 |
\item Format tables |
| 4133 |
\begin{itemize}% |
| 4134 |
\item {\it Hint:} Start by showing all borders, left-align, and make 100\% wide |
| 4135 |
\item See the .pdf version of the \LaTeX\ file to see how the table should look |
| 4136 |
\end{itemize}% |
| 4137 |
\item The final pages must appear in this order:% |
| 4138 |
\begin{enumerate}% |
| 4139 |
\item References |
| 4140 |
\item Tables |
| 4141 |
\item Figures |
| 4142 |
\item Appendices |
| 4143 |
\end{enumerate}% |
| 4144 |
\item Delete these instructions!% |
| 4145 |
\end{enumerate}}% |
| 4146 |
\@ifundefined{apaSix@maskauthoridentity}{% |
| 4147 |
{\par\centering\entity@paragraph@first=0{\newline}\par}% |
| 4148 |
{\centering\entity@paragraph@first=0% |
| 4149 |
{\@title}\newline% |
| 4150 |
{\@author}\newline% |
| 4151 |
{\@affiliation}% |
| 4152 |
\newline{\@note}% |
| 4153 |
\par% |
| 4154 |
{% |
| 4155 |
\@ifundefined{\@authornote}{}{% |
| 4156 |
\par\entity@paragraph@first=0% |
| 4157 |
\newline\newline\newline% |
| 4158 |
{Author Note\par\par}% |
| 4159 |
}% |
| 4160 |
}% |
| 4161 |
}% |
| 4162 |
\@ifundefined{\@authornote}{}{% |
| 4163 |
{\entity@paragraph@first=720\@authornote}% |
| 4164 |
} |
| 4165 |
}{% |
| 4166 |
{\par\centering\entity@paragraph@first=0{\newline}\par}% |
| 4167 |
{\centering\entity@paragraph@first=0% |
| 4168 |
{\@title}\newline% |
| 4169 |
\newline{\@note}% |
| 4170 |
\par% |
| 4171 |
}% |
| 4172 |
{\entity@paragraph@first=720\par} |
| 4173 |
}% |
| 4174 |
\newpage% |
| 4175 |
{\centering\entity@paragraph@first=0{Abstract\par\par}}% |
| 4176 |
{\entity@paragraph@first=0\@abstract\par}% |
| 4177 |
{\entity@paragraph@first=720{\it Keywords:} \@keywords}% |
| 4178 |
\newpage% |
| 4179 |
{\entity@paragraph@new\begingroup\entity@paragraph@just=3\entity@paragraph@first=0\relax% |
| 4180 |
{\@title}% |
| 4181 |
\par\endgroup% |
| 4182 |
}% |
| 4183 |
\entity@paragraph@first=720% |
| 4184 |
\endgroup} |
| 4185 |
|
| 4186 |
\entity@paragraph@just=1 |
| 4187 |
\entity@paragraph@first=720% |
| 4188 |
\entity@paragraph@linespacingmultiple=1% |
| 4189 |
\entity@paragraph@spacebetween=480% |
| 4190 |
\stylesheet@style8=Normal; aka Normal;% |
| 4191 |
|
| 4192 |
|
| 4193 |
\ProcessOptions |
| 4194 |
|
| 4195 |
\api@lockfile apa6 |
| 4196 |
|
| 4197 |
\@@endinput |
| 4198 |
|
| 4199 |
% End of file |
| 4200 |
|
| 4201 |
%</ptex> |
| 4202 |
% \end{macrocode} |
| 4203 |
%\end{macro} |
| 4204 |
% |
| 4205 |
% |
| 4206 |
% |
| 4207 |
% %%%%%%%%%%% TeX2WordForapa6.bas FILE (macro for Word) %%%%%%%%%%%% |
| 4208 |
% |
| 4209 |
%\begin{macro}{TeX2WordForapa6.bas} |
| 4210 |
% \begin{macrocode} |
| 4211 |
%<*bas> |
| 4212 |
Attribute VB_Name = "TeX2WordForapa6" |
| 4213 |
Sub FormatTex2WordDocument() |
| 4214 |
|
| 4215 |
Dim strRunningHead, r, E |
| 4216 |
Dim myrange As Range |
| 4217 |
|
| 4218 |
strRunningHead = InputBox("Please type the running head:", "Running Head") |
| 4219 |
If strRunningHead = "" Then Exit Sub |
| 4220 |
|
| 4221 |
Selection.EndKey Unit:=wdStory |
| 4222 |
Selection.InsertBreak Type:=wdPageBreak |
| 4223 |
Selection.TypeText Text:="References" & vbCrLf |
| 4224 |
Selection.MoveUp Unit:=wdLine, Count:=1 |
| 4225 |
Selection.ParagraphFormat.LeftIndent = InchesToPoints(0) |
| 4226 |
Selection.ParagraphFormat.Alignment = wdAlignParagraphCenter |
| 4227 |
|
| 4228 |
Selection.HomeKey Unit:=wdStory |
| 4229 |
|
| 4230 |
Call FormatTex2WordPageHeader(strRunningHead) |
| 4231 |
Call FormatAndMoveTex2WordTables |
| 4232 |
Call FormatAndMoveTex2WordFigures |
| 4233 |
|
| 4234 |
Selection.EndKey Unit:=wdStory |
| 4235 |
Selection.InsertBreak Type:=wdPageBreak |
| 4236 |
Selection.TypeText Text:="Appendix" & vbCrLf |
| 4237 |
Selection.MoveUp Unit:=wdLine, Count:=1 |
| 4238 |
Selection.ParagraphFormat.LeftIndent = InchesToPoints(0) |
| 4239 |
Selection.ParagraphFormat.Alignment = wdAlignParagraphCenter |
| 4240 |
|
| 4241 |
' touch up temporary citations |
| 4242 |
Selection.HomeKey Unit:=wdStory |
| 4243 |
|
| 4244 |
Selection.Find.ClearFormatting |
| 4245 |
Selection.Find.Replacement.ClearFormatting |
| 4246 |
With Selection.Find |
| 4247 |
.Text = "{\" |
| 4248 |
.Replacement.Text = "{" |
| 4249 |
.Forward = True |
| 4250 |
.Wrap = wdFindContinue |
| 4251 |
.Format = False |
| 4252 |
.MatchCase = False |
| 4253 |
.MatchWholeWord = False |
| 4254 |
.MatchWildcards = False |
| 4255 |
.MatchSoundsLike = False |
| 4256 |
.MatchAllWordForms = False |
| 4257 |
End With |
| 4258 |
Selection.Find.Execute Replace:=wdReplaceAll |
| 4259 |
|
| 4260 |
With Selection.Find |
| 4261 |
.Text = "@}" |
| 4262 |
.Replacement.Text = "}" |
| 4263 |
.Forward = True |
| 4264 |
.Wrap = wdFindContinue |
| 4265 |
.Format = False |
| 4266 |
.MatchCase = False |
| 4267 |
.MatchWholeWord = False |
| 4268 |
.MatchWildcards = False |
| 4269 |
.MatchSoundsLike = False |
| 4270 |
.MatchAllWordForms = False |
| 4271 |
End With |
| 4272 |
Selection.Find.Execute Replace:=wdReplaceAll |
| 4273 |
|
| 4274 |
With Selection.Find |
| 4275 |
.Text = "{e.g.,\" |
| 4276 |
.Replacement.Text = "{e.g.`, \" |
| 4277 |
.Forward = True |
| 4278 |
.Wrap = wdFindContinue |
| 4279 |
.Format = False |
| 4280 |
.MatchCase = False |
| 4281 |
.MatchWholeWord = False |
| 4282 |
.MatchWildcards = False |
| 4283 |
.MatchSoundsLike = False |
| 4284 |
.MatchAllWordForms = False |
| 4285 |
End With |
| 4286 |
Selection.Find.Execute Replace:=wdReplaceAll |
| 4287 |
|
| 4288 |
With Selection.Find |
| 4289 |
.Text = "{i.e.,\" |
| 4290 |
.Replacement.Text = "{i.e.`, \" |
| 4291 |
.Forward = True |
| 4292 |
.Wrap = wdFindContinue |
| 4293 |
.Format = False |
| 4294 |
.MatchCase = False |
| 4295 |
.MatchWholeWord = False |
| 4296 |
.MatchWildcards = False |
| 4297 |
.MatchSoundsLike = False |
| 4298 |
.MatchAllWordForms = False |
| 4299 |
End With |
| 4300 |
Selection.Find.Execute Replace:=wdReplaceAll |
| 4301 |
|
| 4302 |
With Selection.Find |
| 4303 |
.Text = "{cf.\" |
| 4304 |
.Replacement.Text = "{cf. \" |
| 4305 |
.Forward = True |
| 4306 |
.Wrap = wdFindContinue |
| 4307 |
.Format = False |
| 4308 |
.MatchCase = False |
| 4309 |
.MatchWholeWord = False |
| 4310 |
.MatchWildcards = False |
| 4311 |
.MatchSoundsLike = False |
| 4312 |
.MatchAllWordForms = False |
| 4313 |
End With |
| 4314 |
Selection.Find.Execute Replace:=wdReplaceAll |
| 4315 |
|
| 4316 |
With Selection.Find |
| 4317 |
.Text = "@p. " |
| 4318 |
.Replacement.Text = "@" |
| 4319 |
.Forward = True |
| 4320 |
.Wrap = wdFindContinue |
| 4321 |
.Format = False |
| 4322 |
.MatchCase = False |
| 4323 |
.MatchWholeWord = False |
| 4324 |
.MatchWildcards = False |
| 4325 |
.MatchSoundsLike = False |
| 4326 |
.MatchAllWordForms = False |
| 4327 |
End With |
| 4328 |
Selection.Find.Execute Replace:=wdReplaceAll |
| 4329 |
|
| 4330 |
With Selection.Find |
| 4331 |
.Text = "@pp. " |
| 4332 |
.Replacement.Text = "@" |
| 4333 |
.Forward = True |
| 4334 |
.Wrap = wdFindContinue |
| 4335 |
.Format = False |
| 4336 |
.MatchCase = False |
| 4337 |
.MatchWholeWord = False |
| 4338 |
.MatchWildcards = False |
| 4339 |
.MatchSoundsLike = False |
| 4340 |
.MatchAllWordForms = False |
| 4341 |
End With |
| 4342 |
Selection.Find.Execute Replace:=wdReplaceAll |
| 4343 |
|
| 4344 |
' for table footnotes |
| 4345 |
With Selection.Find |
| 4346 |
.Text = "[para,flushleft] " |
| 4347 |
.Replacement.Text = "" |
| 4348 |
.Forward = True |
| 4349 |
.Wrap = wdFindContinue |
| 4350 |
.Format = False |
| 4351 |
.MatchCase = False |
| 4352 |
.MatchWholeWord = False |
| 4353 |
.MatchWildcards = False |
| 4354 |
.MatchSoundsLike = False |
| 4355 |
.MatchAllWordForms = False |
| 4356 |
End With |
| 4357 |
Selection.Find.Execute Replace:=wdReplaceAll |
| 4358 |
|
| 4359 |
' remove extra spaces at the end of paragraphs |
| 4360 |
With Selection.Find |
| 4361 |
.Text = " ^p" |
| 4362 |
.Replacement.Text = "^p" |
| 4363 |
.Forward = True |
| 4364 |
.Wrap = wdFindContinue |
| 4365 |
.Format = False |
| 4366 |
.MatchCase = False |
| 4367 |
.MatchWholeWord = False |
| 4368 |
.MatchWildcards = False |
| 4369 |
.MatchSoundsLike = False |
| 4370 |
.MatchAllWordForms = False |
| 4371 |
End With |
| 4372 |
Selection.Find.Execute Replace:=wdReplaceAll |
| 4373 |
|
| 4374 |
' delete the instructions |
| 4375 |
Selection.HomeKey Unit:=wdStory |
| 4376 |
|
| 4377 |
Set myrange = Selection.Range |
| 4378 |
myrange.Start = Selection.Start |
| 4379 |
|
| 4380 |
Selection.HomeKey Unit:=wdStory |
| 4381 |
Selection.Find.ClearFormatting |
| 4382 |
With Selection.Find |
| 4383 |
.Execute findText:="Delete these instructions!", Forward:=True, Wrap:=wdFindStop |
| 4384 |
myrange.End = Selection.End + 1 |
| 4385 |
myrange.Select |
| 4386 |
myrange.Delete |
| 4387 |
End With |
| 4388 |
|
| 4389 |
Selection.HomeKey Unit:=wdStory |
| 4390 |
|
| 4391 |
End Sub |
| 4392 |
|
| 4393 |
Sub FormatTex2WordPageHeader(strRunningHead) |
| 4394 |
|
| 4395 |
Dim r, E |
| 4396 |
|
| 4397 |
' set the first page to be a different header |
| 4398 |
ActiveDocument.PageSetup.DifferentFirstPageHeaderFooter = True |
| 4399 |
|
| 4400 |
With ActiveDocument.Sections(1).Headers(wdHeaderFooterFirstPage) |
| 4401 |
.Range.ParagraphFormat.LineSpacingRule = wdLineSpaceDouble |
| 4402 |
.Range.ParagraphFormat.FirstLineIndent = InchesToPoints(0) |
| 4403 |
.Range.ParagraphFormat.TabStops.ClearAll |
| 4404 |
.Range.ParagraphFormat.TabStops.Add Position:=InchesToPoints(6.5), _ |
| 4405 |
Alignment:=wdAlignTabRight, Leader:=wdTabLeaderSpaces |
| 4406 |
.Range.Text = "Running head: " & UCase(strRunningHead) & vbTab |
| 4407 |
With .Range.Font |
| 4408 |
.Name = "Times New Roman" |
| 4409 |
.Size = 12 |
| 4410 |
.Bold = False |
| 4411 |
.Italic = False |
| 4412 |
End With |
| 4413 |
|
| 4414 |
Set r = .Range |
| 4415 |
E = .Range.End |
| 4416 |
r.Start = E |
| 4417 |
.Range.Fields.Add r, wdFieldPage |
| 4418 |
|
| 4419 |
End With |
| 4420 |
|
| 4421 |
With ActiveDocument.Sections(1).Headers(wdHeaderFooterPrimary) |
| 4422 |
.Range.ParagraphFormat.LineSpacingRule = wdLineSpaceDouble |
| 4423 |
.Range.ParagraphFormat.FirstLineIndent = InchesToPoints(0) |
| 4424 |
.Range.Text = UCase(strRunningHead) |
| 4425 |
.PageNumbers.Add PageNumberAlignment:=wdAlignPageNumberRight |
| 4426 |
With .Range.Font |
| 4427 |
.Name = "Times New Roman" |
| 4428 |
.Size = 12 |
| 4429 |
.Bold = False |
| 4430 |
.Italic = False |
| 4431 |
End With |
| 4432 |
End With |
| 4433 |
|
| 4434 |
End Sub |
| 4435 |
|
| 4436 |
Sub FormatAndMoveTex2WordTables() |
| 4437 |
|
| 4438 |
Dim i, rngParagraphs As Range |
| 4439 |
|
| 4440 |
If ActiveDocument.Tables.Count > 0 Then |
| 4441 |
|
| 4442 |
For i = 1 To ActiveDocument.Tables.Count |
| 4443 |
|
| 4444 |
Selection.HomeKey Unit:=wdStory |
| 4445 |
|
| 4446 |
Set rngParagraphs = ActiveDocument.Range( _ |
| 4447 |
Start:=ActiveDocument.Tables(1).Range.Start, _ |
| 4448 |
End:=ActiveDocument.Tables(1).Range.End) |
| 4449 |
rngParagraphs.Select |
| 4450 |
|
| 4451 |
With Selection.Tables(1) |
| 4452 |
.Borders(wdBorderLeft).LineStyle = wdLineStyleNone |
| 4453 |
.Borders(wdBorderRight).LineStyle = wdLineStyleNone |
| 4454 |
With .Borders(wdBorderTop) |
| 4455 |
.LineStyle = wdLineStyleSingle |
| 4456 |
.LineWidth = wdLineWidth050pt |
| 4457 |
.Color = wdColorAutomatic |
| 4458 |
End With |
| 4459 |
With .Borders(wdBorderBottom) |
| 4460 |
.LineStyle = wdLineStyleSingle |
| 4461 |
.LineWidth = wdLineWidth050pt |
| 4462 |
.Color = wdColorAutomatic |
| 4463 |
End With |
| 4464 |
.Borders(wdBorderHorizontal).LineStyle = wdLineStyleNone |
| 4465 |
.Borders(wdBorderVertical).LineStyle = wdLineStyleNone |
| 4466 |
.Borders(wdBorderDiagonalDown).LineStyle = wdLineStyleNone |
| 4467 |
.Borders(wdBorderDiagonalUp).LineStyle = wdLineStyleNone |
| 4468 |
.Borders.Shadow = False |
| 4469 |
'.Rows.Alignment = wdAlignRowLeft |
| 4470 |
.PreferredWidthType = wdPreferredWidthPercent |
| 4471 |
.PreferredWidth = 100 |
| 4472 |
.TopPadding = InchesToPoints(0.08) |
| 4473 |
.BottomPadding = InchesToPoints(0.08) |
| 4474 |
.LeftPadding = InchesToPoints(0.08) |
| 4475 |
.RightPadding = InchesToPoints(0.08) |
| 4476 |
.Spacing = 0 |
| 4477 |
.AllowPageBreaks = True |
| 4478 |
.AllowAutoFit = False |
| 4479 |
End With |
| 4480 |
|
| 4481 |
With Selection.ParagraphFormat |
| 4482 |
.LineSpacingRule = wdLineSpaceSingle |
| 4483 |
.LeftIndent = InchesToPoints(0) |
| 4484 |
.RightIndent = InchesToPoints(0) |
| 4485 |
.SpaceBefore = 0 |
| 4486 |
.SpaceBeforeAuto = False |
| 4487 |
.SpaceAfter = 0 |
| 4488 |
.SpaceAfterAuto = False |
| 4489 |
.WidowControl = False |
| 4490 |
.KeepWithNext = False |
| 4491 |
.KeepTogether = False |
| 4492 |
.PageBreakBefore = False |
| 4493 |
.NoLineNumber = False |
| 4494 |
.Hyphenation = True |
| 4495 |
.FirstLineIndent = InchesToPoints(0) |
| 4496 |
.CharacterUnitLeftIndent = 0 |
| 4497 |
.CharacterUnitRightIndent = 0 |
| 4498 |
.CharacterUnitFirstLineIndent = 0 |
| 4499 |
.LineUnitBefore = 0 |
| 4500 |
.LineUnitAfter = 0 |
| 4501 |
.MirrorIndents = False |
| 4502 |
.TextboxTightWrap = wdTightNone |
| 4503 |
End With |
| 4504 |
|
| 4505 |
rngParagraphs.Cut |
| 4506 |
|
| 4507 |
Selection.EndKey Unit:=wdStory |
| 4508 |
Selection.InsertBreak Type:=wdPageBreak |
| 4509 |
Selection.TypeText Text:="Table " & i & vbCrLf |
| 4510 |
Selection.Paste |
| 4511 |
|
| 4512 |
Next |
| 4513 |
|
| 4514 |
End If |
| 4515 |
|
| 4516 |
End Sub |
| 4517 |
|
| 4518 |
Sub FormatAndMoveTex2WordFigures() |
| 4519 |
|
| 4520 |
Dim i, rngParagraphs As Range |
| 4521 |
|
| 4522 |
If ActiveDocument.InlineShapes.Count > 0 Then |
| 4523 |
|
| 4524 |
For i = 1 To ActiveDocument.InlineShapes.Count |
| 4525 |
|
| 4526 |
Selection.HomeKey Unit:=wdStory |
| 4527 |
|
| 4528 |
Set rngParagraphs = ActiveDocument.Range( _ |
| 4529 |
Start:=ActiveDocument.InlineShapes(1).Range.Start, _ |
| 4530 |
End:=ActiveDocument.InlineShapes(1).Range.End) |
| 4531 |
rngParagraphs.Select |
| 4532 |
rngParagraphs.Cut |
| 4533 |
|
| 4534 |
Selection.EndKey Unit:=wdStory |
| 4535 |
Selection.InsertBreak Type:=wdPageBreak |
| 4536 |
Selection.Paste |
| 4537 |
Selection.TypeText Text:=vbCrLf & "Figure " & i & vbCrLf |
| 4538 |
|
| 4539 |
Next |
| 4540 |
|
| 4541 |
End If |
| 4542 |
|
| 4543 |
End Sub |
| 4544 |
% |
| 4545 |
%</bas> |
| 4546 |
% \end{macrocode} |
| 4547 |
%\end{macro} |
| 4548 |
% |
| 4549 |
% |
| 4550 |
% %%%%%%%%%%% CONFIGURATION FILES %%%%%%%%%%%% |
| 4551 |
% |
| 4552 |
%\begin{macro}{APAamerican.txt} |
| 4553 |
% \begin{macrocode} |
| 4554 |
%<*american> |
| 4555 |
\ProvidesFile{APAamerican.txt}[2012/02/23 v1.25 apa6 configuration for American English] |
| 4556 |
|
| 4557 |
\renewcommand{\rheadname}{Running head} |
| 4558 |
\renewcommand{\acksname}{Author Note} |
| 4559 |
\renewcommand{\keywordname}{Keywords} |
| 4560 |
\renewcommand{\notesname}{Footnotes} |
| 4561 |
|
| 4562 |
|
| 4563 |
%</american> |
| 4564 |
% \end{macrocode} |
| 4565 |
%\end{macro} |
| 4566 |
% |
| 4567 |
% |
| 4568 |
%\begin{macro}{APAbritish.txt} |
| 4569 |
% \begin{macrocode} |
| 4570 |
%<*british> |
| 4571 |
\ProvidesFile{APAbritish.txt}[2012/02/23 v1.25 apa6 configuration for British English] |
| 4572 |
|
| 4573 |
\renewcommand{\rheadname}{Running head} |
| 4574 |
\renewcommand{\acksname}{Author Note} |
| 4575 |
\renewcommand{\keywordname}{Keywords} |
| 4576 |
\renewcommand{\notesname}{Footnotes} |
| 4577 |
|
| 4578 |
|
| 4579 |
%</british> |
| 4580 |
% \end{macrocode} |
| 4581 |
%\end{macro} |
| 4582 |
% |
| 4583 |
% |
| 4584 |
%\begin{macro}{APAenglish.txt} |
| 4585 |
% \begin{macrocode} |
| 4586 |
%<*english> |
| 4587 |
\ProvidesFile{APAenglish.txt}[2012/02/23 v1.25 apa6 configuration for non-American English] |
| 4588 |
|
| 4589 |
\renewcommand{\rheadname}{Running head} |
| 4590 |
\renewcommand{\acksname}{Author Note} |
| 4591 |
\renewcommand{\keywordname}{Keywords} |
| 4592 |
\renewcommand{\notesname}{Footnotes} |
| 4593 |
|
| 4594 |
%</english> |
| 4595 |
% \end{macrocode} |
| 4596 |
%\end{macro} |
| 4597 |
% |
| 4598 |
%\begin{macro}{APAdutch.txt} |
| 4599 |
% \begin{macrocode} |
| 4600 |
%<*dutch> |
| 4601 |
\ProvidesFile{APAdutch.txt}[2012/02/23 v1.25 apa6 configuration for Dutch] |
| 4602 |
|
| 4603 |
\renewcommand{\rheadname}{Kopregel}% Running head |
| 4604 |
\renewcommand{\acksname}{Auteursnoot}% Author Note |
| 4605 |
\renewcommand{\keywordname}{Trefwoorden}% Keywords |
| 4606 |
\renewcommand{\notesname}{Voetnoten}% Footnotes |
| 4607 |
|
| 4608 |
%</dutch> |
| 4609 |
% \end{macrocode} |
| 4610 |
%\end{macro} |
| 4611 |
% |
| 4612 |
%\begin{macro}{APAgerman.txt} |
| 4613 |
% \begin{macrocode} |
| 4614 |
%<*german> |
| 4615 |
\ProvidesFile{APAgerman.txt}[2012/02/23 v1.25 apa6 configuration for German] |
| 4616 |
|
| 4617 |
\renewcommand{\rheadname}{Kolumnentitel}% Running head |
| 4618 |
\renewcommand{\acksname}{Autorenhinweis}% Author Note |
| 4619 |
\renewcommand{\keywordname}{Schl\"usselw\"orter}% Keywords |
| 4620 |
\renewcommand{\notesname}{Fußnoten}% Footnotes |
| 4621 |
|
| 4622 |
%</german> |
| 4623 |
% \end{macrocode} |
| 4624 |
%\end{macro} |
| 4625 |
% |
| 4626 |
%\begin{macro}{APAngerman.txt} |
| 4627 |
% \begin{macrocode} |
| 4628 |
%<*ngerman> |
| 4629 |
\ProvidesFile{APAgerman.txt}[2012/02/23 v1.25 apa6 configuration for "new" German] |
| 4630 |
|
| 4631 |
\renewcommand{\rheadname}{Kolumnentitel}% Running head |
| 4632 |
\renewcommand{\acksname}{Autorenhinweis}% Author Note |
| 4633 |
\renewcommand{\keywordname}{Schl\"usselw\"orter}% Keywords |
| 4634 |
\renewcommand{\notesname}{Fußnoten}% Footnotes |
| 4635 |
|
| 4636 |
%</ngerman> |
| 4637 |
% \end{macrocode} |
| 4638 |
%\end{macro} |
| 4639 |
% |
| 4640 |
%\begin{macro}{APAgreek.txt} |
| 4641 |
% \begin{macrocode} |
| 4642 |
%<*greek> |
| 4643 |
\ProvidesFile{APAgreek.txt}[2012/02/23 v1.25 apa6 configuration for Greek] |
| 4644 |
|
| 4645 |
\renewcommand{\rheadname}{Up'ertitlos}% Running head |
| 4646 |
\renewcommand{\acksname}{Shmei'wseis tou suggraf'ea}% Author Note |
| 4647 |
\renewcommand{\keywordname}{L'exeis kleidi'a}% Keywords |
| 4648 |
\renewcommand{\notesname}{Uposhmei'wseis}% Footnotes |
| 4649 |
|
| 4650 |
%</greek> |
| 4651 |
% \end{macrocode} |
| 4652 |
%\end{macro} |
| 4653 |
% |
| 4654 |
%\begin{macro}{APAczech.txt} |
| 4655 |
% \begin{macrocode} |
| 4656 |
%<*czech> |
| 4657 |
\ProvidesFile{APAczech.txt}[2012/02/23 v1.25 apa6 configuration for Czech] |
| 4658 |
|
| 4659 |
\renewcommand{\rheadname}{Záhlaví}% Running head |
| 4660 |
\renewcommand{\acksname}{Poznámka~autora}% Author Note |
| 4661 |
\renewcommand{\keywordname}{Klícová~1slova}% Keywords |
| 4662 |
\renewcommand{\notesname}{Poznámky}% Footnotes |
| 4663 |
|
| 4664 |
%</czech> |
| 4665 |
% \end{macrocode} |
| 4666 |
%\end{macro} |
| 4667 |
% |
| 4668 |
%\begin{macro}{APAturkish.txt} |
| 4669 |
% \begin{macrocode} |
| 4670 |
%<*turkish> |
| 4671 |
\ProvidesFile{APAturkish.txt}[2016/05/26 v2.2 apa6 configuration for Turkish] |
| 4672 |
|
| 4673 |
\renewcommand{\rheadname}{Kısa Başlık}% Running head |
| 4674 |
\renewcommand{\acksname}{Yazar Notu}% Author Note |
| 4675 |
\renewcommand{\keywordname}{Anahtar Kelimeler}% Keywords |
| 4676 |
\renewcommand{\notesname}{Dipnotlar}% Footnotes |
| 4677 |
|
| 4678 |
%</turkish> |
| 4679 |
% \end{macrocode} |
| 4680 |
%\end{macro} |
| 4681 |
% |
| 4682 |
%\begin{macro}{APAendfloat.cfg} |
| 4683 |
% \begin{macrocode} |
| 4684 |
%<*APAendfloat> |
| 4685 |
%% |
| 4686 |
%% This is file `endfloat.cfg', |
| 4687 |
%% modifed from the original supplied with the endfloat package |
| 4688 |
%% to handle both sideways floats and longtable |
| 4689 |
%% |
| 4690 |
%% Athanassios Protopapas <[email protected]> |
| 4691 |
%% July 2005 |
| 4692 |
%% |
| 4693 |
%% Original authors: James Darrell McCauley <[email protected]>, |
| 4694 |
%% Jeff Goldberg <[email protected]> |
| 4695 |
%% Original version: Version 2.4i <October 1995> |
| 4696 |
%% |
| 4697 |
\RequirePackage{rotating} |
| 4698 |
\let\efsaved@sidewaysfigure\sidewaysfigure |
| 4699 |
\let\efsaved@sidewaystable\sidewaystable |
| 4700 |
\let\efsaved@longtable\longtable |
| 4701 |
\AtBeginTables{\let\sidewaystable=\efsaved@sidewaystable\relax} |
| 4702 |
\AtBeginTables{\let\longtable=\efsaved@longtable\relax} |
| 4703 |
\AtBeginFigures{\let\sidewaysfigure=\efsaved@sidewaysfigure\relax} |
| 4704 |
\def\sidewaystable{\efloat@condopen{ttt} |
| 4705 |
\efloat@iwrite{ttt}{\string\begin{sidewaystable}}% |
| 4706 |
% \if@domarkers |
| 4707 |
% \addtocounter{posttbl}{1} |
| 4708 |
% \tableplace |
| 4709 |
% \fi |
| 4710 |
\def\@currenvir{efloat@float}% |
| 4711 |
\begingroup |
| 4712 |
\let\do\ef@makeinnocent \dospecials |
| 4713 |
\ef@makeinnocent\^^L% and whatever other special cases |
| 4714 |
\endlinechar`\^^M \catcode`\^^M=12 \ef@xsidetable} |
| 4715 |
{\catcode`\^^M=12 \endlinechar=-1 % |
| 4716 |
\gdef\ef@xsidetable#1^^M{\def\test{#1} |
| 4717 |
\ifx\test\ef@endsidetabletest |
| 4718 |
\efloat@foundend{ttt}{sidewaystable} |
| 4719 |
\else |
| 4720 |
\efloat@iwrite{ttt}{#1}% |
| 4721 |
\let\next\ef@xsidetable |
| 4722 |
\fi \next} |
| 4723 |
} |
| 4724 |
\def\sidewaysfigure{\efloat@condopen{fff} |
| 4725 |
\efloat@iwrite{fff}{\string\begin{sidewaysfigure}}% |
| 4726 |
% \if@domarkers |
| 4727 |
% \addtocounter{postfig}{1} |
| 4728 |
% \figureplace |
| 4729 |
% \fi |
| 4730 |
\def\@currenvir{efloat@float}% |
| 4731 |
\begingroup |
| 4732 |
\let\do\ef@makeinnocent \dospecials |
| 4733 |
\ef@makeinnocent\^^L% and whatever other special cases |
| 4734 |
\endlinechar`\^^M \catcode`\^^M=12 \ef@xsidefigure} |
| 4735 |
{\catcode`\^^M=12 \endlinechar=-1 % |
| 4736 |
\gdef\ef@xsidefigure#1^^M{\def\test{#1} |
| 4737 |
\ifx\test\ef@endsidefiguretest |
| 4738 |
\efloat@foundend{fff}{sidewaysfigure} |
| 4739 |
\else |
| 4740 |
\efloat@iwrite{fff}{#1}% |
| 4741 |
\let\next\ef@xsidefigure |
| 4742 |
\fi \next} |
| 4743 |
} |
| 4744 |
\def\longtable{\efloat@condopen{ttt} |
| 4745 |
\efloat@iwrite{ttt}{\string\begin{longtable}}% |
| 4746 |
% \if@domarkers |
| 4747 |
% \addtocounter{posttbl}{1} |
| 4748 |
% \tableplace |
| 4749 |
% \fi |
| 4750 |
\def\@currenvir{efloat@float}% |
| 4751 |
\begingroup |
| 4752 |
\let\do\ef@makeinnocent \dospecials |
| 4753 |
\ef@makeinnocent\^^L% and whatever other special cases |
| 4754 |
\endlinechar`\^^M \catcode`\^^M=12 \ef@xlongtable} |
| 4755 |
{\catcode`\^^M=12 \endlinechar=-1 % |
| 4756 |
\gdef\ef@xlongtable#1^^M{\def\test{#1} |
| 4757 |
\ifx\test\ef@endlongtabletest |
| 4758 |
\efloat@foundend{ttt}{longtable} |
| 4759 |
\else |
| 4760 |
\efloat@iwrite{ttt}{#1}% |
| 4761 |
\let\next\ef@xlongtable |
| 4762 |
\fi \next} |
| 4763 |
} |
| 4764 |
{\escapechar=-1% |
| 4765 |
\xdef\ef@endsidefiguretest{\string\\end\string\{sidewaysfigure\string\}}% |
| 4766 |
\xdef\ef@endsidetabletest{\string\\end\string\{sidewaystable\string\}} |
| 4767 |
\xdef\ef@endlongtabletest{\string\\end\string\{longtable\string\}}}% |
| 4768 |
\endinput |
| 4769 |
|
| 4770 |
%</APAendfloat> |
| 4771 |
% \end{macrocode} |
| 4772 |
%\end{macro} |
| 4773 |
% |
| 4774 |
% |
| 4775 |
%\Finale |