From 875085fac82bc16d4ecd70bea0b91a85b957bd3e Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 15 Nov 2016 22:46:59 +0000 Subject: apa6 (15nov16) git-svn-id: svn://tug.org/texlive/trunk@42516 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/apa6/apa6.cls | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'Master/texmf-dist/tex/latex/apa6') 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 -- cgit v1.2.3