summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/apa6/apa6.cls
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/apa6/apa6.cls')
-rw-r--r--Master/texmf-dist/tex/latex/apa6/apa6.cls16
1 files changed, 10 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/apa6/apa6.cls b/Master/texmf-dist/tex/latex/apa6/apa6.cls
index b04e2862f3f..6ff61c989cc 100644
--- a/Master/texmf-dist/tex/latex/apa6/apa6.cls
+++ b/Master/texmf-dist/tex/latex/apa6/apa6.cls
@@ -27,7 +27,7 @@
%%
%% ----------------------------------------------------------------------
%%
-\ProvidesClass{apa6}[2016/10/31 v2.23 APA formatting (6th edition)]
+\ProvidesClass{apa6}[2016/11/15 v2.30 APA formatting (6th edition)]
\NeedsTeXFormat{LaTeX2e}
\DeclareOption{man}{%
@@ -655,24 +655,28 @@
{\b@level@two@skip}{\e@level@two@skip}%
{\normalfont\normalsize\bfseries}}
+\newcommand*{\typesectitle}[1]{#1\addperi}
-\newcommand*{\addperi}[1]{#1.}
+\newcommand*{\addperi}{%
+ \relax\ifhmode%
+ \ifnum\spacefactor>\@m \else.\fi%
+ \fi%
+}
\renewcommand{\subsubsection}{\@startsection{subsubsection}{3}{\parindent}%
{0\baselineskip \@plus 0.2ex \@minus 0.2ex}%
{-1em}%
- {\normalfont\normalsize\bfseries\addperi}}
-
+ {\normalfont\normalsize\bfseries\typesectitle}}
\renewcommand{\paragraph}{\@startsection{paragraph}{4}{\parindent}%
{0\baselineskip \@plus 0.2ex \@minus 0.2ex}%
{-1em}%
- {\normalfont\normalsize\bfseries\itshape\addperi}}
+ {\normalfont\normalsize\bfseries\itshape\typesectitle}}
\renewcommand{\subparagraph}[1]{\@startsection{subparagraph}{5}{1em}%
{0\baselineskip \@plus 0.2ex \@minus 0.2ex}%
{-\z@\relax}%
- {\normalfont\normalsize\itshape\hspace{\parindent}{#1}\textit{.}}{\relax}}
+ {\normalfont\normalsize\itshape\hspace{\parindent}{#1}\textit{\addperi}}{\relax}}
\AtBeginDocument{\def\st@rtbibsection{\mspart{\refname}}}% BDB -- this is for apacite
\AtBeginDocument{\def\bibsection{\mspart{\refname}}}% BDB -- this is for apacite + natbib