diff options
author | Karl Berry <karl@freefriends.org> | 2011-11-28 23:54:32 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-11-28 23:54:32 +0000 |
commit | ec1850934776a8b813fb4abed29480666a252ead (patch) | |
tree | 219d624b3f56678274cda4da30c6ea1c98fdc2e7 /Master/texmf-dist/tex/latex/apa6 | |
parent | 463fd919920032de4e274499ddce84791bfc914a (diff) |
new latex package apa6 (25nov11)
git-svn-id: svn://tug.org/texlive/trunk@24685 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/apa6')
-rw-r--r-- | Master/texmf-dist/tex/latex/apa6/apa6.cls | 2142 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/apa6/config/APAamerican.txt | 72 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/apa6/config/APAdutch.txt | 72 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/apa6/config/APAendfloat.cfg | 149 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/apa6/config/APAenglish.txt | 72 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/apa6/config/APAgreek.txt | 72 |
6 files changed, 2579 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/apa6/apa6.cls b/Master/texmf-dist/tex/latex/apa6/apa6.cls new file mode 100644 index 00000000000..f93b34e060b --- /dev/null +++ b/Master/texmf-dist/tex/latex/apa6/apa6.cls @@ -0,0 +1,2142 @@ +%% +%% This is file `apa6.cls', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% apa6.dtx (with options: `class') +%% ---------------------------------------------------------------------- +%% +%% apa6 - A LaTeX class for formatting documents in compliance with the +%% American Psychological Association's Publication Manual, 6th edition +%% +%% Copyright (C) 2011 by Brian D. Beitzel <brian at beitzel.com> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License (LPPL), either +%% version 1.3c of this license or (at your option) any later +%% version. The latest version of this license is in the file: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% Users may freely modify these files without permission, as long as the +%% copyright line and this statement are maintained intact. +%% +%% This work is not endorsed by, affiliated with, or probably even known +%% by, the American Psychological Association. +%% +%% ---------------------------------------------------------------------- +%% +\ProvidesClass{apa6}[2011/11/28 v1.01 APA formatting (6th edition)] +\NeedsTeXFormat{LaTeX2e} + +\DeclareOption{man}{% + \def\def@man{\@manmode} +} + +\DeclareOption{jou}{% + \def\def@jou{\@joumode} +} + +\DeclareOption{doc}{% + \def\def@doc{\@docmode} +} + +\DeclareOption{babel}{% + \def\def@babel{\@babel} +} + +\DeclareOption{notimes}{% + \@ifundefined{def@jou}{}{\def\def@notimes{\@notimes}} +} + +\DeclareOption{notxfonts}{% -- thp 2005/07/23 + \@ifundefined{def@jou}{}{\def\def@notxfonts{\@notxfonts}} +} + +\DeclareOption{nosf}{% + \@ifundefined{def@man}{}{\def\def@nosf{\@nosf}} +} + +\DeclareOption{fignum}{% + \@ifundefined{def@man}{}{\def\fig@num{\relax}} +} + +\DeclareOption{floatmark}{% + \@ifundefined{def@man}{}{\def\float@mark{\relax}} +} + +\DeclareOption{longtable}{% + \def\long@table{\relax} +} + +\DeclareOption{tt}{% + \@ifundefined{def@man}{}{\def\tt@family{\relax}} +} + +\DeclareOption{helv}{% + \@ifundefined{def@man}{}{\def\helv@family{\relax}} +} + +\DeclareOption{notab}{\def\no@tab{\relax}} + +\DeclareOption{nobf}{\def\no@bf@title{\relax}} + + +\DeclareOption{floatsintext}{% + \def\def@floatsintext{\@floatsintext} +} + +\DeclareOption{apacite}{% BDB + \def\def@apacite{\@apacitemode} +} + +\DeclareOption{natbib}{% BDB + \def\def@natbib{\@natbibmode} +} + +\DeclareOption{biblatex}{% BDB + \def\def@biblatex{\@biblatexmode} +} + +\DeclareOption{draftfirst}{% BDB + \def\def@draftfirst{\@draftfirstmode} +} + +\DeclareOption{draftall}{% BDB + \def\def@draftall{\@draftallmode} +} + +\DeclareOption{mask}{\def\apaSix@maskauthoridentity{\relax}} % BDB + +\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} + +\ProcessOptions\relax + +\@ifundefined{def@man}{% + \@ifundefined{def@jou}{% + \@ifundefined{def@doc}{% + }{% doc + \LoadClass[11pt]{article} + } + }{% jou + \LoadClass[11pt,twoside]{article} + } +}{% man + \LoadClass[12pt]{article} +} + +\@ifundefined{def@man}{% + \@ifundefined{def@doc}{% + \@ifundefined{def@jou}{% + \def\def@doc{\@joumode} + \ClassWarningNoLine{apa6}{Using default mode (jou)} + }{} + }{} +}{} + +\@ifundefined{def@apacite}{% + \@ifundefined{def@natbib}{% + \@ifundefined{def@biblatex}{% + \def\def@biblatex{\@biblatexmode}% the default bibliography package is biblatex + \RequirePackage{etoolbox} + \AtEndPreamble{% + \@ifpackageloaded{biblatex}{% the user has loaded biblatex + \@ifundefined{def@man}{% + \defbibheading{bibliography}{\section*{\normalfont\refname}}% + }{% + \defbibheading{bibliography}{\section*{\newpage\normalfont\refname}}% + } + }{} + } + \ClassWarningNoLine{apa6}{No bibliography package was specified; defaulting to (but not loading) Biblatex} + }{% + \def\def@biblatex{\@biblatexmode}% the selected bibliography package is Biblatex + \RequirePackage[style=apa,sortcites=true,sorting=nyt]{biblatex} + \@ifundefined{def@man}{% + \defbibheading{bibliography}{\section*{\normalfont\refname}}% + }{% + \defbibheading{bibliography}{\section*{\newpage\normalfont\refname}}% + } + \ClassWarningNoLine{apa6}{The selected bibliography package, biblatex, has been loaded} + } + }{% + \def\def@natbib{\@natbibmode}% the selected bibliography package is natbib (with apacite) + \@ifundefined{def@man}{% -- thp 2005/07/23 + \RequirePackage{apacite}[2005/06/08]} + {\RequirePackage[bibnewpage]{apacite}[2005/06/08]} + \ClassWarningNoLine{apa6}{The selected bibliography package, natbib, must be loaded in the preamble; apacite has been loaded} + } +}{% + \def\def@apacite{\@apacitemode}% the selected bibliography package is apacite + \@ifundefined{def@man}{% -- thp 2005/07/23 + \RequirePackage{apacite}[2005/06/08]} + {\RequirePackage[bibnewpage]{apacite}[2005/06/08]} + \ClassWarningNoLine{apa6}{The selected bibliography package, apacite, has been loaded} +} + +\@ifundefined{def@draftall}{% + \@ifundefined{def@draftfirst}{}{% + \RequirePackage[firstpage]{draftwatermark} + \SetWatermarkText{DRAFT} + } +}{% + \RequirePackage{draftwatermark} + \SetWatermarkText{DRAFT} +} + + + +\long\def\ifapamodeman#1#2{\@ifundefined{def@man}{#2}{#1}} +\long\def\ifapamodejou#1#2{\@ifundefined{def@jou}{#2}{#1}} +\long\def\ifapamodedoc#1#2{\@ifundefined{def@doc}{#2}{#1}} +\long\def\ifapamode#1#2#3{% + \@ifundefined{def@man}{% + \@ifundefined{def@jou}{% + \@ifundefined{def@doc}{\ClassError{apa6}{Undefined mode state!}}{#3}% + }{#2}% + }{#1}% +} + +\@ifundefined{def@man}{}{% +\@ifundefined{long@table}{}{% + \RequirePackage{array} + \RequirePackage{longtable} +\def\LT@makecaption#1#2#3{% + \LT@mcol\LT@cols c{\hbox to\z@{\hss\parbox{\linewidth}{% + \vskip 10pt% + #1{#2}% + \let\BBAB\table@BBAB% -- thp 2005/07/23 + \par\emph{#3}% + \let\BBAB\normal@BBAB% -- thp 2005/07/23 + \endgraf\vskip\baselineskip}% + \hss}}} +}% END of loading longtable +\@ifundefined{tt@family}{}{% + \DeclareFontShape{OT1}{cmtt}{bx}{n}{ <-> cmssbx10 }{} % probably not the + \DeclareFontShape{OT1}{cmtt}{bx}{it}{ <-> cmssbxo10}{} % right way to do it + \renewcommand{\familydefault}{cmtt} + } +\@ifundefined{helv@family}{}{% + \renewcommand{\familydefault}{phv}} +} + +\@ifundefined{def@jou}{}{% + \@ifundefined{def@notimes}{% + \newif\iftxfonts % -- thp 2005/07/23 + \txfontsfalse % added checks for txfonts because they may be undesirable + % for example, there are no Greek txfonts but there are times + \IfFileExists{txfonts.sty}{\@ifundefined{def@notxfonts}{\txfontstrue}{}}{} + \iftxfonts% + \RequirePackage{txfonts}% + \typeout{apa6.cls: Using txfonts}% Changed from Warning -- thp 2005/12/28 + %%% + % According to Erik Meijer, txfonts causes problems if amsmath is loaded later + % (i.e., via \usepackage by the user); instead of providing yet another option + % to load amsmath by apa.cls, we adopt Erik's suggestion to undefine temporarily + % the offending macros -- thp 2005/12/28 + \let\tempiint\iint\let\iint\undefined + \let\tempiiint\iiint\let\iiint\undefined + \let\tempiiiint\iiiint\let\iiiint\undefined + \let\tempidotsint\idotsint\let\idotsint\undefined + \let\tempopenbox\openbox\let\openbox\undefined + \AtBeginDocument{% + \let\iint\tempiint\let\tempiint\undefined + \let\iiint\tempiiint\let\tempiiint\undefined + \let\iiiint\tempiiiint\let\tempiiiint\undefined + \let\idotsint\tempidotsint\let\tempidotsint\undefined + \let\openbox\tempopenbox\let\tempopenbox\undefined + } + %%% end of taking care of txfonts problems + \else% + % if txfonts are not available/desirable, try pslatextimes/mathptm + \IfFileExists{pslatex.sty} + {\RequirePackage{pslatex}} + % if pslatex is not available, try times/mathptm + {\RequirePackage{times} + \IfFileExists{mathptm.sty}{\RequirePackage{mathptm}}{}}% + \fi% txfonts not available/desirable + }{}% def@notimes +}% def@jou + +\RequirePackage[top=1in, bottom=1in, left=1in, right=1in]{geometry} % this sets the page margins + +\RequirePackage{graphicx} % this is for including graphics + +\RequirePackage{booktabs} % this is for nice-looking tables +\setlength{\abovetopsep}{0pt} % set the distance between the table title and the table toprule +\setlength{\belowbottomsep}{0pt} % set the distance between the table bottomrule and any notes + +\RequirePackage[para,flushleft]{threeparttable} % this is for nice-looking table footnotes, etc. +\@ifundefined{def@man}{% BDB + \def\TPT@doparanotes{\par\vspace{-.5\baselineskip}% BDB + \prevdepth\z@ \TPT@hsize + \TPTnoteSettings + \parindent\z@ \pretolerance 8 + \linepenalty 200 + \renewcommand\item[1][]{\relax\ifhmode \begingroup + \unskip + \advance\hsize 10em % \hsize is scratch register, based on real hsize + \penalty -45 \hskip\z@\@plus\hsize \penalty-19 + \hskip .15\hsize \penalty 9999 \hskip-.15\hsize + \hskip .01\hsize\@plus-\hsize\@minus.01\hsize + \hskip 1em\@plus .3em + \endgroup\fi + \tnote{##1}\,\ignorespaces}% + \let\TPToverlap\relax + \def\endtablenotes{\par}% + } +}{% + \def\TPT@doparanotes{\par\vspace{-.5\baselineskip}% BDB + \prevdepth\z@ \TPT@hsize + \TPTnoteSettings + \raggedright + \parindent\z@ \pretolerance 8 + \linepenalty 200 + \renewcommand\item[1][]{\relax\ifhmode \begingroup + \unskip + \advance\hsize 10em % \hsize is scratch register, based on real hsize + \penalty -45 \hskip\z@\@plus\hsize \penalty-19 + \hskip .15\hsize \penalty 9999 \hskip-.15\hsize + \hskip .01\hsize\@plus-\hsize\@minus.01\hsize + \hskip 1em\@plus .3em + \endgroup\fi + \tnote{##1}\,\ignorespaces}% + \let\TPToverlap\relax + \def\endtablenotes{\par}% + } +} + + + +\def\rheadname{Running head:} +\def\acksname{Author Note} +\def\notesname{Footnotes} + +\AtBeginDocument{% so that we know what language is active in babel + + % Unfortunately, because babel is built into the format + % in modern distributions, \iflanguage is defined and + % \languagename contains whichever language happens to be + % last in the definition list, whether or not the babel + % package is loaded by the current document + + \@ifundefined{def@babel}% this is defined only if the user requested loading babel + {\def\@apaSix@langfile{config/APAamerican.txt}} + {\def\@apaSix@langfile{config/APA\languagename.txt}} + \InputIfFileExists{\@apaSix@langfile}{}{% + \ClassWarningNoLine{apa6}{Language definition file \@apaSix@langfile\space not found} + }% +} + + +\@ifundefined{def@babel}{}{% -- thp 2005/07/23 + \RequirePackage{babel} % -- thp 2005/07/23, removed options 2005/12/28 +} + + + +\@ifundefined{def@biblatex}{% BDB + + \@ifundefined{def@natbib}{% + \@ifundefined{def@apacite}{}{% + % we are using apacite (but not natbib) + + %%%%%%%%%%%% apacite commands %%%%%%%%%%%%%%%%% + %% + %% \cite<e.g.,>[p.~11]{vanDijk2001,Ross1987} => (e.g., van Dijk, 2001; Ross, 1987, p. 11) + %% \citeNP<e.g.,>[p.~11]{vanDijk2001,Ross1987} => e.g., van Dijk, 2001; Ross, 1987, p. 11 + %% \citeA<e.g.,>[p.~11]{vanDijk2001,Ross1987} => e.g., van Dijk (2001); Ross (1987, p. 11) + %% \citeauthor<e.g.,>[p.~11]{vanDijk2001,Ross1987} => e.g., van Dijk; Ross, p. 11 + %% \citeyear<e.g.,>[p.~11]{vanDijk2001,Ross1987} => (e.g., 2001; 1987, p. 11) + %% \citeyearNP<e.g.,>[p.~11]{vanDijk2001,Ross1987} => e.g., 2001; 1987, p. 11 + %% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + \@ifundefined{apaSix@maskauthoridentity}% BDB + {% change masked references to unmasked + \providecommand\maskcite\cite + \providecommand\maskciteNP\citeNP + \providecommand\maskciteA\citeA + \providecommand\maskciteauthor\citeauthor + \providecommand\maskciteyear\citeyear + \providecommand\maskciteyearNP\citeyearNP + }{% mask references to author + + \RequirePackage{substr} % to allow counting of masked references + \newcounter{maskedRefs} + + % \maskcite + \newcommand\maskcite{\@ifnextchar<{\maskcite@@also}{\maskcite@@also[]}} + \newcommand\maskcite@@also{} + \def\maskcite@@also[#1]{\@ifnextchar<{\maskcite@@@also[#1]}{\maskcite@@@also[][#1]}} + + \def\maskcite@@@also% + [#1][#2]#3{% + \setcounter{maskedRefs}{0}% + \SubStringsToCounter{maskedRefs}{,}{#3}% + \addtocounter{maskedRefs}{1}% + \ifnum\value{maskedRefs} = 1% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citation removed for masked review})}% + \else% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citations removed for masked review})}% + \fi% + \apaSix@masked@refs% + } + + % \maskciteNP + \newcommand\maskciteNP{\@ifnextchar<{\maskciteNP@@also}{\maskciteNP@@also[]}} + \newcommand\maskciteNP@@also{} + \def\maskciteNP@@also[#1]{\@ifnextchar<{\maskciteNP@@@also[#1]}{\maskciteNP@@@also[][#1]}} + + \def\maskciteNP@@@also% + [#1][#2]#3{% + \setcounter{maskedRefs}{0}% + \SubStringsToCounter{maskedRefs}{,}{#3}% + \addtocounter{maskedRefs}{1}% + \ifnum\value{maskedRefs} = 1% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citation removed for masked review})}% + \else% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citations removed for masked review})}% + \fi% + \apaSix@masked@refs% + } + + % \maskciteA + \newcommand\maskciteA{\@ifnextchar<{\maskciteA@@also}{\maskciteA@@also[]}} + \newcommand\maskciteA@@also{} + \def\maskciteA@@also[#1]{\@ifnextchar<{\maskciteA@@@also[#1]}{\maskciteA@@@also[][#1]}} + + \def\maskciteA@@@also% + [#1][#2]#3{% + \setcounter{maskedRefs}{0}% + \SubStringsToCounter{maskedRefs}{,}{#3}% + \addtocounter{maskedRefs}{1}% + \ifnum\value{maskedRefs} = 1% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citation removed for masked review})}% + \else% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citations removed for masked review})}% + \fi% + \apaSix@masked@refs% + } + + % \maskciteauthor + \newcommand\maskciteauthor{\@ifnextchar<{\maskciteauthor@@also}{\maskciteauthor@@also[]}} + \newcommand\maskciteauthor@@also{} + \def\maskciteauthor@@also[#1]{\@ifnextchar<{\maskciteauthor@@@also[#1]}{\maskciteauthor@@@also[][#1]}} + + \def\maskciteauthor@@@also% + [#1][#2]#3{% + \setcounter{maskedRefs}{0}% + \SubStringsToCounter{maskedRefs}{,}{#3}% + \addtocounter{maskedRefs}{1}% + \ifnum\value{maskedRefs} = 1% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citation removed for masked review})}% + \else% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citations removed for masked review})}% + \fi% + \apaSix@masked@refs% + } + + % \maskciteyear + \newcommand\maskciteyear{\@ifnextchar<{\maskciteyear@@also}{\maskciteyear@@also[]}} + \newcommand\maskciteyear@@also{} + \def\maskciteyear@@also[#1]{\@ifnextchar<{\maskciteyear@@@also[#1]}{\maskciteyear@@@also[][#1]}} + + \def\maskciteyear@@@also% + [#1][#2]#3{% + \setcounter{maskedRefs}{0}% + \SubStringsToCounter{maskedRefs}{,}{#3}% + \addtocounter{maskedRefs}{1}% + \ifnum\value{maskedRefs} = 1% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citation removed for masked review})}% + \else% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citations removed for masked review})}% + \fi% + \apaSix@masked@refs% + } + + % \maskciteyearNP + \newcommand\maskciteyearNP{\@ifnextchar<{\maskciteyearNP@@also}{\maskciteyearNP@@also[]}} + \newcommand\maskciteyearNP@@also{} + \def\maskciteyearNP@@also[#1]{\@ifnextchar<{\maskciteyearNP@@@also[#1]}{\maskciteyearNP@@@also[][#1]}} + + \def\maskciteyearNP@@@also% + [#1][#2]#3{% + \setcounter{maskedRefs}{0}% + \SubStringsToCounter{maskedRefs}{,}{#3}% + \addtocounter{maskedRefs}{1}% + \ifnum\value{maskedRefs} = 1% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citation removed for masked review})}% + \else% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citations removed for masked review})}% + \fi% + \apaSix@masked@refs% + } + + } + + } + }{% + + % we are using apacite + natbib + + %%%%%%%%%%%% natbib commands %%%%%%%%%%%%%%%%%% + %% + %% \citep[e.g.,][p.~11]{vanDijk2001,Ross1987} => (e.g., van Dijk, 2001; Ross, 1987, p. 11) + %% \Citep[][p.~11]{vanDijk2001,Ross1987} => Van Dijk, 2001; Ross, 1987, p. 11) + %% \citealp[e.g.,][p.~11]{vanDijk2001,Ross1987} => e.g., van Dijk, 2001; Ross, 1987, p. 11 + %% \Citealp[][p.~11]{vanDijk2001,Ross1987} => Van Dijk, 2001; Ross, 1987, p. 11 + %% \citet[e.g.,][p.~11]{vanDijk2001,Ross1987} => e.g., van Dijk (2001); Ross (1987, p. 11) + %% \Citet[][p.~11]{vanDijk2001,Ross1987} => Van Dijk (2001); Ross (1987, p. 11) + %% \citeauthor[e.g.,][p.~11]{vanDijk2001,Ross1987} => e.g., van Dijk; Ross, p. 11 + %% \Citeauthor[e.g.,][p.~11]{vanDijk2001,Ross1987} => e.g., Van Dijk; Ross, p. 11 + %% \citeyearpar[e.g.,][p.~11]{vanDijk2001,Ross1987} => (e.g., 2001; 1987, p. 11) + %% \citeyear[e.g.,][p.~11]{vanDijk2001,Ross1987} => e.g., 2001; 1987, p. 11 + %% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + \@ifundefined{apaSix@maskauthoridentity}% BDB + {% change masked references to unmasked + \providecommand\maskcitep\citep + \providecommand\maskCitep\Citep + \providecommand\maskcitealp\citealp + \providecommand\maskCitealp\Citealp + \providecommand\maskcitet\citet + \providecommand\maskCitet\Citet + \providecommand\maskciteauthor\citeauthor + \providecommand\maskCiteauthor\Citeauthor + \providecommand\maskciteyearpar\citeyearpar + \providecommand\maskciteyear\citeyear + }{% mask references to author + + \RequirePackage{substr} % to allow counting of masked references + \newcounter{maskedRefs} + + % \maskcitep + \newcommand\maskcitep{\@ifnextchar[{\maskcitep@@also}{\maskcitep@@also[]}} + \newcommand\maskcitep@@also{} + \def\maskcitep@@also[#1]{\@ifnextchar[{\maskcitep@@@also[#1]}{\maskcitep@@@also[][#1]}} + + \def\maskcitep@@@also% + [#1][#2]#3{% + \setcounter{maskedRefs}{0}% + \SubStringsToCounter{maskedRefs}{,}{#3}% + \addtocounter{maskedRefs}{1}% + \ifnum\value{maskedRefs} = 1% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citation removed for masked review})}% + \else% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citations removed for masked review})}% + \fi% + \apaSix@masked@refs% + } + + % \maskCitep + \newcommand\maskCitep{\@ifnextchar[{\maskCitep@@also}{\maskCitep@@also[]}} + \newcommand\maskCitep@@also{} + \def\maskCitep@@also[#1]{\@ifnextchar[{\maskCitep@@@also[#1]}{\maskCitep@@@also[][#1]}} + + \def\maskCitep@@@also% + [#1][#2]#3{% + \setcounter{maskedRefs}{0}% + \SubStringsToCounter{maskedRefs}{,}{#3}% + \addtocounter{maskedRefs}{1}% + \ifnum\value{maskedRefs} = 1% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citation removed for masked review})}% + \else% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citations removed for masked review})}% + \fi% + \apaSix@masked@refs% + } + + % \maskcitealp + \newcommand\maskcitealp{\@ifnextchar[{\maskcitealp@@also}{\maskcitealp@@also[]}} + \newcommand\maskcitealp@@also{} + \def\maskcitealp@@also[#1]{\@ifnextchar[{\maskcitealp@@@also[#1]}{\maskcitealp@@@also[][#1]}} + + \def\maskcitealp@@@also% + [#1][#2]#3{% + \setcounter{maskedRefs}{0}% + \SubStringsToCounter{maskedRefs}{,}{#3}% + \addtocounter{maskedRefs}{1}% + \ifnum\value{maskedRefs} = 1% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citation removed for masked review})}% + \else% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citations removed for masked review})}% + \fi% + \apaSix@masked@refs% + } + + % \maskCitealp + \newcommand\maskCitealp{\@ifnextchar[{\maskCitealp@@also}{\maskCitealp@@also[]}} + \newcommand\maskCitealp@@also{} + \def\maskCitealp@@also[#1]{\@ifnextchar[{\maskCitealp@@@also[#1]}{\maskCitealp@@@also[][#1]}} + + \def\maskCitealp@@@also% + [#1][#2]#3{% + \setcounter{maskedRefs}{0}% + \SubStringsToCounter{maskedRefs}{,}{#3}% + \addtocounter{maskedRefs}{1}% + \ifnum\value{maskedRefs} = 1% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citation removed for masked review})}% + \else% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citations removed for masked review})}% + \fi% + \apaSix@masked@refs% + } + + % \maskcitet + \newcommand\maskcitet{\@ifnextchar[{\maskcitet@@also}{\maskcitet@@also[]}} + \newcommand\maskcitet@@also{} + \def\maskcitet@@also[#1]{\@ifnextchar[{\maskcitet@@@also[#1]}{\maskcitet@@@also[][#1]}} + + \def\maskcitet@@@also% + [#1][#2]#3{% + \setcounter{maskedRefs}{0}% + \SubStringsToCounter{maskedRefs}{,}{#3}% + \addtocounter{maskedRefs}{1}% + \ifnum\value{maskedRefs} = 1% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citation removed for masked review})}% + \else% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citations removed for masked review})}% + \fi% + \apaSix@masked@refs% + } + + % \maskCitet + \newcommand\maskCitet{\@ifnextchar[{\maskCitet@@also}{\maskCitet@@also[]}} + \newcommand\maskCitet@@also{} + \def\maskCitet@@also[#1]{\@ifnextchar[{\maskCitet@@@also[#1]}{\maskCitet@@@also[][#1]}} + + \def\maskCitet@@@also% + [#1][#2]#3{% + \setcounter{maskedRefs}{0}% + \SubStringsToCounter{maskedRefs}{,}{#3}% + \addtocounter{maskedRefs}{1}% + \ifnum\value{maskedRefs} = 1% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citation removed for masked review})}% + \else% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citations removed for masked review})}% + \fi% + \apaSix@masked@refs% + } + + % \maskciteauthor + \newcommand\maskciteauthor{\@ifnextchar[{\maskciteauthor@@also}{\maskciteauthor@@also[]}} + \newcommand\maskciteauthor@@also{} + \def\maskciteauthor@@also[#1]{\@ifnextchar[{\maskciteauthor@@@also[#1]}{\maskciteauthor@@@also[][#1]}} + + \def\maskciteauthor@@@also% + [#1][#2]#3{% + \setcounter{maskedRefs}{0}% + \SubStringsToCounter{maskedRefs}{,}{#3}% + \addtocounter{maskedRefs}{1}% + \ifnum\value{maskedRefs} = 1% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citation removed for masked review})}% + \else% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citations removed for masked review})}% + \fi% + \apaSix@masked@refs% + } + + % \maskCiteauthor + \newcommand\maskCiteauthor{\@ifnextchar[{\maskCiteauthor@@also}{\maskCiteauthor@@also[]}} + \newcommand\maskCiteauthor@@also{} + \def\maskCiteauthor@@also[#1]{\@ifnextchar[{\maskCiteauthor@@@also[#1]}{\maskCiteauthor@@@also[][#1]}} + + \def\maskCiteauthor@@@also% + [#1][#2]#3{% + \setcounter{maskedRefs}{0}% + \SubStringsToCounter{maskedRefs}{,}{#3}% + \addtocounter{maskedRefs}{1}% + \ifnum\value{maskedRefs} = 1% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citation removed for masked review})}% + \else% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citations removed for masked review})}% + \fi% + \apaSix@masked@refs% + } + + % \maskciteyearpar + \newcommand\maskciteyearpar{\@ifnextchar[{\maskciteyearpar@@also}{\maskciteyearpar@@also[]}} + \newcommand\maskciteyearpar@@also{} + \def\maskciteyearpar@@also[#1]{\@ifnextchar[{\maskciteyearpar@@@also[#1]}{\maskciteyearpar@@@also[][#1]}} + + \def\maskciteyearpar@@@also% + [#1][#2]#3{% + \setcounter{maskedRefs}{0}% + \SubStringsToCounter{maskedRefs}{,}{#3}% + \addtocounter{maskedRefs}{1}% + \ifnum\value{maskedRefs} = 1% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citation removed for masked review})}% + \else% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citations removed for masked review})}% + \fi% + \apaSix@masked@refs% + } + + % \maskciteyear + \newcommand\maskciteyear{\@ifnextchar[{\maskciteyear@@also}{\maskciteyear@@also[]}} + \newcommand\maskciteyear@@also{} + \def\maskciteyear@@also[#1]{\@ifnextchar[{\maskciteyear@@@also[#1]}{\maskciteyear@@@also[][#1]}} + + \def\maskciteyear@@@also% + [#1][#2]#3{% + \setcounter{maskedRefs}{0}% + \SubStringsToCounter{maskedRefs}{,}{#3}% + \addtocounter{maskedRefs}{1}% + \ifnum\value{maskedRefs} = 1% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citation removed for masked review})}% + \else% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citations removed for masked review})}% + \fi% + \apaSix@masked@refs% + } + + } + + } + +}{% + + % we are using biblatex + + %%%%%%%%%%%% biblatex commands %%%%%%%%%%%%%%%% + %% + %% \cite[e.g.,][p.~11]{vanDijk2001,Ross1987} => e.g., van Dijk, 2001; Ross, 1987, p. 11 + %% \Cite[e.g.,][p.~11]{vanDijk2001,Ross1987} => e.g., Van Dijk, 2001; Ross, 1987, p. 11 + %% \parencite[e.g.,][p.~11]{vanDijk2001,Ross1987} => (e.g., van Dijk, 2001; Ross, 1987, p. 11) + %% \Parencite[e.g.,][p.~11]{vanDijk2001,Ross1987} => (e.g., Van Dijk, 2001; Ross, 1987, p. 11) + %% \textcite[e.g.,][p.~11]{vanDijk2001,Ross1987} => e.g., van Dijk (2001); Ross (1987, p. 11) + %% \Textcite[e.g.,][p.~11]{vanDijk2001,Ross1987} => e.g., Van Dijk (2001); Ross (1987, p. 11) + %% \citeauthor[e.g.,][p.~11]{vanDijk2001,Ross1987} => e.g., van Dijk (2001); Ross (1987, p. 11) + %% \Citeauthor[e.g.,][p.~11]{vanDijk2001,Ross1987} => e.g., Van Dijk (2001); Ross (1987, p. 11) + %% \citeyear[e.g.,][p.~11]{vanDijk2001} => e.g., 2001, p. 11) + %% \footcite[e.g.,][p.~11]{vanDijk2001,Ross1987} => e.g., van Dijk, 2001; Ross, 1987, p. 11. [as footnote] + %% \footcitetext[e.g.,][p.~11]{vanDijk2001,Ross1987} => e.g., van Dijk, 2001; Ross, 1987, p. 11. [as footnotetext] + %% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + \@ifundefined{apaSix@maskauthoridentity}% BDB + {% change masked references to unmasked + \providecommand\maskcite\cite + \providecommand\maskCite\Cite + \providecommand\maskparencite\parencite + \providecommand\maskParencite\Parencite + \providecommand\masktextcite\textcite + \providecommand\maskTextcite\Textcite + \providecommand\maskciteauthor\citeauthor + \providecommand\maskCiteauthor\Citeauthor + \providecommand\maskciteyear\citeyear + \providecommand\maskfootcite\footcite + \providecommand\maskfootcitetext\footcitetext + }{% mask references to author + + \RequirePackage{substr} % to allow counting of masked references + \newcounter{maskedRefs} + + % \maskcite + \newcommand\maskcite{\@ifnextchar[{\maskcite@@also}{\maskcite@@also[]}} + \newcommand\maskcite@@also{} + \def\maskcite@@also[#1]{\@ifnextchar[{\maskcite@@@also[#1]}{\maskcite@@@also[][#1]}} + + \def\maskcite@@@also% + [#1][#2]#3{% + \setcounter{maskedRefs}{0}% + \SubStringsToCounter{maskedRefs}{,}{#3}% + \addtocounter{maskedRefs}{1}% + \ifnum\value{maskedRefs} = 1% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citation removed for masked review})}% + \else% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citations removed for masked review})}% + \fi% + \apaSix@masked@refs% + } + + % \maskCite + \newcommand\maskCite{\@ifnextchar[{\maskCite@@also}{\maskCite@@also[]}} + \newcommand\maskCite@@also{} + \def\maskCite@@also[#1]{\@ifnextchar[{\maskCite@@@also[#1]}{\maskCite@@@also[][#1]}} + + \def\maskCite@@@also% + [#1][#2]#3{% + \setcounter{maskedRefs}{0}% + \SubStringsToCounter{maskedRefs}{,}{#3}% + \addtocounter{maskedRefs}{1}% + \ifnum\value{maskedRefs} = 1% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citation removed for masked review})}% + \else% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citations removed for masked review})}% + \fi% + \apaSix@masked@refs% + } + + % \maskparencite + \newcommand\maskparencite{\@ifnextchar[{\maskparencite@@also}{\maskparencite@@also[]}} + \newcommand\maskparencite@@also{} + \def\maskparencite@@also[#1]{\@ifnextchar[{\maskparencite@@@also[#1]}{\maskparencite@@@also[][#1]}} + + \def\maskparencite@@@also% + [#1][#2]#3{% + \setcounter{maskedRefs}{0}% + \SubStringsToCounter{maskedRefs}{,}{#3}% + \addtocounter{maskedRefs}{1}% + \ifnum\value{maskedRefs} = 1% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citation removed for masked review})}% + \else% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citations removed for masked review})}% + \fi% + \apaSix@masked@refs% + } + + % \maskParencite + \newcommand\maskParencite{\@ifnextchar[{\maskParencite@@also}{\maskParencite@@also[]}} + \newcommand\maskParencite@@also{} + \def\maskParencite@@also[#1]{\@ifnextchar[{\maskParencite@@@also[#1]}{\maskParencite@@@also[][#1]}} + + \def\maskParencite@@@also% + [#1][#2]#3{% + \setcounter{maskedRefs}{0}% + \SubStringsToCounter{maskedRefs}{,}{#3}% + \addtocounter{maskedRefs}{1}% + \ifnum\value{maskedRefs} = 1% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citation removed for masked review})}% + \else% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citations removed for masked review})}% + \fi% + \apaSix@masked@refs% + } + + % \maskciteauthor + \newcommand\maskciteauthor{\@ifnextchar[{\maskciteauthor@@also}{\maskciteauthor@@also[]}} + \newcommand\maskciteauthor@@also{} + \def\maskciteauthor@@also[#1]{\@ifnextchar[{\maskciteauthor@@@also[#1]}{\maskciteauthor@@@also[][#1]}} + + \def\maskciteauthor@@@also% + [#1][#2]#3{% + \setcounter{maskedRefs}{0}% + \SubStringsToCounter{maskedRefs}{,}{#3}% + \addtocounter{maskedRefs}{1}% + \ifnum\value{maskedRefs} = 1% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citation removed for masked review})}% + \else% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citations removed for masked review})}% + \fi% + \apaSix@masked@refs% + } + + % \maskCiteauthor + \newcommand\maskCiteauthor{\@ifnextchar[{\maskCiteauthor@@also}{\maskCiteauthor@@also[]}} + \newcommand\maskCiteauthor@@also{} + \def\maskCiteauthor@@also[#1]{\@ifnextchar[{\maskCiteauthor@@@also[#1]}{\maskCiteauthor@@@also[][#1]}} + + \def\maskCiteauthor@@@also% + [#1][#2]#3{% + \setcounter{maskedRefs}{0}% + \SubStringsToCounter{maskedRefs}{,}{#3}% + \addtocounter{maskedRefs}{1}% + \ifnum\value{maskedRefs} = 1% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citation removed for masked review})}% + \else% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citations removed for masked review})}% + \fi% + \apaSix@masked@refs% + } + + % \maskciteyear + \newcommand\maskciteyear{\@ifnextchar[{\maskciteyear@@also}{\maskciteyear@@also[]}} + \newcommand\maskciteyear@@also{} + \def\maskciteyear@@also[#1]{\@ifnextchar[{\maskciteyear@@@also[#1]}{\maskciteyear@@@also[][#1]}} + + \def\maskciteyear@@@also% + [#1][#2]#3{% + \setcounter{maskedRefs}{0}% + \SubStringsToCounter{maskedRefs}{,}{#3}% + \addtocounter{maskedRefs}{1}% + \ifnum\value{maskedRefs} = 1% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citation removed for masked review})}% + \else% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citations removed for masked review})}% + \fi% + \apaSix@masked@refs% + } + + % \maskfootcite + \newcommand\maskfootcite{\@ifnextchar[{\maskfootcite@@also}{\maskfootcite@@also[]}} + \newcommand\maskfootcite@@also{} + \def\maskfootcite@@also[#1]{\@ifnextchar[{\maskfootcite@@@also[#1]}{\maskfootcite@@@also[][#1]}} + + \def\maskfootcite@@@also% + [#1][#2]#3{% + \setcounter{maskedRefs}{0}% + \SubStringsToCounter{maskedRefs}{,}{#3}% + \addtocounter{maskedRefs}{1}% + \ifnum\value{maskedRefs} = 1% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citation removed for masked review})}% + \else% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citations removed for masked review})}% + \fi% + \apaSix@masked@refs% + } + + % \maskfootcitetext + \newcommand\maskfootcitetext{\@ifnextchar[{\maskfootcitetext@@also}{\maskfootcitetext@@also[]}} + \newcommand\maskfootcitetext@@also{} + \def\maskfootcitetext@@also[#1]{\@ifnextchar[{\maskfootcitetext@@@also[#1]}{\maskfootcitetext@@@also[][#1]}} + + \def\maskfootcitetext@@@also% + [#1][#2]#3{% + \setcounter{maskedRefs}{0}% + \SubStringsToCounter{maskedRefs}{,}{#3}% + \addtocounter{maskedRefs}{1}% + \ifnum\value{maskedRefs} = 1% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citation removed for masked review})}% + \else% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citations removed for masked review})}% + \fi% + \apaSix@masked@refs% + } + + % \masktextcite + \newcommand\masktextcite{\@ifnextchar[{\masktextcite@@also}{\masktextcite@@also[]}} + \newcommand\masktextcite@@also{} + \def\masktextcite@@also[#1]{\@ifnextchar[{\masktextcite@@@also[#1]}{\masktextcite@@@also[][#1]}} + + \def\masktextcite@@@also% + [#1][#2]#3{% + \setcounter{maskedRefs}{0}% + \SubStringsToCounter{maskedRefs}{,}{#3}% + \addtocounter{maskedRefs}{1}% + \ifnum\value{maskedRefs} = 1% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citation removed for masked review})}% + \else% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citations removed for masked review})}% + \fi% + \apaSix@masked@refs% + } + + % \maskTextcite + \newcommand\maskTextcite{\@ifnextchar[{\maskTextcite@@also}{\maskTextcite@@also[]}} + \newcommand\maskTextcite@@also{} + \def\maskTextcite@@also[#1]{\@ifnextchar[{\maskTextcite@@@also[#1]}{\maskTextcite@@@also[][#1]}} + + \def\maskTextcite@@@also% + [#1][#2]#3{% + \setcounter{maskedRefs}{0}% + \SubStringsToCounter{maskedRefs}{,}{#3}% + \addtocounter{maskedRefs}{1}% + \ifnum\value{maskedRefs} = 1% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citation removed for masked review})}% + \else% + \def\apaSix@masked@refs{(\textit{\themaskedRefs\ citations removed for masked review})}% + \fi% + \apaSix@masked@refs% + } + + } + +} + + +\newskip\b@level@one@skip \b@level@one@skip=2.5ex plus 1ex minus .2ex +\newskip\e@level@one@skip \e@level@one@skip=1.5ex plus .6ex minus .1ex +\newskip\b@level@two@skip \b@level@two@skip=2.5ex plus 1ex minus .2ex +\newskip\e@level@two@skip \e@level@two@skip=1.5ex plus .6ex minus .1ex +\newskip\b@level@three@skip \b@level@three@skip=2.0ex plus .8ex minus .2ex +\newskip\e@level@three@skip \e@level@three@skip=1.5ex plus .6ex minus .1ex +\newskip\b@level@four@skip \b@level@four@skip=1.8ex plus .8ex minus .2ex +\newskip\e@level@four@skip \e@level@four@skip=1.5ex plus .6ex minus .1ex +\newskip\b@level@five@skip \b@level@five@skip=1.8ex plus .8ex minus .2ex +\newskip\e@level@five@skip \e@level@five@skip=0ex + + + + +\setcounter{secnumdepth}{0} +\renewcommand{\section}{\@startsection {section}{1}{\z@}% + {\b@level@one@skip}{\e@level@one@skip}% + {\centering\normalfont\normalsize\bfseries}} +\renewcommand{\subsection}{\@startsection{subsection}{2}{\z@}% + {\b@level@two@skip}{\e@level@two@skip}% + {\normalfont\normalsize\bfseries}} +\renewcommand{\subsubsection}[1]{\@startsection{subsubsection}{3}{\parindent}% + {0\baselineskip \@plus 0.2ex \@minus 0.2ex}% + {-\z@}% + {\normalfont\normalsize\bfseries}{#1}\textbf{.}\hspace{0.2em}} +\renewcommand{\paragraph}[1]{\@startsection{paragraph}{4}{\parindent}% + {0\baselineskip \@plus 0.2ex \@minus 0.2ex}% + {-\z@}% + {\normalfont\normalsize\bfseries\itshape}{#1}\textbf{\textit{.}}\hspace{0.2em}} +\renewcommand{\subparagraph}[1]{\@startsection{subparagraph}{5}{\parindent}% + {0\baselineskip \@plus 0.2ex \@minus 0.2ex}% + {-\z@}% + {\normalfont\normalsize\itshape}{#1}\textit{.}\hspace{0.2em}} + +\AtBeginDocument{\def\st@rtbibsection{\mspart{References}}}% BDB -- this is for apacite +\AtBeginDocument{\def\bibsection{\mspart{References}}}% BDB -- this is for apacite + natbib +\newcommand{\mspart}{{\ifapamodeman{\clearpage}{}}\@startsection {section}{1}{\z@}% + {\b@level@one@skip}{\e@level@one@skip}% + {\centering\normalfont\normalsize}} + +\RequirePackage[singlelinecheck=off]{caption} + +\ifapamode{% man + \DeclareCaptionLabelFormat{tablelabel}{\hspace{-\parindent}\raggedright#1 #2} + \DeclareCaptionLabelFormat{figurelabel}{\hspace{-\parindent}\raggedright\textit{#1 #2}} + \DeclareCaptionTextFormat{tabletext}{\hspace{-\parindent}\raggedright\textit{#1}} +}{% jou + \DeclareCaptionLabelFormat{tablelabel}{\hspace{-\parindent}#1 #2} + \DeclareCaptionLabelFormat{figurelabel}{\hspace{-\parindent}\textit{#1 #2}} + \DeclareCaptionTextFormat{tabletext}{\hspace{-\parindent +}\textit{#1}} +}{% doc + \DeclareCaptionLabelFormat{tablelabel}{\hspace{-\parindent}#1 #2} + \DeclareCaptionLabelFormat{figurelabel}{\hspace{-\parindent}\textit{#1 #2}} + \DeclareCaptionTextFormat{tabletext}{\hspace{-\parindent}\textit{#1}} +} +\captionsetup[table]{position=above,skip=0pt,labelformat=tablelabel,labelsep=newline,textformat=tabletext} +\captionsetup[figure]{position=below,skip=0pt,labelformat=figurelabel,labelsep=period} + +\setlength{\belowcaptionskip}{15pt} + + + +\newcounter{APAenum} +\newskip\@text@par@indent +\def\APAenumerate{\@text@par@indent\parindent\setbox0\hbox{1. }% + \list{\arabic{APAenum}.}{\usecounter{APAenum} + \labelwidth\z@\labelsep\z@\leftmargin\z@\parsep\z@ + \rightmargin\z@\itemsep\z@\topsep\z@\partopsep\z@ + \itemindent\@text@par@indent\advance\itemindent by\wd0 + \def\makelabel##1{\hss\llap{##1 }}}} +\let\endAPAenumerate=\endlist + +\def\seriate{\@bsphack\begingroup% + \setcounter{APAenum}{0}% + \def\item{\addtocounter{APAenum}{1}(\alph{APAenum})\space}% + \ignorespaces} +\def\endseriate{\endgroup\@esphack} + +\def\APAitemize{\@text@par@indent\parindent\setbox0\hbox{$\bullet$}% + \list{$\bullet$}{% + \labelwidth\z@\labelsep.5em\leftmargin\z@\parsep\z@ + \rightmargin\z@\itemsep\z@\topsep\z@\partopsep\z@ + \itemindent\@text@par@indent + \advance\itemindent by\wd0\advance\itemindent by.5em + \def\makelabel##1{\hss\llap{##1}}}} +\let\endAPAitemize=\endlist + +\let\enumerate=\APAenumerate +\let\endenumerate=\endAPAenumerate +\let\itemize=\APAitemize +\let\enditemize=\endAPAitemize + + + +\long\def\title#1{\long\def\@title{#1}} +\long\def\author#1{\long\def\@author{#1}} +\long\def\twoauthors#1#2{\long\def\@authorOne{#1}\long\def\@authorTwo{#2}% + \long\def\@author{#1}} +\long\def\onetwoauthors#1#2#3{\long\def\@authorOne{#1}\long\def\@authorTwo{#2}% + \long\def\@authorThree{#3}\long\def\@author{#1}} +\long\def\twooneauthors#1#2#3{\long\def\@authorOne{#1}\long\def\@authorTwo{#2}% + \long\def\@authorThree{#3}\long\def\@author{#1}\def\@twofirst{1}} +\let\threeauthors=\onetwoauthors +\long\def\fourauthors#1#2#3#4{\long\def\@authorOne{#1}\long\def\@authorTwo{#2}% + \long\def\@authorThree{#3}\long\def\@authorFour{#4}\long\def\@author{#1}} +\long\def\fiveauthors#1#2#3#4#5{\long\def\@authorOne{#1}\long\def\@authorTwo{#2}%%%% + \long\def\@authorThree{#3}\long\def\@authorFour{#4}\long\def\@authorFive{#5}% %% + \long\def\@author{#1}} %% 2006/01/05 -- added as contributed by Aaron Geller %% +\long\def\sixauthors#1#2#3#4#5#6{\long\def\@authorOne{#1}% %% thp 2006/01/05 + \long\def\@authorTwo{#2}\long\def\@authorThree{#3}\long\def\@authorFour{#4}%% thp 2006/01/05 + \long\def\@authorFive{#5}\long\def\@authorSix{#6}\long\def\@author{#1}} %% thp 2006/01/05 +\long\def\affiliation#1{\long\def\@affil{#1}} +\long\def\twoaffiliations#1#2{\long\def\@affilOne{#1}\long\def\@affilTwo{#2}% +\long\def\@affil{#1}} +\long\def\onetwoaffiliations#1#2#3{\long\def\@affilOne{#1}\long\def\@affilTwo{#2}% + \long\def\@affilThree{#3}\long\def\@affil{#1}} +\long\def\twooneaffiliations#1#2#3{\long\def\@affilOne{#1}\long\def\@affilTwo{#2}% + \long\def\@affilThree{#3}\long\def\@affil{#1}} +\let\threeaffiliations=\onetwoaffiliations +\long\def\fouraffiliations#1#2#3#4{\long\def\@affilOne{#1}\long\def\@affilTwo{#2}% + \long\def\@affilThree{#3}\long\def\@affilFour{#4}\long\def\@affil{#1}} +\long\def\fiveaffiliations#1#2#3#4#5{\long\def\@affilOne{#1}\long\def\@affilTwo{#2}%% + \long\def\@affilThree{#3}\long\def\@affilFour{#4}\long\def\@affilFive{#5}% %% + \long\def\@affil{#1}} %% 2006/01/05 -- added as contributed by Aaron Geller %% +\long\def\sixaffiliations#1#2#3#4#5#6{\long\def\@affilOne{#1}% %% thp 2006/01/05 + \long\def\@affilTwo{#2}\long\def\@affilThree{#3}\long\def\@affilFour{#4}%% thp 2006/01/05 + \long\def\@affilFive{#5}\long\def\@affilSix{#6}\long\def\@affil{#1}} %% thp 2006/01/05 +\long\def\note#1{\long\def\@note{#1}} +\long\def\abstract#1{\long\def\@abstract{#1}} +\long\def\keywords#1{\long\def\@keywords{#1}} +\long\def\authornote#1{\long\def\@acks{#1}} +\def\journal#1{\RequirePackage{fancyhdr}\def\@journal{#1}} +\def\volume#1{\def\@vvolume{#1}} +\def\ccoppy#1{\def\@ccoppy{#1}} +\def\copnum#1{\def\@copnum{#1}} +\def\@error@toomanyauthors{\ClassWarningNoLine{apa6}{More authors than affiliations defined}} +\def\@error@toomanyaffils{\ClassWarningNoLine{apa6}{More affiliations than authors defined}} +\def\check@author{% + \@ifundefined{@author}{% + \ClassWarningNoLine{apa6}{Author not defined}\def\@author{Author}}{} + \@ifundefined{@title}{% + \ClassWarningNoLine{apa6}{Title not defined}\def\@title{Title}}{} + \@ifundefined{@shorttitle}{% + \ClassWarningNoLine{apa6}{Short title not defined}\def\@shorttitle{INSERT SHORTTITLE COMMAND IN PREAMBLE}}{} + \@ifundefined{@affil}{% + \ClassWarningNoLine{apa6}{Affiliation not defined}\def\@affil{Affiliation}}{} + \@ifundefined{@abstract}{% + \ClassWarningNoLine{apa6}{Abstract not defined}}{} + \@ifundefined{@keywords}{% + \ClassWarningNoLine{apa6}{Keywords not defined}}{} + \@ifundefined{@authorSix}{% % -- thp 2006/01/05 + \@ifundefined{@authorFive}{% % -- thp 2006/01/05 + \@ifundefined{@authorFour}{% + \@ifundefined{@authorThree}{% + \@ifundefined{@authorTwo}{% + }{\@ifundefined{@affilTwo}{\@error@toomanyauthors}{}} + }{\@ifundefined{@affilThree}{\@error@toomanyauthors}{}} + }{\@ifundefined{@affilFour}{\@error@toomanyauthors}{}} + }{\@ifundefined{@affilFive}{\@error@toomanyauthors}{}} % -- thp 2006/01/05 + }{\@ifundefined{@affilSix}{\@error@toomanyauthors}{}} % -- thp 2006/01/05 + \@ifundefined{@affilSix}{% % -- thp 2006/01/05 + \@ifundefined{@affilFive}{% % -- thp 2006/01/05 + \@ifundefined{@affilFour}{% + \@ifundefined{@affilThree}{% + \@ifundefined{@affilTwo}{% + }{\@ifundefined{@authorTwo}{\@error@toomanyaffils}{}} + }{\@ifundefined{@authorThree}{\@error@toomanyaffils}{}} + }{\@ifundefined{@authorFour}{\@error@toomanyaffils}{}} + }{\@ifundefined{@authorFive}{\@error@toomanyaffils}{}} % -- thp 2006/01/05 + }{\@ifundefined{@authorSix}{\@error@toomanyaffils}{}} % -- thp 2006/01/05 +} + + +\long\def\ifapamodeman#1#2{\@ifundefined{def@man}{#2}{#1}} +\long\def\ifapamodejou#1#2{\@ifundefined{def@jou}{#2}{#1}} +\long\def\ifapamodedoc#1#2{\@ifundefined{def@doc}{#2}{#1}} +\long\def\ifapamode#1#2#3{% + \@ifundefined{def@man}{% + \@ifundefined{def@jou}{% + \@ifundefined{def@doc}{\ClassError{apa6}{Undefined mode state!}}{#3}% + }{#2}% + }{#1}% +} + + +\newsavebox\gr@box +\newlength\gr@boxwidth +\newlength\gr@boxheight + +\newcommand{\fitfigure}[2][0.5]{% +\ifapamodeman +{% man +\sbox\gr@box{\includegraphics[width=\linewidth]{#2}} +\settowidth{\gr@boxwidth}{\usebox\gr@box} +\settoheight{\gr@boxheight}{\usebox\gr@box} +\ifdim\gr@boxheight>\gr@boxwidth{% display upright (h) + \ifdim\gr@boxheight>\textheight% + \centerline{\vspace{\fill}\includegraphics[height=\textheight]{#2}\vspace{\fill}}% + \else% + \usebox\gr@box% + \fi} +\else{% display rotated + \sbox\gr@box{\includegraphics[angle=90,width=\linewidth]{#2}} + \settoheight{\gr@boxheight}{\usebox\gr@box} + \ifdim\gr@boxheight>\textheight% + \centerline{\vspace{\fill}\includegraphics[angle=90,height=\textheight]{#2}\vspace{\fill}}% + \else% + \usebox\gr@box% + \fi}% +\fi} +{% jou, doc +\sbox\gr@box{\includegraphics[width=\linewidth]{#2}} +\settoheight{\gr@boxheight}{\usebox\gr@box} +\ifdim\gr@boxheight>\textheight% + \centerline{\includegraphics[height=#1\textheight]{#2}}% need to leave space for caption +\else% + \usebox\gr@box% +\fi} +} + +\newcommand{\fitbitmap}[2][0.5]{ % like fitfigure but no scaling in man mode for best quality +\ifapamodeman +{% man +\sbox\gr@box{\includegraphics{#2}} +\settowidth{\gr@boxwidth}{\usebox\gr@box} +\settoheight{\gr@boxheight}{\usebox\gr@box} +\ifdim\gr@boxwidth>\textwidth% display rotated + \centerline{\vspace{\fill}\includegraphics[angle=90]{#2}\vspace{\fill}}% + \ifdim\gr@boxheight>\textwidth\ClassWarning{apa6}{Figure #2 too high!}\fi% display rotated + \ifdim\gr@boxwidth>\textheight\ClassWarning{apa6}{Figure #2 too wide!}\fi% display rotated +\else% display upright + \centerline{\vspace{\fill}\includegraphics{#2}\vspace{\fill}}% + \ifdim\gr@boxheight>\textheight\ClassWarning{apa6}{Figure #2 too high!}\fi% display rotated +\fi} +{% jou, doc +\sbox\gr@box{\includegraphics[width=\linewidth]{#2}} +\settoheight{\gr@boxheight}{\usebox\gr@box} +\ifdim\gr@boxheight>\textheight% + \centerline{\includegraphics[height=#1\textheight]{#2}}% need to leave space for caption +\else% + \centerline{\usebox\gr@box}% +\fi} +} + + +\let\normal@BBAB\BBAB % -- thp 2005/07/23 +\let\table@BBAB\BBAA % -- thp 2005/07/23 + +\setlength{\doublerulesep}{\arrayrulewidth} +\newcommand\thickline{\hline\hline} +\renewcommand\footnoterule{% + \kern-3\p@ + \hrule height0.125pt width.5in + \kern2.6\p@} + +\let\apaSixtabular\tabular +\let\apaSix@doc@tabular\tabular +%% +\let\apaSix@doc@endtabular\endtabular + +\def\@tab@fn#1{\ensuremath{^{\mbox{{\scriptsize #1}}}}} +\def\tabfnm#1{\rlap{\@tab@fn{#1}}} +\def\tabfnt#1#2{\raggedright\@tab@fn{#1}#2} + +\def\apaSixvector#1{{\ensuremath + \uprightlowercasegreek + \ifapamodeman + {\apaSixsmash{\mathop{\kern\z@\mathrm{#1}}\limits_{\scriptscriptstyle\sim}}}% + {\if@bm@loaded\bm{\mathrm{#1}}\else\mathbf{#1}\fi% in case bm is not available + }% +}} +\newcommand{\apaSixsmash}{% + \def\finsm@sh{\dp\z@\z@ \box\z@}% + \expandafter\mathpalette\expandafter\mathsm@sh +}% +\newif\if@bm@loaded\@bm@loadedfalse +\IfFileExists{bm.sty}{\RequirePackage{bm}\@bm@loadedtrue}{}% if not, apaSixvector will fail +\newcommand{\uprightlowercasegreek}{% + \@ifundefined{alphaup}{}{% + \def\alpha {\alphaup }% + \def\beta {\betaup }% + \def\gamma {\gammaup }% + \def\delta {\deltaup }% + \def\epsilon {\epsilonup }% + \def\varepsilon{\varepsilonup}% + \def\zeta {\zetaup }% + \def\eta {\etaup }% + \def\theta {\thetaup }% + \def\vartheta {\varthetaup }% + \def\iota {\iotaup }% + \def\kappa {\kappaup }% + \def\lambda {\lambdaup }% + \def\mu {\muup }% + \def\nu {\nuup }% + \def\xi {\xiup }% + \def\pi {\piup }% + \def\varpi {\varpiup }% + \def\rho {\rhoup }% + \def\varrho {\varrhoup }% + \def\sigma {\sigmaup }% + \def\varsigma {\varsigmaup }% + \def\tau {\tauup }% + \def\upsilon {\upsilonup }% + \def\phi {\phiup }% + \def\varphi {\varphiup }% + \def\chi {\chiup }% + \def\psi {\psiup }% + \def\omega {\omegaup }% + }% +} +\let\apaSixmatrix\apaSixvector + + +\newcounter{appendix}\setcounter{appendix}{0} +\renewcommand{\theappendix}{\@Alph\c@appendix} +\def\apaSixappfig{% + \renewcommand\thefigure{\theappendix\@arabic\c@figure}% + \ifapamodeman{\renewcommand\thepostfig{\theappendix\arabic{postfig}}}{}} +\def\apaSixapptab{% + \renewcommand\thetable{\theappendix\@arabic\c@table}% + \ifapamodeman{\renewcommand\theposttbl{\theappendix\arabic{posttbl}}}{}} +\newif\ifoneappendix +\oneappendixtrue % one appendix by default +\newif\ifappendix +\appendixfalse + +\def\appendix{% + \ifapamodeman{\processdelayedfloats}{}% BDB -- output all tables and figures prior to the appendix + \appendixtrue + \apaSixappfig + \apaSixapptab + \let\old@apaSix@section=\section % This will not work right with five levels in appendix. + % Should go into \section, not \leveltwo but would also require + % changes to section* and section[ (see \def\section above) + % Who uses five level heading appendices anyway? + \long\def\section##1{% + \ifapamodeman{% + \clearpage + \setcounter{postfig}{0} + \setcounter{posttbl}{0} + }{% + }% + \setcounter{figure}{0}% + \setcounter{table}{0}% + \vskip2.5ex% + \refstepcounter{appendix}% 2002/07/20 this takes care of references too + \ifnum\c@appendix>1\immediate\write\@auxout{\global\string\oneappendixfalse}\fi% + \centerline{\normalfont\normalsize\appendixname\ifoneappendix\else~\theappendix\fi}% + \centerline{##1}\par% + \setlength{\parindent}{0.4in} + \makeatletter% + \@afterindentfalse% + \@afterheading% + \makeatother% + }% +} % end of appendix definition + + +%%%%%%%%%%%%%%%%%%%%%%%%% +%% %% +%% MANUSCRIPT FORMAT %% +%% %% +%%%%%%%%%%%%%%%%%%%%%%%%% + +\@ifundefined{def@man}{}{% + +\def\@@spacing{1.75} + +\newcommand{\@doublespacing}{\linespread{1.655}} +\@doublespacing + +\def\rightheader#1{\def\r@headr{\protect\MakeUppercase{#1}}} +\def\leftheader#1{\def\r@headl{#1}} +\newcommand{\shorttitle}[1]{\def\@shorttitle{#1}} + +\raggedright + +\RequirePackage{fancyhdr} +\setlength{\headheight}{15.2pt} +\fancyhf{} +\renewcommand{\headrulewidth}{0pt} + +\fancypagestyle{titlepage}{% + \lhead{Running head: \MakeUppercase{\@shorttitle}}% + \rhead{\thepage}% +} +\fancypagestyle{otherpage}{% + \lhead{\MakeUppercase{\@shorttitle}}% + \rhead{\thepage}% +} +\pagestyle{otherpage} + + +%% added by BDB to make section heading non-bolface +%% \@ifundefined{@acks}{}{\newpage\section{\acksname}\@acks} + + +\let\@noendfloattab\table% BDB +\let\@noendfloatfig\figure% BDB + +\@ifundefined{float@mark}{% Figure and table in-text markers are no longer required + \RequirePackage[notablist,figlist,notabhead,nofighead,tablesfirst,nomarkers]{endfloat}[1995/10/11]}{% + \RequirePackage[notablist,figlist,notabhead,nofighead,tablesfirst]{endfloat}[1995/10/11]} + +\renewcommand{\figureplace}{% + \par\begin{center} + \parbox{\textwidth} + {\begin{center} + \rule{2.1in}{0.005in}\\ + Insert \figurename~\thepostfig\ about here\\ + \rule{2.1in}{0.005in}\\ + \end{center}} + \end{center}\par} +\renewcommand{\tableplace}{% + \par\begin{center} + \parbox{\textwidth} + {\begin{center} + \rule{2.1in}{0.005in}\\ + Insert \tablename~\theposttbl\ about here\\ + \rule{2.1in}{0.005in}\\ + \end{center}} + \end{center}\par} + +\def\@gobbleuntilnext[#1]{} +\let\eatarg\@gobbleuntilnext +\let\ifnextchar\@ifnextchar + +\@ifundefined{def@floatsintext}{% Guillaume Jourjon 19/10/10 + \def\figure{% + \ifappendix + \vspace*{\intextsep} + \def\fps@figure{!hbt}% + \@noendfloatfig + \else + \efloat@condopen{fff} + \efloat@iwrite{fff}{\string\begin{figure*}[hbt]}% + \global\def\@figure@written{\relax}% Set a flag that there is at least one figure -- thp 20010705 + %% should be a global declaration to be "visible" at end document + \ifnextchar[{\gobbleuntilnext[}{} + \efloat@iwrite{fff}{\string\ifnextchar[{\string\eatarg}{}} + \if@domarkers% + \addtocounter{postfig}{1}% % bj + \figureplace% % bj + \fi% + \def\@currenvir{efloat@float}% + \begingroup% + \let\do\ef@makeinnocent \dospecials% + \ef@makeinnocent\^^L% and whatever other special cases + \endlinechar`\^^M \catcode`\^^M=12 \ef@xfigure% + \fi% + }% + + \def\table{% + \ifappendix + \vspace*{\intextsep} + \def\fps@table{!hbt} + \@noendfloattab + \else + \efloat@condopen{ttt} + \efloat@iwrite{ttt}{\string\begin{table*}[hbt]}% + \ifnextchar[{\gobbleuntilnext[}{} + \@ifundefined{hrm}{}{% + \efloat@iwrite{ttt}{\string\sf}}% + \efloat@iwrite{ttt}{\string\ifnextchar[{\string\eatarg}{}} % bj + \if@domarkers + \addtocounter{posttbl}{1} % bj + \tableplace % bj + \fi + \def\@currenvir{efloat@float}% + \begingroup + \let\do\ef@makeinnocent \dospecials + \ef@makeinnocent\^^L% and whatever other special cases + \endlinechar`\^^M \catcode`\^^M=12 \ef@xtable% + \fi + }% +}{% + \RequirePackage{float} + \floatplacement{figure}{htb} + \def\figure{\@float{figure}} + \def\endfigure{\end@float} + + \floatplacement{table}{htb} + \def\table{\@float{table}} + \def\endtable{\end@float} +} + +%%%%%%%%%%%%%%\long\def\@@contentsline#1#2#3{ #2 } +%%%%%%%%%%%%%%\long\def\numberline#1#2{\noindent{\em\figurename\ #1.\/} #2\vspace{0.5\baselineskip}\par} +%%%%%%%%%%%%%%\long\def\@@caption{\refstepcounter\@captype \@dblarg{\@@@caption\@captype}} +%%%%%%%%%%%%%%\long\def\@@@caption#1[#2]#3{\addcontentsline{\csname +%%%%%%%%%%%%%% ext@#1\endcsname}{#1}{\protect\numberline{\csname +%%%%%%%%%%%%%% the#1\endcsname}{\ignorespaces #2}}} + + +\def\processfigures{% + \expandafter\ifnum \csname @ef@fffopen\endcsname>0 + \immediate\closeout\efloat@postfff \ef@setct{fff}{0} + \if@figlist + \@ifundefined{@figure@written}{}{% + {\normalsize\@ifundefined{hrm}{}{\sf}% + } + } + \fi + \@ifundefined{fig@num}{% + \pagestyle{otherpage} + }{% + \setcounter{page}{1} + \def\@oddhead{\rightmark} % changed by Michael Erickson + \markright{\hfill \s@title, \figurename\ \protect\thefigure} % to include appendix numbering + % remove rm - thp 020227 + } + \def\baselinestretch{\@@spacing}\normalsize\@ifundefined{hrm}{}{\sf} + \processfigures@hook \@input{\jobname.fff} + \fi} + +\def\processtables{% + \expandafter\ifnum \csname @ef@tttopen\endcsname>0 + \immediate\closeout\efloat@postttt \ef@setct{ttt}{0} + \clearpage + \if@tabhead + \section*{\tablesection} + \suppressfloats[t] + \fi + \def\baselinestretch{\@@spacing} + \processtables@hook \@ifundefined{hrm}{}{\sf}% + \tiny\normalsize% + \let\BBAB\table@BBAB% -- thp 2005/07/23 + \@input{\jobname.ttt}% + \let\BBAB\normal@BBAB% -- thp 2005/07/23 + \fi} + + +\captionsetup{justification=RaggedRight} + + +\def\maketitle{ +\@ifundefined{hrm}{}{\hrm} + \check@author + + \begin{center} + \vspace*{0.5in} + + \vspace*{1in} + \@title\vspace{0.25in}\\ + + \@ifundefined{apaSix@maskauthoridentity}{% BDB + + \@ifundefined{@authorTwo}{ + \@author \\ + + \@affil \vspace{0.25in} \\ }{ + \@ifundefined{@authorThree}{ + \@authorOne \\ + + \@affilOne \vspace{0.2in} \\ + \@authorTwo \\ + + \@affilTwo \vspace{0.25in} \\ }{ + \@ifundefined{@authorFour}{ + \@authorOne \\ + + \@affilOne \vspace{0.2in} \\ + \@authorTwo \\ + + \@affilTwo \vspace{0.2in} \\ + \@authorThree \\ + + \@affilThree \vspace{0.25in} \\ }{ + \@ifundefined{@authorFive}{ %% 2006/01/05 added as contributed by Aaron Geller + \@authorOne \\ + + \@affilOne \vspace{0.2in} \\ + \@authorTwo \\ + + \@affilTwo \vspace{0.2in} \\ + \@authorThree \\ + + \@affilThree \vspace{0.2in} \\ + \@authorFour \\ + + \@affilFour \vspace{0.25in} \\ }{ %% 2006/01/05 beginning of Aaron Geller contribution + \@ifundefined{@authorSix}{ %% -- thp 2006/01/05 + \@authorOne \\ + + \@affilOne \vspace{0.2in} \\ + \@authorTwo \\ + + \@affilTwo \vspace{0.2in} \\ + \@authorThree \\ + + \@affilThree \vspace{0.2in} \\ + \@authorFour \\ + + \@affilFour \vspace{0.2in} \\ %% thp corrected distance to non-final value of 0.2in + \@authorFive \\ + + \@affilFive \vspace{0.25in} \\ }{%% 2006/01/05 end of Aaaron Geller contribution + %% --- thp 2006/01/05 beginning of six-author display + \@authorOne \\ + + \@affilOne \vspace{0.2in} \\ + \@authorTwo \\ + + \@affilTwo \vspace{0.2in} \\ + \@authorThree \\ + + \@affilThree \vspace{0.2in} \\ + \@authorFour \\ + + \@affilFour \vspace{0.2in} \\ + \@authorFive \\ + + \@affilFive \vspace{0.2in} \\ + \@authorSix \\ + + \@affilSix \vspace{0.25in} \\ }}}}} + %% --- thp 2006/01/05 end of six-author display + \@ifundefined{@note} + {\vspace*{\baselineskip} } + {\@note} + + }{% mask author identity -- show nothing in the author or author note space + } + + \end{center} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% added by BDB + \@ifundefined{apaSix@maskauthoridentity}{ + \@ifundefined{@acks} + {} + {% + \vfill% + \begin{center}% + Author Note% + \end{center}% + \protect\raggedright + \setlength{\parindent}{0.4in} + \indent\par\@acks% + } + }{% mask author identity -- show nothing in the author or author note space + } +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + \newpage + %BDB\hyphenpenalty 10000 + \fussy + \@ifundefined{@abstract}{}{% + \section{\normalfont\normalsize\abstractname}% BDB + \noindent\@abstract\par% BDB + \@ifundefined{@keywords}{}{% + \setlength{\parindent}{0.4in}% BDB + \indent\textit{Keywords:} \@keywords% + }% + \newpage + } + + \@ifundefined{DoNotRepeatTitle}{% BDB + \begin{center}% BDB + \normalfont{\@title}% BDB + \end{center}% BDB + }{} % BDB + \raggedright% BDB + \setlength{\parindent}{0.4in}% BDB + \indent + +} + +\thispagestyle{titlepage} + + +\newcommand{\footmark}[1]{${}^{\mbox{\normalsize #1}}$} + +%% added second set of braces around \em to get citations in man mode -- tp 17/7/2000 +%% then removed them again because they were cancelling application of em to the caption + +\setcounter{topnumber}{1} +\def\topfraction{.7} +\setcounter{bottomnumber}{1} +\def\bottomfraction{.6} +\setcounter{totalnumber}{1} +\def\textfraction{0} +\def\floatpagefraction{.7} +\setcounter{dbltopnumber}{1} +\def\dbltopfraction{.7} +\def\dblfloatpagefraction{.7} +\def\dbltextfloatsep{\textfloatsep} + +\fussy + +\@ifundefined{def@nosf}{% +\def\helvetica{% +\ClassWarning{apa6}{ignored \string\helvetica\space (use helv option)} +}}{\def\helvetica{\relax}} + + + +}% end of man mode (manuscript format) + +%%%%%%%%%%%%%%%%%%%% +%% %% +%% JOURNAL FORMAT %% +%% %% +%%%%%%%%%%%%%%%%%%%% + +\@ifundefined{def@jou}{}{% + + +\IfFileExists{flushend.sty}{\RequirePackage{flushend}}{} + + +\IfFileExists{ftnright.sty}{ + \let\savefootnoterule\footnoterule + \let\save@makefntext\@makefntext + \RequirePackage{ftnright} + \let\footnoterule\savefootnoterule + \let\@makefntext\save@makefntext +}{} + + +\def\rightheader#1{\def\r@headr{\protect\MakeUppercase{\protect\scriptsize #1}}} +\def\leftheader#1{\def\r@headl{\protect\MakeUppercase{\protect\scriptsize #1}}} +\def\shorttitle#1{\def\r@headr{\protect\MakeUppercase{\protect\scriptsize #1}}}% BDB + +\def\put@one@authaffil#1#2{% + \parbox[t]{\textwidth}{\begin{center}{\large #1\vspace{0in}}% + {\\ #2\vspace{0.05in}\\}\end{center}}} + +\newsavebox\auone@box +\newsavebox\autwo@box +\newsavebox\autot@box +\newlength\auone@boxwidth +\newlength\autwo@boxwidth +\newlength\autot@boxwidth + +\def\default@d@authaffil#1#2#3#4{% + \parbox[t]{\columnwidth}{\begin{center}{\large #1\vspace{0in}}% + {\\ #2\vspace{0.05in}\\}\end{center}}% + \parbox[t]{\columnwidth}{\begin{center}{\large #3\vspace{0in}}% + {\\ #4\vspace{0.05in}\\}\end{center}}} + +\def\uneven@d@authaffil#1#2#3#4{% + \hfill\parbox[t]{\auone@boxwidth}{\begin{center}{\large #1\vspace{0in}}% + {\\ #2\vspace{0.05in}\\}\end{center}}\hfill\hfill% + \parbox[t]{\autwo@boxwidth}{\begin{center}{\large #3\vspace{0in}}% + {\\ #4\vspace{0.05in}\\}\end{center}}\hfill} + +\def\put@two@authaffil#1#2#3#4{% + \let\disp@authaffil\default@d@authaffil + \sbox\auone@box{\begin{tabular}{c}\large #1\\ #2\end{tabular}} + \settowidth{\auone@boxwidth}{\usebox\auone@box} + \sbox\autwo@box{\begin{tabular}{c}\large #3\\ #4\end{tabular}} + \settowidth{\autwo@boxwidth}{\usebox\autwo@box} + \ifdim\auone@boxwidth<1.25\columnwidth + \ifdim\autwo@boxwidth<1.25\columnwidth + \sbox\autot@box{\usebox\auone@box\hspace{0.4in}\usebox\autwo@box} + \settowidth{\autot@boxwidth}{\usebox\autot@box} + \ifdim\autot@boxwidth<\textwidth + \let\disp@authaffil\uneven@d@authaffil + \fi + \fi + \fi + \ifdim\auone@boxwidth<\columnwidth + \ifdim\autwo@boxwidth<\columnwidth + \let\disp@authaffil\default@d@authaffil + \fi + \fi + \disp@authaffil{#1}{#2}{#3}{#4} +} + +\def\maketitle{ + \check@author + \@ifundefined{r@headr}{\def\r@headr{\protect\MakeUppercase{\protect\scriptsize\@title}}}{} + \@ifundefined{r@headl}{\def\r@headl{\protect\MakeUppercase{\protect\scriptsize\@author}}}{} + +\twocolumn[ % anything appearing within the brackets is set in one-column mode + \vspace{0.03in} + \begin{center} + {\LARGE \@title}\\ + \vspace{-0.05in} + + \@ifundefined{apaSix@maskauthoridentity}{% BDB + + \@ifundefined{@authorTwo}{ + % one author-affiliation + \put@one@authaffil{\@author}{\@affil}}{ + \@ifundefined{@authorThree}{ + % two authors-affiliations + \put@two@authaffil{\@authorOne}{\@affilOne}{\@authorTwo}{\@affilTwo}}{ + \@ifundefined{@authorFour}{ + % three authors-affiliations + \@ifundefined{@twofirst}{ + % first one, then two + \put@one@authaffil{\@authorOne}{\@affilOne}\vspace{-0.15in}\\ + \put@two@authaffil{\@authorTwo}{\@affilTwo}{\@authorThree}{\@affilThree} + }{ + % first two, then one + \put@two@authaffil{\@authorOne}{\@affilOne}{\@authorTwo}{\@affilTwo}\vspace{-0.15in}\\ + \put@one@authaffil{\@authorThree}{\@affilThree} + }}{ + \@ifundefined{@authorFive}{ % 2006/01/05 as contributed by Aaron Geller + % four authors-affiliations + \put@two@authaffil{\@authorOne}{\@affilOne}{\@authorTwo}{\@affilTwo}\vspace{-0.15in}\\ + \put@two@authaffil{\@authorThree}{\@affilThree}{\@authorFour}{\@affilFour} + }{ % 2006/01/05 beginning of Aaron Geller contribution + \@ifundefined{@authorSix}{ % -- thp 2006/01/05 + % five authors-affiliations + \put@two@authaffil{\@authorOne}{\@affilOne}{\@authorTwo}{\@affilTwo}\vspace{-0.15in}\\ + \put@two@authaffil{\@authorThree}{\@affilThree}{\@authorFour}{\@affilFour}% + \vspace{-0.15in}\\ % thp added negative vertical space + \put@one@authaffil{\@authorFive}{\@affilFive} + }{ % 2006/01/05 end of Aaron Geller contribution + % six authors-affiliations + %% --- thp 2006/01/05 beginning of six-author display + \put@two@authaffil{\@authorOne}{\@affilOne}{\@authorTwo}{\@affilTwo}\vspace{-0.15in}\\ + \put@two@authaffil{\@authorThree}{\@affilThree}{\@authorFour}{\@affilFour}\vspace{-0.15in}\\ + \put@two@authaffil{\@authorFive}{\@affilFive}{\@authorSix}{\@affilSix} + %% --- thp 2006/01/05 end of six-author display + }}}}} + \@ifundefined{@note} + {\vspace{0.07in}} + {\vspace{0.07in}\\ {\large\@note\vspace{0.07in}}} + + }{% mask author identity -- show nothing in the author or author space + \vspace{0.32in} + } + + \@ifundefined{@abstract} + {\par } + {\par \parbox{4.6875in} + {\small \noindent \@abstract + \@ifundefined{@keywords}{}{% + \par\vspace{0.12in}\raggedright\textit{Keywords:} \@keywords% + }% + } + \vspace{0.24in}% + } + \end{center} + ] % end of \twocolumn[] + + \pagenumbering{arabic} + \@ifundefined{@journal}{\thispagestyle{empty}}{% + \@ifundefined{@vvolume}{\def\@vvolume{\strut}}{}% + \@ifundefined{@copnum}{\def\@copnum{\strut}}{}% + \@ifundefined{@ccoppy}{\def\@ccoppy{\strut}}{}% + \fancyhead{} + \fancyhead[LO]{\stiny{\@journal}\vspace{-0.15\baselineskip}\\ + \stiny{\@vvolume}} + \fancyhead[RO]{\stiny{\@ccoppy}\vspace{-0.15\baselineskip}\\ + \stiny{\@copnum}} + \fancyfoot[CO]{\small\rm\thepage} + \renewcommand{\headrulewidth}{0pt} + \renewcommand{\footrulewidth}{0pt} + \thispagestyle{fancy} + } + + \@ifundefined{apaSix@maskauthoridentity}{% BDB + \@ifundefined{@acks} + {} + {\begin{figure}[b] + \parbox{\columnwidth}{\setlength{\parindent}{0.18in} + \noindent\makebox[\columnwidth]{\vrule height0.125pt width\columnwidth}\vspace*{0.05in}\par + {\footnotesize\hspace{-0.04in}\@acks\par}} + \end{figure}} + }{% mask author identity -- show nothing in the author note space + } + + \@ifundefined{apaSix@maskauthoridentity}{% BDB + \markboth{\hfill\r@headl\hfill}{\hfill\r@headr\hfill} + }{% mask author identity -- show the short title for both the left and right headers + \markboth{\hfill\r@headr\hfill}{\hfill\r@headr\hfill} + } + \@ifundefined{no@tab}{\let\tabular\apaSixtabular}{} + %\noindent +} + +\newcommand\stiny{\@setfontsize\stiny\@vipt\@viipt} + +\setlength{\footnotesep}{0.2813in} +\setlength{\topmargin}{-0.275in} +\addtolength{\headheight}{0.02in} +\addtolength{\headsep}{-0.156in} +\setlength{\oddsidemargin}{-0.25in} +\setlength{\evensidemargin}{-0.25in} +\setlength{\textwidth}{6.94in} +\setlength{\textheight}{8.9in} +\setlength{\columnwidth}{8.5cm} +\setlength{\columnsep}{0.25in} +\setlength{\parindent}{0.15625in} +%%\setlength{\parskip}{0in} +\setlength{\textfloatsep}{0.35in} + +\setcounter{secnumdepth}{0} + +\def\ps@myheadings{\let\@mkboth\@gobbletwo +\def\@oddhead{\hbox{}\rightmark \hfil +\large\rm\thepage}\def\@oddfoot{}\def\@evenhead{\large\rm \thepage\hfil\leftmark\hbox +{}}\def\@evenfoot{}\def\sectionmark##1{}\def\subsectionmark##1{}} +\pagestyle{myheadings} + + +\setcounter{topnumber}{2} +\def\topfraction{.85} +\setcounter{bottomnumber}{2} +\def\bottomfraction{.75} +\setcounter{totalnumber}{3} +\def\textfraction{.10} +\def\floatpagefraction{.85} +\setcounter{dbltopnumber}{2} +\def\dbltopfraction{.85} +\def\dblfloatpagefraction{.85} +\def\dbltextfloatsep{0.8\textfloatsep} +\let\footnotesize=\small + +\def\helvetica{\relax} + +\doublehyphendemerits5000 +\hfuzz0pt +\tolerance=9999 +\pretolerance=-1 +\emergencystretch=25pt +\hbadness=30000 +\hyphenpenalty=100 + +\@ifundefined{def@apacite}{}{% -- Philip Kime 2008/12/03 + % Removed some bibliography redefinitions as per the instructions of Erik Meijer + \bibleftmargin=1.2em % left these in because the default is too big + \bibindent=-\bibleftmargin % and this is apparently not refefined each time + \renewcommand{\bibliographytypesize}{\footnotesize}} +\@ifundefined{def@natbib}{}{% -- Philip Kime 2008/12/03 + % Removed some bibliography redefinitions as per the instructions of Erik Meijer + \bibleftmargin=1.2em % left these in because the default is too big + \bibindent=-\bibleftmargin % and this is apparently not refefined each time + \renewcommand{\bibliographytypesize}{\footnotesize}} + + +}% end of jou mode (journal format) + +%%%%%%%%%%%%%%%%%%%% +%% %% +%% REGULAR FORMAT %% +%% %% +%%%%%%%%%%%%%%%%%%%% + +\@ifundefined{def@doc}{}{% + + +\newcommand{\shorttitle}[1]{\def\@shorttitle{#1}} +\def\leftheader#1{\def\r@headl{#1}} + +\RequirePackage{fancyhdr} +\setlength{\headheight}{15.2pt} +\fancyhf{} +\renewcommand{\headrulewidth}{0pt} + +\fancypagestyle{otherpage}{% + \lhead{\MakeUppercase{\@shorttitle}}% + \rhead{\thepage}% +} +\pagestyle{otherpage} + +\def\maketitle{ + \global\@topnum\z@ % to prevent tables before the title %% Erik Meijer, 2006/01/03 + \@ifundefined{@acks}{% if there acknowledgements they make up a "float" on the 1st page + \global\@botnum\z@}{% to prevent tables on the first page %% Erik Meijer, 2006/01/03 + \global\@botnum\@ne}% to prevent tables below the footnote -- thp 2006/01/10 + \check@author + \@ifundefined{r@headr}{\typeout{Using title for running head} + \def\r@headr{\protect\MakeUppercase{\@title}} + \markright{\rm \@title \protect\\ \thepage}}{} + \@ifundefined{r@headl}{\let\r@headl\r@headr}{} + \@ifundefined{s@title}{\let\s@title\r@headr}{} + \sloppy + \setlength{\parindent}{0.4in} + \begin{center} + \@ifundefined{@journal}{}{% + \@ifundefined{@vvolume}{\def\@vvolume{}}{}% + \@ifundefined{@copnum}{\def\@copnum{}}{}% + \@ifundefined{@ccoppy}{\def\@ccoppy{}}{}% + {\scriptsize{\@journal}}\hspace{\fill}{\scriptsize{\@ccoppy}}\vspace{-0.3\baselineskip}\\ + {\scriptsize{\@vvolume}}\hspace{\fill}{\scriptsize{\@copnum}}\vspace{0.1in}\\ + } + \vspace*{0.3in} + + {\LARGE \@title}\\ + + \vspace{0.3in} + \@ifundefined{apaSix@maskauthoridentity}{% BDB + + \@ifundefined{@authorTwo}{ + % one author-affiliation + {\Large \@author} \\ + + \@affil \vspace{0.1in} \\ }{ + \@ifundefined{@authorThree}{ + % two authors-affiliations + {\Large \@authorOne} \\ + + \@affilOne \vspace{0.1in} \\ + {\Large \@authorTwo}\\ + + \@affilTwo \vspace{0.1in} \\ }{ + \@ifundefined{@authorFour}{ + % three authors-affiliations + {\Large \@authorOne} \\ + + \@affilOne \vspace{0.1in} \\ + {\Large \@authorTwo}\\ + + \@affilTwo \vspace{0.1in} \\ + {\Large \@authorThree}\\ + + \@affilThree \vspace{0.1in} \\ }{ + \@ifundefined{@authorFive}{ %% 2006/01/05 added as contributed by Aaron Geller + % four authors-affiliations + {\Large \@authorOne} \\ + + \@affilOne \vspace{0.1in} \\ + {\Large \@authorTwo}\\ + + \@affilTwo \vspace{0.1in} \\ + {\Large \@authorThree}\\ + + \@affilThree \vspace{0.1in} \\ + {\Large \@authorFour}\\ + + \@affilFour \vspace{0.1in} \\ }{ %%% 2006/01/05 beginning of Aaron Geller contribution + \@ifundefined{@authorSix}{ %% -- thp 2006/01/05 + % five authors-affiliations + {\Large \@authorOne} \\ + + \@affilOne \vspace{0.1in} \\ + {\Large \@authorTwo}\\ + + \@affilTwo \vspace{0.1in} \\ + {\Large \@authorThree}\\ + + \@affilThree \vspace{0.1in} \\ + {\Large \@authorFour}\\ + + \@affilFour \vspace{0.1in} \\ + {\Large \@authorFive}\\ + + \@affilFive \vspace{0.1in} \\ }{ %%% 2006/01/05 end of Aaron Geller contribution + % six authors-affiliations + %% --- thp 2006/01/05 beginning of six-author display + {\Large \@authorOne} \\ + + \@affilOne \vspace{0.1in} \\ + {\Large \@authorTwo}\\ + + \@affilTwo \vspace{0.1in} \\ + {\Large \@authorThree}\\ + + \@affilThree \vspace{0.1in} \\ + {\Large \@authorFour}\\ + + \@affilFour \vspace{0.1in} \\ + {\Large \@authorFive}\\ + + \@affilFive \vspace{0.1in} \\ + {\Large \@authorSix}\\ + + \@affilSix \vspace{0.1in} \\ } + %% --- thp 2006/01/05 end of six-author display + }}}} + % + \@ifundefined{@note} + {\vspace*{\baselineskip} } + {\@note\vspace{0.2in}} + + }{% mask author identity -- show nothing in the author note space + } + + \@ifundefined{@abstract}{}{% + {\abstractname}\vspace{0.1in}% BDB + + \parbox{5in}{\@abstract% + \@ifundefined{@keywords}{}{% + \par\vspace{0.12in}\textit{Keywords:} \@keywords% + }% + }\vspace{0.25in}% + } + \end{center} + \pagenumbering{arabic} + \thispagestyle{empty} + + \@ifundefined{apaSix@maskauthoridentity}{% BDB + + \@ifundefined{@acks} + {} + {\begin{figure}[b] + \parbox{\textwidth}{ \setlength{\parindent}{0.2in} + \noindent \makebox[\linewidth]{\vrule height0.125pt width\linewidth} + + \vspace*{0.05in} + {\footnotesize + \indent \@acks + + }} + \end{figure}} + + }{% mask author identity -- show nothing in the author note space + } + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \markboth{\hfill \r@headl \hfill}{\hfill \r@headr \hfill} + \let\tabular\apaSix@doc@tabular% -- thp 2006/01/02 + \let\endtabular\apaSix@doc@endtabular% -- thp 2006/01/03 +} + +\setlength{\topmargin}{-0.25in} +\setlength{\oddsidemargin}{0.25in} +\setlength{\evensidemargin}{0.25in} +\setlength{\textwidth}{6in} +\setlength{\textheight}{8.5in} +\setcounter{secnumdepth}{0} +\flushbottom + +\setcounter{topnumber}{2} +\def\topfraction{.7} +\setcounter{bottomnumber}{2} +\def\bottomfraction{.6} +\setcounter{totalnumber}{3} +\def\textfraction{.2} +\def\floatpagefraction{.7} +\setcounter{dbltopnumber}{2} +\def\dbltopfraction{.8} +\def\dblfloatpagefraction{.8} +\def\dbltextfloatsep{0.8\textfloatsep} + +\def\helvetica{\relax} +%%\def\timesroman{\relax}% Commented out all \timesroman -- thp 2005/07/23 + +\@ifundefined{def@apacite}{}{% -- Philip Kime 2008/12/03 + % Removed defs as per the instructions of Erik Meijer -- thp 2005/07/23 + \renewcommand{\bibliographytypesize}{\small}} +\@ifundefined{def@natbib}{}{% -- Philip Kime 2008/12/03 + % Removed defs as per the instructions of Erik Meijer -- thp 2005/07/23 + \renewcommand{\bibliographytypesize}{\small}} + + +}% end of doc mode (regular LaTeX format) + + + +\let\ignore\@gobble + +\@ifundefined{def@apacite}{}{% -- Philip Kime 2008/12/03 + \bibliographystyle{apacite} + % + % Thanks to Donald Arsenau for the right way to ignore \bibliographystyle + % + \def\bibliographystyle#1{\ClassWarning{apa6}{\string\bibliographystyle\space + command ignored}}} + +\@ifundefined{def@natbib}{}{% -- Philip Kime 2008/12/03 + \bibliographystyle{apacite} + % + % Thanks to Donald Arsenau for the right way to ignore \bibliographystyle + % + \def\bibliographystyle#1{\ClassWarning{apa6}{\string\bibliographystyle\space + command ignored}}} + + +%% +%% Copyright (C) 2011 by Brian D. Beitzel <brian at beitzel.com> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License (LPPL), either +%% version 1.3c of this license or (at your option) any later +%% version. The latest version of this license is in the file: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% Users may freely modify these files without permission, as long as the +%% copyright line and this statement are maintained intact. +%% +%% This work is not endorsed by, affiliated with, or probably even known +%% by, the American Psychological Association. +%% +%% This work is "maintained" (as per LPPL maintenance status) by +%% Brian D. Beitzel. +%% +%% This work consists of the file apa6.dtx +%% and the derived files apa6.ins, +%% apa6.cls, +%% apa6.pdf, +%% README.txt, +%% APAamerican.txt, +%% APAdutch.txt, +%% APAenglish.txt, +%% APAgreek.txt, +%% APAendfloat.cfg, +%% apa6.ptex, +%% Figure1.pdf, +%% shortsample.tex, +%% longsample.tex, and +%% bibliography.bib. +%% +%% +%% End of file `apa6.cls'. diff --git a/Master/texmf-dist/tex/latex/apa6/config/APAamerican.txt b/Master/texmf-dist/tex/latex/apa6/config/APAamerican.txt new file mode 100644 index 00000000000..2364ca55970 --- /dev/null +++ b/Master/texmf-dist/tex/latex/apa6/config/APAamerican.txt @@ -0,0 +1,72 @@ +%% +%% This is file `./config/APAamerican.txt', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% apa6.dtx (with options: `american') +%% ---------------------------------------------------------------------- +%% +%% apa6 - A LaTeX class for formatting documents in compliance with the +%% American Psychological Association's Publication Manual, 6th edition +%% +%% Copyright (C) 2011 by Brian D. Beitzel <brian at beitzel.com> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License (LPPL), either +%% version 1.3c of this license or (at your option) any later +%% version. The latest version of this license is in the file: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% Users may freely modify these files without permission, as long as the +%% copyright line and this statement are maintained intact. +%% +%% This work is not endorsed by, affiliated with, or probably even known +%% by, the American Psychological Association. +%% +%% ---------------------------------------------------------------------- +%% +\ProvidesFile{APAamerican.txt}[2011/10/08 v1.0 apa6 configuration for American English] + +\renewcommand{\rheadname}{Running head:} +\renewcommand{\acksname}{Author Note} +\renewcommand{\notesname}{Footnotes} + +%% +%% Copyright (C) 2011 by Brian D. Beitzel <brian at beitzel.com> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License (LPPL), either +%% version 1.3c of this license or (at your option) any later +%% version. The latest version of this license is in the file: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% Users may freely modify these files without permission, as long as the +%% copyright line and this statement are maintained intact. +%% +%% This work is not endorsed by, affiliated with, or probably even known +%% by, the American Psychological Association. +%% +%% This work is "maintained" (as per LPPL maintenance status) by +%% Brian D. Beitzel. +%% +%% This work consists of the file apa6.dtx +%% and the derived files apa6.ins, +%% apa6.cls, +%% apa6.pdf, +%% README.txt, +%% APAamerican.txt, +%% APAdutch.txt, +%% APAenglish.txt, +%% APAgreek.txt, +%% APAendfloat.cfg, +%% apa6.ptex, +%% Figure1.pdf, +%% shortsample.tex, +%% longsample.tex, and +%% bibliography.bib. +%% +%% +%% End of file `./config/APAamerican.txt'. diff --git a/Master/texmf-dist/tex/latex/apa6/config/APAdutch.txt b/Master/texmf-dist/tex/latex/apa6/config/APAdutch.txt new file mode 100644 index 00000000000..8bc34637079 --- /dev/null +++ b/Master/texmf-dist/tex/latex/apa6/config/APAdutch.txt @@ -0,0 +1,72 @@ +%% +%% This is file `./config/APAdutch.txt', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% apa6.dtx (with options: `dutch') +%% ---------------------------------------------------------------------- +%% +%% apa6 - A LaTeX class for formatting documents in compliance with the +%% American Psychological Association's Publication Manual, 6th edition +%% +%% Copyright (C) 2011 by Brian D. Beitzel <brian at beitzel.com> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License (LPPL), either +%% version 1.3c of this license or (at your option) any later +%% version. The latest version of this license is in the file: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% Users may freely modify these files without permission, as long as the +%% copyright line and this statement are maintained intact. +%% +%% This work is not endorsed by, affiliated with, or probably even known +%% by, the American Psychological Association. +%% +%% ---------------------------------------------------------------------- +%% +\ProvidesFile{APAdutch.txt}[2011/10/08 v1.0 apa6 configuration for Dutch] + +\renewcommand{\rheadname}{Kopregel:}% Running head: +\renewcommand{\acksname}{Auteursnoot}% Author Note +\renewcommand{\notesname}{Voetnoten}% Footnotes + +%% +%% Copyright (C) 2011 by Brian D. Beitzel <brian at beitzel.com> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License (LPPL), either +%% version 1.3c of this license or (at your option) any later +%% version. The latest version of this license is in the file: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% Users may freely modify these files without permission, as long as the +%% copyright line and this statement are maintained intact. +%% +%% This work is not endorsed by, affiliated with, or probably even known +%% by, the American Psychological Association. +%% +%% This work is "maintained" (as per LPPL maintenance status) by +%% Brian D. Beitzel. +%% +%% This work consists of the file apa6.dtx +%% and the derived files apa6.ins, +%% apa6.cls, +%% apa6.pdf, +%% README.txt, +%% APAamerican.txt, +%% APAdutch.txt, +%% APAenglish.txt, +%% APAgreek.txt, +%% APAendfloat.cfg, +%% apa6.ptex, +%% Figure1.pdf, +%% shortsample.tex, +%% longsample.tex, and +%% bibliography.bib. +%% +%% +%% End of file `./config/APAdutch.txt'. diff --git a/Master/texmf-dist/tex/latex/apa6/config/APAendfloat.cfg b/Master/texmf-dist/tex/latex/apa6/config/APAendfloat.cfg new file mode 100644 index 00000000000..733adfeb6fd --- /dev/null +++ b/Master/texmf-dist/tex/latex/apa6/config/APAendfloat.cfg @@ -0,0 +1,149 @@ +%% +%% This is file `./config/APAendfloat.cfg', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% apa6.dtx (with options: `APAendfloat') +%% ---------------------------------------------------------------------- +%% +%% apa6 - A LaTeX class for formatting documents in compliance with the +%% American Psychological Association's Publication Manual, 6th edition +%% +%% Copyright (C) 2011 by Brian D. Beitzel <brian at beitzel.com> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License (LPPL), either +%% version 1.3c of this license or (at your option) any later +%% version. The latest version of this license is in the file: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% Users may freely modify these files without permission, as long as the +%% copyright line and this statement are maintained intact. +%% +%% This work is not endorsed by, affiliated with, or probably even known +%% by, the American Psychological Association. +%% +%% ---------------------------------------------------------------------- +%% +%% +%% This is file `endfloat.cfg', +%% modifed from the original supplied with the endfloat package +%% to handle both sideways floats and longtable +%% +%% Athanassios Protopapas <protopap@ilsp.gr> +%% July 2005 +%% +%% Original authors: James Darrell McCauley <jdm5548@diamond.tamu.edu>, +%% Jeff Goldberg <j.goldberg@cranfield.ac.uk> +%% Original version: Version 2.4i <October 1995> +%% +\RequirePackage{rotating} +\let\efsaved@sidewaysfigure\sidewaysfigure +\let\efsaved@sidewaystable\sidewaystable +\let\efsaved@longtable\longtable +\AtBeginTables{\let\sidewaystable=\efsaved@sidewaystable\relax} +\AtBeginTables{\let\longtable=\efsaved@longtable\relax} +\AtBeginFigures{\let\sidewaysfigure=\efsaved@sidewaysfigure\relax} +\def\sidewaystable{\efloat@condopen{ttt} + \efloat@iwrite{ttt}{\string\begin{sidewaystable}}% + \if@domarkers + \addtocounter{posttbl}{1} + \tableplace + \fi + \def\@currenvir{efloat@float}% + \begingroup + \let\do\ef@makeinnocent \dospecials + \ef@makeinnocent\^^L% and whatever other special cases + \endlinechar`\^^M \catcode`\^^M=12 \ef@xsidetable} +{\catcode`\^^M=12 \endlinechar=-1 % + \gdef\ef@xsidetable#1^^M{\def\test{#1} + \ifx\test\ef@endsidetabletest + \efloat@foundend{ttt}{sidewaystable} + \else + \efloat@iwrite{ttt}{#1}% + \let\next\ef@xsidetable + \fi \next} +} +\def\sidewaysfigure{\efloat@condopen{fff} + \efloat@iwrite{fff}{\string\begin{sidewaysfigure}}% + \if@domarkers + \addtocounter{postfig}{1} + \figureplace + \fi + \def\@currenvir{efloat@float}% + \begingroup + \let\do\ef@makeinnocent \dospecials + \ef@makeinnocent\^^L% and whatever other special cases + \endlinechar`\^^M \catcode`\^^M=12 \ef@xsidefigure} +{\catcode`\^^M=12 \endlinechar=-1 % + \gdef\ef@xsidefigure#1^^M{\def\test{#1} + \ifx\test\ef@endsidefiguretest + \efloat@foundend{fff}{sidewaysfigure} + \else + \efloat@iwrite{fff}{#1}% + \let\next\ef@xsidefigure + \fi \next} +} +\def\longtable{\efloat@condopen{ttt} + \efloat@iwrite{ttt}{\string\begin{longtable}}% + \if@domarkers + \addtocounter{posttbl}{1} + \tableplace + \fi + \def\@currenvir{efloat@float}% + \begingroup + \let\do\ef@makeinnocent \dospecials + \ef@makeinnocent\^^L% and whatever other special cases + \endlinechar`\^^M \catcode`\^^M=12 \ef@xlongtable} +{\catcode`\^^M=12 \endlinechar=-1 % + \gdef\ef@xlongtable#1^^M{\def\test{#1} + \ifx\test\ef@endlongtabletest + \efloat@foundend{ttt}{longtable} + \else + \efloat@iwrite{ttt}{#1}% + \let\next\ef@xlongtable + \fi \next} +} +{\escapechar=-1% + \xdef\ef@endsidefiguretest{\string\\end\string\{sidewaysfigure\string\}}% + \xdef\ef@endsidetabletest{\string\\end\string\{sidewaystable\string\}} + \xdef\ef@endlongtabletest{\string\\end\string\{longtable\string\}}}% +%% +%% Copyright (C) 2011 by Brian D. Beitzel <brian at beitzel.com> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License (LPPL), either +%% version 1.3c of this license or (at your option) any later +%% version. The latest version of this license is in the file: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% Users may freely modify these files without permission, as long as the +%% copyright line and this statement are maintained intact. +%% +%% This work is not endorsed by, affiliated with, or probably even known +%% by, the American Psychological Association. +%% +%% This work is "maintained" (as per LPPL maintenance status) by +%% Brian D. Beitzel. +%% +%% This work consists of the file apa6.dtx +%% and the derived files apa6.ins, +%% apa6.cls, +%% apa6.pdf, +%% README.txt, +%% APAamerican.txt, +%% APAdutch.txt, +%% APAenglish.txt, +%% APAgreek.txt, +%% APAendfloat.cfg, +%% apa6.ptex, +%% Figure1.pdf, +%% shortsample.tex, +%% longsample.tex, and +%% bibliography.bib. +%% +%% +%% End of file `./config/APAendfloat.cfg'. diff --git a/Master/texmf-dist/tex/latex/apa6/config/APAenglish.txt b/Master/texmf-dist/tex/latex/apa6/config/APAenglish.txt new file mode 100644 index 00000000000..71941d82584 --- /dev/null +++ b/Master/texmf-dist/tex/latex/apa6/config/APAenglish.txt @@ -0,0 +1,72 @@ +%% +%% This is file `./config/APAenglish.txt', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% apa6.dtx (with options: `english') +%% ---------------------------------------------------------------------- +%% +%% apa6 - A LaTeX class for formatting documents in compliance with the +%% American Psychological Association's Publication Manual, 6th edition +%% +%% Copyright (C) 2011 by Brian D. Beitzel <brian at beitzel.com> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License (LPPL), either +%% version 1.3c of this license or (at your option) any later +%% version. The latest version of this license is in the file: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% Users may freely modify these files without permission, as long as the +%% copyright line and this statement are maintained intact. +%% +%% This work is not endorsed by, affiliated with, or probably even known +%% by, the American Psychological Association. +%% +%% ---------------------------------------------------------------------- +%% +\ProvidesFile{APAenglish.txt}[2011/10/08 v1.0 apa6 configuration for non-American English] + +\renewcommand{\rheadname}{Running head:} +\renewcommand{\acksname}{Author Note} +\renewcommand{\notesname}{Footnotes} + +%% +%% Copyright (C) 2011 by Brian D. Beitzel <brian at beitzel.com> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License (LPPL), either +%% version 1.3c of this license or (at your option) any later +%% version. The latest version of this license is in the file: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% Users may freely modify these files without permission, as long as the +%% copyright line and this statement are maintained intact. +%% +%% This work is not endorsed by, affiliated with, or probably even known +%% by, the American Psychological Association. +%% +%% This work is "maintained" (as per LPPL maintenance status) by +%% Brian D. Beitzel. +%% +%% This work consists of the file apa6.dtx +%% and the derived files apa6.ins, +%% apa6.cls, +%% apa6.pdf, +%% README.txt, +%% APAamerican.txt, +%% APAdutch.txt, +%% APAenglish.txt, +%% APAgreek.txt, +%% APAendfloat.cfg, +%% apa6.ptex, +%% Figure1.pdf, +%% shortsample.tex, +%% longsample.tex, and +%% bibliography.bib. +%% +%% +%% End of file `./config/APAenglish.txt'. diff --git a/Master/texmf-dist/tex/latex/apa6/config/APAgreek.txt b/Master/texmf-dist/tex/latex/apa6/config/APAgreek.txt new file mode 100644 index 00000000000..e74e02cde27 --- /dev/null +++ b/Master/texmf-dist/tex/latex/apa6/config/APAgreek.txt @@ -0,0 +1,72 @@ +%% +%% This is file `./config/APAgreek.txt', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% apa6.dtx (with options: `greek') +%% ---------------------------------------------------------------------- +%% +%% apa6 - A LaTeX class for formatting documents in compliance with the +%% American Psychological Association's Publication Manual, 6th edition +%% +%% Copyright (C) 2011 by Brian D. Beitzel <brian at beitzel.com> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License (LPPL), either +%% version 1.3c of this license or (at your option) any later +%% version. The latest version of this license is in the file: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% Users may freely modify these files without permission, as long as the +%% copyright line and this statement are maintained intact. +%% +%% This work is not endorsed by, affiliated with, or probably even known +%% by, the American Psychological Association. +%% +%% ---------------------------------------------------------------------- +%% +\ProvidesFile{APAgreek.txt}[2011/10/08 v1.0 apa6 configuration for Greek] + +\renewcommand{\rheadname}{Up'ertitlos:}% Running head: +\renewcommand{\acksname}{Shmei'wseis tou suggraf'ea}% Author Note +\renewcommand{\notesname}{Uposhmei'wseis}% Footnotes + +%% +%% Copyright (C) 2011 by Brian D. Beitzel <brian at beitzel.com> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License (LPPL), either +%% version 1.3c of this license or (at your option) any later +%% version. The latest version of this license is in the file: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% Users may freely modify these files without permission, as long as the +%% copyright line and this statement are maintained intact. +%% +%% This work is not endorsed by, affiliated with, or probably even known +%% by, the American Psychological Association. +%% +%% This work is "maintained" (as per LPPL maintenance status) by +%% Brian D. Beitzel. +%% +%% This work consists of the file apa6.dtx +%% and the derived files apa6.ins, +%% apa6.cls, +%% apa6.pdf, +%% README.txt, +%% APAamerican.txt, +%% APAdutch.txt, +%% APAenglish.txt, +%% APAgreek.txt, +%% APAendfloat.cfg, +%% apa6.ptex, +%% Figure1.pdf, +%% shortsample.tex, +%% longsample.tex, and +%% bibliography.bib. +%% +%% +%% End of file `./config/APAgreek.txt'. |