diff options
author | Karl Berry <karl@freefriends.org> | 2016-11-15 22:46:59 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-11-15 22:46:59 +0000 |
commit | 875085fac82bc16d4ecd70bea0b91a85b957bd3e (patch) | |
tree | 29b20ec52a5be678e5b37958d95d884d76a67bfb /Master/texmf-dist/tex/latex/apa6/apa6.cls | |
parent | 9a85ca320191b3d06008f820b014995ad9dc7d6b (diff) |
apa6 (15nov16)
git-svn-id: svn://tug.org/texlive/trunk@42516 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/apa6/apa6.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/apa6/apa6.cls | 16 |
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 |