diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/apa6/apa6.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/apa6/apa6.cls | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/apa6/apa6.cls b/Master/texmf-dist/tex/latex/apa6/apa6.cls index eda61101277..806a880e952 100644 --- a/Master/texmf-dist/tex/latex/apa6/apa6.cls +++ b/Master/texmf-dist/tex/latex/apa6/apa6.cls @@ -10,7 +10,7 @@ %% apa6 - A LaTeX class for formatting documents in compliance with the %% American Psychological Association's Publication Manual, 6th edition %% -%% Copyright (C) 2011-2020 by Brian D. Beitzel <brian at beitzel.com> +%% Copyright (C) 2011-2023 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 @@ -27,7 +27,7 @@ %% %% ---------------------------------------------------------------------- %% -\ProvidesClass{apa6}[2020/01/13 v2.34 APA formatting (6th edition)] +\ProvidesClass{apa6}[2023/08/07 v2.35 APA formatting (6th edition)] \NeedsTeXFormat{LaTeX2e} \DeclareOption{man}{% @@ -305,6 +305,8 @@ \RequirePackage{graphicx} % this is for including graphics +\RequirePackage{gettitlestring} % this helps clean up section and title references + \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 @@ -932,10 +934,9 @@ % 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{% - \makeatletter% - \def\@currentlabelname{##1}% - \makeatother% +\long\def\section##1{% + \GetTitleString{##1}% + \let\@currentlabelname\GetTitleStringResult \ifapamodeman{% \clearpage \setcounter{postfig}{0} @@ -1300,7 +1301,7 @@ \@ifundefined{def@jou}{}{% -\IfFileExists{flushend.sty}{\RequirePackage[keeplastbox]{flushend}}{} +\IfFileExists{flushend.sty}{\RequirePackage{flushend}}{} \IfFileExists{ftnright.sty}{ @@ -1774,7 +1775,7 @@ %% -%% Copyright (C) 2011-2020 by Brian D. Beitzel <brian at beitzel.com> +%% Copyright (C) 2011-2023 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 |