summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/apa7/apa7.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/apa7/apa7.dtx')
-rw-r--r--macros/latex/contrib/apa7/apa7.dtx19
1 files changed, 7 insertions, 12 deletions
diff --git a/macros/latex/contrib/apa7/apa7.dtx b/macros/latex/contrib/apa7/apa7.dtx
index 47b0ca5af8..fcaeda30fb 100644
--- a/macros/latex/contrib/apa7/apa7.dtx
+++ b/macros/latex/contrib/apa7/apa7.dtx
@@ -4,11 +4,11 @@
% %
% CHANGE THESE VALUES WITH EACH NEW RELEASE: %
% %
-%<class>\ProvidesClass{apa7}[2020/05/10 v1.07 APA formatting (7th edition)]
+%<class>\ProvidesClass{apa7}[2020/05/27 v1.08 APA formatting (7th edition)]
% %
%<*internal> %
-\def\apaSevenVersionDate{2020/05/10}
-\def\apaSevenVersionNumber{1.07}
+\def\apaSevenVersionDate{2020/05/27}
+\def\apaSevenVersionNumber{1.08}
% %
% %
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -243,6 +243,8 @@ and the derived files apa7.ins,
%
% \changes{v1.07}{2020/05/10}{Fixed bug in figurenote command. Fixed figure title formatting in doc mode. Thanks RH.}
%
+% \changes{v1.08}{2020/05/27}{Added support for optional running head (shorttitle) in stu mode.}
+%
% \begin{abstract}
% The \textit{Publication Manual} of the American Psychological
% Association is widely used in the social sciences. The most
@@ -1907,6 +1909,8 @@ and the derived files apa7.ins,
\ClassWarningNoLine{apa7}{Professor not defined}}{}
\@ifundefined{@duedate}{%
\ClassInfo{apa7}{Due date not defined}}{}
+ \@ifundefined{@shorttitle}{%
+ \def\@shorttitle{}}{}
}
\@ifundefined{@authorSix}{% % -- thp 2006/01/05
\@ifundefined{@authorFive}{% % -- thp 2006/01/05
@@ -2193,7 +2197,6 @@ and the derived files apa7.ins,
\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
-\@ifundefined{def@stu}{ %Professional manuscript
\fancypagestyle{titlepage}{%
\lhead{\MakeUppercase{\@shorttitle}}%
\rhead{\thepage}%
@@ -2202,15 +2205,7 @@ and the derived files apa7.ins,
\lhead{\MakeUppercase{\@shorttitle}}%
\rhead{\thepage}%
}
-\pagestyle{otherpage}}{ %Student manuscript
-\fancypagestyle{titlepage}{%
- \rhead{\thepage}%
-}
-\fancypagestyle{otherpage}{%
- \rhead{\thepage}%
-}
\pagestyle{otherpage}
-}
%========== Alterations to endnotes ===================