| 1 |
%% |
| 2 |
%% This is file `./pseudoTeX/apa6.ptex', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% apa6.dtx (with options: `ptex') |
| 8 |
%% ---------------------------------------------------------------------- |
| 9 |
%% |
| 10 |
%% apa6 - A LaTeX class for formatting documents in compliance with the |
| 11 |
%% American Psychological Association's Publication Manual, 6th edition |
| 12 |
%% |
| 13 |
%% Copyright (C) 2011-2023 by Brian D. Beitzel <brian at beitzel.com> |
| 14 |
%% |
| 15 |
%% This work may be distributed and/or modified under the |
| 16 |
%% conditions of the LaTeX Project Public License (LPPL), either |
| 17 |
%% version 1.3c of this license or (at your option) any later |
| 18 |
%% version. The latest version of this license is in the file: |
| 19 |
%% |
| 20 |
%% http://www.latex-project.org/lppl.txt |
| 21 |
%% |
| 22 |
%% Users may freely modify these files without permission, as long as the |
| 23 |
%% copyright line and this statement are maintained intact. |
| 24 |
%% |
| 25 |
%% This work is not endorsed by, affiliated with, or probably even known |
| 26 |
%% by, the American Psychological Association. |
| 27 |
%% |
| 28 |
%% ---------------------------------------------------------------------- |
| 29 |
%% |
| 30 |
|
| 31 |
%% pseudo {apa6} |
| 32 |
%% Copyright (C) 2001-2011 Chikrii Softlab. |
| 33 |
%% All rights reserved. |
| 34 |
%% http://www.chikrii.com |
| 35 |
%% mailto: [email protected] |
| 36 |
%% License: You are allowed to create your own translators based |
| 37 |
%% on the contents of this file solely for use with TeX2Word. |
| 38 |
%% Chikrii Softlab is not responsible for any damages caused by the |
| 39 |
%% use of this file or derived works. |
| 40 |
%% |
| 41 |
%% Modified by Brian Beitzel for the 'apa6' class |
| 42 |
%% Distributed with permission from Chikrii Softlab |
| 43 |
|
| 44 |
\DeclareOption{mask}{\def\apaSix@maskauthoridentity{\relax}} |
| 45 |
|
| 46 |
\ProcessOptions\relax |
| 47 |
|
| 48 |
\newenvironment{abstract}{\section*{\abstractname}}{\relax} |
| 49 |
|
| 50 |
\newenvironment{titlepage}{\relax}{\relax} |
| 51 |
\newcommand\appendix{\par |
| 52 |
\setcounter{section}{0}% |
| 53 |
\setcounter{subsection}{0}% |
| 54 |
\gdef\thesection{\@Alph\c@section}} |
| 55 |
\renewcommand\theequation{\@arabic\c@equation} |
| 56 |
\renewcommand\thefigure{\@arabic\c@figure} |
| 57 |
\renewcommand\thetable{\@arabic\c@table} |
| 58 |
|
| 59 |
\newcommand\tableofcontents{\section*{\contentsname}\entity@toc@placeholder} |
| 60 |
\newcommand\listoffigures{\section*{\listfigurename}} |
| 61 |
\newcommand\listoftables{\section*{\listtablename}} |
| 62 |
|
| 63 |
\newenvironment{theindex}{\relax}{\relax} |
| 64 |
\newcommand\contentsname{Contents} |
| 65 |
\newcommand\listfigurename{List of Figures} |
| 66 |
\newcommand\listtablename{List of Tables} |
| 67 |
\newcommand\refname{References} |
| 68 |
\newcommand\indexname{Index} |
| 69 |
\newcommand\figurename{Figure} |
| 70 |
\newcommand\tablename{Table} |
| 71 |
\newcommand\partname{Part} |
| 72 |
\newcommand\appendixname{Appendix} |
| 73 |
\newcommand\abstractname{Abstract} |
| 74 |
\def\today{\ifcase\month\or |
| 75 |
January\or February\or March\or April\or May\or June\or |
| 76 |
July\or August\or September\or October\or November\or December\fi |
| 77 |
\space\number\day, \number\year} |
| 78 |
|
| 79 |
\def\shorttitle#1{\gdef\@shorttitle{#1}\relax} |
| 80 |
\def\leftheader#1{\gdef\@leftheader{#1}\relax} |
| 81 |
\long\def\abstract#1{\gdef\@abstract{#1}\relax} |
| 82 |
\long\def\keywords#1{\gdef\@keywords{#1}\relax} |
| 83 |
\long\def\authornote#1{\gdef\@authornote{#1}\relax} |
| 84 |
\long\def\note#1{\gdef\@note{#1}\relax} |
| 85 |
|
| 86 |
\long\def\cmidrule#1{\gdef\@cmidrule{#1}} |
| 87 |
|
| 88 |
\newcommand{\tabfnm}[1]{\textsuperscript{#1}} |
| 89 |
\newcommand{\tabfnt}[1]{\textsuperscript{#1}} |
| 90 |
\newcommand{\tnote}[1]{\textsuperscript{#1}} |
| 91 |
|
| 92 |
\newcommand\table[1][tbp]{% |
| 93 |
\begingroup% |
| 94 |
\entity@paragraph@first=0% |
| 95 |
\let\caption=\tab@caption} |
| 96 |
\def\endtable{\par\endgroup} |
| 97 |
|
| 98 |
\@namedef{caption*}#1{\entity@paragraph@new\entity@paragraph@just=1\relax% |
| 99 |
{\normalsize\rm{#1}\par}} |
| 100 |
\newcommand{\tab@caption}[2][?]{\refstepcounter{table}\entity@paragraph@new\relax% |
| 101 |
{\entity@paragraph@first=0\normalsize\rm{\tablename~\thetable\par{\it #2}\par}}% |
| 102 |
} |
| 103 |
\newcommand{\fig@caption}[2][?]{\refstepcounter{figure}\entity@paragraph@new\relax% |
| 104 |
{\entity@paragraph@first=0\normalsize\rm{{\it \figurename~\thefigure.}\space{#2}\par}}% |
| 105 |
} |
| 106 |
|
| 107 |
\newcommand\@secdef@nonum[7]{% |
| 108 |
\begingroup% |
| 109 |
\entity@paragraph@style=#1% |
| 110 |
\entity@paragraph@span@font=0% |
| 111 |
\entity@paragraph@just=#2% |
| 112 |
\entity@paragraph@spacebefore=#3% |
| 113 |
\entity@paragraph@spaceafter=#4% |
| 114 |
\entity@paragraph@keepwithnext=1% |
| 115 |
\entity@paragraph@linespacingmultiple=1% |
| 116 |
\entity@paragraph@spacebetween=480% |
| 117 |
\entity@paragraph@sbasedon=0\entity@paragraph@snext=0% |
| 118 |
\relax #5\relax% |
| 119 |
\stylesheet@style#1=#7; aka Heading #1;% |
| 120 |
\endgroup% |
| 121 |
\@namedef{#6}{% |
| 122 |
\def\@sec@hook@setstyle{\entity@paragraph@style=#1\relax}% |
| 123 |
\def\@sec@hook@refstepcounter{\relax}% |
| 124 |
\def\@sec@hook@prefix{\relax}% |
| 125 |
\@sec@hook}} |
| 126 |
|
| 127 |
\def\@sec@hook@paragraphlevel{% |
| 128 |
\entity@paragraph@new% |
| 129 |
\entity@paragraph@linespacingmultiple=1% |
| 130 |
\entity@paragraph@spacebetween=480% |
| 131 |
\@@sec@hook@paragraphlevel} |
| 132 |
\def\@@sec@hook@paragraphlevel{% |
| 133 |
\@ifnextchar*{\@@@sec@hook@paragraphlevel}{\@@@@sec@hook@paragraphlevel}} |
| 134 |
\def\@@@sec@hook@paragraphlevel*#1{% |
| 135 |
{\@sec@hook@setstyle{#1}\entity@paragraph@new}} |
| 136 |
\def\@@@@sec@hook@paragraphlevel{% |
| 137 |
\@ifnextchar[{\@@@@@sec@hook@paragraphlevel}{\@@@@@@sec@hook@paragraphlevel}} |
| 138 |
\def\@@@@@sec@hook@paragraphlevel[#1]#2{% |
| 139 |
{\@sec@hook@setstyle\@sec@hook@refstepcounter\@sec@hook@prefix{#2}.}} |
| 140 |
\def\@@@@@@sec@hook@paragraphlevel#1{% |
| 141 |
{\@sec@hook@setstyle\@sec@hook@refstepcounter\@sec@hook@prefix{#1}.}} |
| 142 |
|
| 143 |
\newcommand\@secdef@nonum@paragraphlevel[7]{% |
| 144 |
\begingroup% |
| 145 |
\entity@paragraph@style=#1% |
| 146 |
\entity@paragraph@just=1% |
| 147 |
\entity@paragraph@span@font=0% |
| 148 |
\entity@paragraph@sbasedon=0\entity@paragraph@snext=0% |
| 149 |
\relax #5\relax% |
| 150 |
\stylesheet@style#1=#7; aka Normal;% |
| 151 |
\endgroup% |
| 152 |
\@namedef{#6}{% |
| 153 |
\def\@sec@hook@setstyle{\entity@paragraph@style=#1\relax}% |
| 154 |
\def\@sec@hook@refstepcounter{\relax}% |
| 155 |
\def\@sec@hook@prefix{\relax}% |
| 156 |
\@sec@hook@paragraphlevel}} |
| 157 |
|
| 158 |
\@secdef@nonum{1}{3}{0}{0}{\normalsize\rm\bf}{section}{Section} |
| 159 |
\@secdef@nonum{2}{1}{0}{0}{\normalsize\rm\bf}{subsection}{Subsection} |
| 160 |
\@addtoreset{subsection}{section} |
| 161 |
\@secdef@nonum@paragraphlevel{3}{1}{0}{0}{\normalsize\rm\bf}{subsubsection}{Subsubsection} |
| 162 |
\@addtoreset{subsubsection}{subsection} |
| 163 |
\@secdef@nonum@paragraphlevel{4}{1}{0}{0}{\normalsize\rm\bf\it}{paragraph}{Paragraph} |
| 164 |
\@addtoreset{paragraph}{subsubsection} |
| 165 |
\@secdef@nonum@paragraphlevel{5}{1}{0}{0}{\normalsize\rm\it}{subparagraph}{Subparagraph} |
| 166 |
\@addtoreset{subparagraph}{paragraph} |
| 167 |
|
| 168 |
\newcommand\DeclareLanguageMapping[2]{} |
| 169 |
\newcommand\addbibresource[1]{} |
| 170 |
\newcommand\printbibliography{} |
| 171 |
|
| 172 |
\def\specialComma{,} |
| 173 |
\def\specialSemicolon{;} |
| 174 |
|
| 175 |
\catcode`\^^G=12 |
| 176 |
\newcommand*{\doachar}[1]{% |
| 177 |
\if#1\specialComma\specialSemicolon\else#1\fi%% |
| 178 |
} |
| 179 |
\newcommand*{\makeCommaIntoSemicolon}[1]{% |
| 180 |
\def\stuff{#1}\ifx\stuff\@empty\else\@llchars#1^^G\fi} |
| 181 |
\def\@llchars#1#2^^G{% |
| 182 |
\def\letter{#1}\def\others{#2}% |
| 183 |
\ifx\letter\@empty\let\next\@gobble% |
| 184 |
\else% |
| 185 |
\doachar{#1}% |
| 186 |
\ifx\others\@empty \let\next\@gobble% |
| 187 |
\else \let\next\@llchars \fi% |
| 188 |
\fi% |
| 189 |
\next#2^^G} |
| 190 |
\catcode`\^^G=15 |
| 191 |
|
| 192 |
\def\parencite{% |
| 193 |
\@ifnextchar[% |
| 194 |
{\@parencite}% |
| 195 |
{\@parencite[]}% |
| 196 |
} |
| 197 |
\def\@parencite[#1]{% |
| 198 |
\@ifnextchar[% |
| 199 |
{\@@parencite[#1]}% |
| 200 |
{\@@parencite[#1][]}% |
| 201 |
} |
| 202 |
\def\@@parencite[#1][#2]#3{% |
| 203 |
\makeatletter% |
| 204 |
{\{{{#1}\textbackslash}{\makeCommaIntoSemicolon{#3}}@{#2}\}}% |
| 205 |
\makeatother% |
| 206 |
} |
| 207 |
|
| 208 |
\let\Parencite=\parencite |
| 209 |
\let\citep=\parencite |
| 210 |
\let\Citep=\parencite |
| 211 |
\let\citeyear=\parencite |
| 212 |
\let\citeyearpar=\parencite |
| 213 |
|
| 214 |
\def\textcite{% |
| 215 |
\@ifnextchar[% |
| 216 |
{\@textcite}% |
| 217 |
{\@textcite[]}% |
| 218 |
} |
| 219 |
\def\@textcite[#1]{% |
| 220 |
\@ifnextchar[% |
| 221 |
{\@@textcite[#1]}% |
| 222 |
{\@@textcite[#1][]}% |
| 223 |
} |
| 224 |
\def\@@textcite[#1][#2]#3{% |
| 225 |
\makeatletter% |
| 226 |
{\{ , , \makeCommaIntoSemicolon{#3}@{#2}@author-year\}}% |
| 227 |
\makeatother% |
| 228 |
} |
| 229 |
\let\Textcite=\textcite |
| 230 |
|
| 231 |
\let\citet=\textcite |
| 232 |
\let\Citet=\textcite |
| 233 |
|
| 234 |
\let\citeA=\textcite |
| 235 |
|
| 236 |
\let\citeauthor=\textcite |
| 237 |
\let\Citeauthor=\textcite |
| 238 |
|
| 239 |
\let\citeyearNP=\textcite |
| 240 |
\let\citeNP=\textcite |
| 241 |
|
| 242 |
\@ifundefined{apaSix@maskauthoridentity}{% change masked references to unmasked |
| 243 |
|
| 244 |
% \maskcite |
| 245 |
\let\maskcite=\parencite |
| 246 |
|
| 247 |
\let\maskparencite=\maskcite |
| 248 |
\let\maskParencite=\maskparencite |
| 249 |
\let\maskcitep=\maskparencite |
| 250 |
\let\maskCitep=\maskparencite |
| 251 |
\let\maskciteyear=\maskparencite |
| 252 |
\let\maskciteyearpar=\maskparencite |
| 253 |
\let\masktextcite=\maskparencite |
| 254 |
\let\maskTextcite=\maskparencite |
| 255 |
\let\maskcitet=\maskparencite |
| 256 |
\let\maskCitet=\maskparencite |
| 257 |
\let\maskciteA=\maskparencite |
| 258 |
\let\maskciteauthor=\maskparencite |
| 259 |
\let\maskCiteauthor=\maskparencite |
| 260 |
\let\maskciteyearNP=\maskparencite |
| 261 |
\let\maskciteNP=\maskparencite |
| 262 |
|
| 263 |
}{% mask references to author |
| 264 |
|
| 265 |
% \maskcite |
| 266 |
\newcommand\maskcite{\@ifnextchar[{\maskcite@@also}{\maskcite@@also[]}} |
| 267 |
\newcommand\maskcite@@also{} |
| 268 |
\def\maskcite@@also[#1]{\@ifnextchar[{\maskcite@@@also[#1]}{\maskcite@@@also[][#1]}} |
| 269 |
|
| 270 |
\def\maskcite@@@also% |
| 271 |
[#1][#2]#3{% |
| 272 |
\def\apaSix@masked@refs{\it (citation(s) removed for masked review)}% |
| 273 |
{\apaSix@masked@refs}% |
| 274 |
} |
| 275 |
|
| 276 |
\let\maskparencite=\maskcite |
| 277 |
\let\maskParencite=\maskparencite |
| 278 |
\let\maskcitep=\maskparencite |
| 279 |
\let\maskCitep=\maskparencite |
| 280 |
\let\maskciteyear=\maskparencite |
| 281 |
\let\maskciteyearpar=\maskparencite |
| 282 |
|
| 283 |
\let\masktextcite=\maskparencite |
| 284 |
\let\maskTextcite=\maskparencite |
| 285 |
\let\maskcitet=\maskparencite |
| 286 |
\let\maskCitet=\maskparencite |
| 287 |
\let\maskciteA=\maskparencite |
| 288 |
\let\maskciteauthor=\maskparencite |
| 289 |
\let\maskCiteauthor=\maskparencite |
| 290 |
\let\maskciteyearNP=\maskparencite |
| 291 |
\let\maskciteNP=\maskparencite |
| 292 |
|
| 293 |
} |
| 294 |
|
| 295 |
\long\def\maketitle{\entity@paragraph@new\begingroup\entity@paragraph@just=1\relax% |
| 296 |
{\raggedright\entity@paragraph@first=0\entity@paragraph@linespacingmultiple=0\entity@paragraph@spacebetween=240% |
| 297 |
{\bf INSTRUCTIONS:}\par\entity@paragraph@first=0% |
| 298 |
\begin{enumerate}% |
| 299 |
\item Insert page numbers (non-italic) in top right corner\par% |
| 300 |
\item Insert the following text on the left-hand side of the page header:\par% |
| 301 |
\begin{itemize}% |
| 302 |
\item Running head: \MakeUppercase{\@shorttitle}\par% |
| 303 |
\end{itemize}% |
| 304 |
\item Adjust the vertical spacing on this title page to look appealing% |
| 305 |
\item Verify formatting accuracy of bibliographic entries and References list% |
| 306 |
\item Move each table and figure to its appropriate place at the end of the document% |
| 307 |
\begin{itemize}% |
| 308 |
\item {\it Note:} Captions are already formatted properly (above tables, below figures) |
| 309 |
\end{itemize}% |
| 310 |
\item Format tables |
| 311 |
\begin{itemize}% |
| 312 |
\item {\it Hint:} Start by showing all borders, left-align, and make 100\% wide |
| 313 |
\item See the .pdf version of the \LaTeX\ file to see how the table should look |
| 314 |
\end{itemize}% |
| 315 |
\item The final pages must appear in this order:% |
| 316 |
\begin{enumerate}% |
| 317 |
\item References |
| 318 |
\item Tables |
| 319 |
\item Figures |
| 320 |
\item Appendices |
| 321 |
\end{enumerate}% |
| 322 |
\item Delete these instructions!% |
| 323 |
\end{enumerate}}% |
| 324 |
\@ifundefined{apaSix@maskauthoridentity}{% |
| 325 |
{\par\centering\entity@paragraph@first=0{\newline}\par}% |
| 326 |
{\centering\entity@paragraph@first=0% |
| 327 |
{\@title}\newline% |
| 328 |
{\@author}\newline% |
| 329 |
{\@affiliation}% |
| 330 |
\newline{\@note}% |
| 331 |
\par% |
| 332 |
{% |
| 333 |
\@ifundefined{\@authornote}{}{% |
| 334 |
\par\entity@paragraph@first=0% |
| 335 |
\newline\newline\newline% |
| 336 |
{Author Note\par\par}% |
| 337 |
}% |
| 338 |
}% |
| 339 |
}% |
| 340 |
\@ifundefined{\@authornote}{}{% |
| 341 |
{\entity@paragraph@first=720\@authornote}% |
| 342 |
} |
| 343 |
}{% |
| 344 |
{\par\centering\entity@paragraph@first=0{\newline}\par}% |
| 345 |
{\centering\entity@paragraph@first=0% |
| 346 |
{\@title}\newline% |
| 347 |
\newline{\@note}% |
| 348 |
\par% |
| 349 |
}% |
| 350 |
{\entity@paragraph@first=720\par} |
| 351 |
}% |
| 352 |
\newpage% |
| 353 |
{\centering\entity@paragraph@first=0{Abstract\par\par}}% |
| 354 |
{\entity@paragraph@first=0\@abstract\par}% |
| 355 |
{\entity@paragraph@first=720{\it Keywords:} \@keywords}% |
| 356 |
\newpage% |
| 357 |
{\entity@paragraph@new\begingroup\entity@paragraph@just=3\entity@paragraph@first=0\relax% |
| 358 |
{\@title}% |
| 359 |
\par\endgroup% |
| 360 |
}% |
| 361 |
\entity@paragraph@first=720% |
| 362 |
\endgroup} |
| 363 |
|
| 364 |
\entity@paragraph@just=1 |
| 365 |
\entity@paragraph@first=720% |
| 366 |
\entity@paragraph@linespacingmultiple=1% |
| 367 |
\entity@paragraph@spacebetween=480% |
| 368 |
\stylesheet@style8=Normal; aka Normal;% |
| 369 |
|
| 370 |
\ProcessOptions |
| 371 |
|
| 372 |
\api@lockfile apa6 |
| 373 |
|
| 374 |
\@@endinput |
| 375 |
|
| 376 |
|
| 377 |
%% |
| 378 |
%% Copyright (C) 2011-2023 by Brian D. Beitzel <brian at beitzel.com> |
| 379 |
%% |
| 380 |
%% This work may be distributed and/or modified under the |
| 381 |
%% conditions of the LaTeX Project Public License (LPPL), either |
| 382 |
%% version 1.3c of this license or (at your option) any later |
| 383 |
%% version. The latest version of this license is in the file: |
| 384 |
%% |
| 385 |
%% http://www.latex-project.org/lppl.txt |
| 386 |
%% |
| 387 |
%% Users may freely modify these files without permission, as long as the |
| 388 |
%% copyright line and this statement are maintained intact. |
| 389 |
%% |
| 390 |
%% This work is not endorsed by, affiliated with, or probably even known |
| 391 |
%% by, the American Psychological Association. |
| 392 |
%% |
| 393 |
%% This work is "maintained" (as per LPPL maintenance status) by |
| 394 |
%% Brian D. Beitzel. |
| 395 |
%% |
| 396 |
%% This work consists of the file apa6.dtx |
| 397 |
%% and the derived files apa6.ins, |
| 398 |
%% apa6.cls, |
| 399 |
%% apa6.pdf, |
| 400 |
%% README, |
| 401 |
%% APAamerican.txt, |
| 402 |
%% APAbritish.txt, |
| 403 |
%% APAdutch.txt, |
| 404 |
%% APAenglish.txt, |
| 405 |
%% APAgerman.txt, |
| 406 |
%% APAngerman.txt, |
| 407 |
%% APAgreek.txt, |
| 408 |
%% APAczech.txt, |
| 409 |
%% APAturkish.txt, |
| 410 |
%% APAendfloat.cfg, |
| 411 |
%% apa6.ptex, |
| 412 |
%% TeX2WordForapa6.bas, |
| 413 |
%% Figure1.pdf, |
| 414 |
%% shortsample.tex, |
| 415 |
%% longsample.tex, and |
| 416 |
%% bibliography.bib. |
| 417 |
%% |
| 418 |
%% |
| 419 |
%% End of file `./pseudoTeX/apa6.ptex'. |