[Tex/LaTex] How to modify Subsubsection Header (apa6.cls)

apa6formattingsectioning

I am using the apa6.cls for my document and need a different format of the section headers. I managed to modify the section and subsection header to match my criteria (see below).

But the \subsubsection is still indented and followed by a dot, which I'd like to modify:

Stimulusmaterial.

(with indention)

In the end, the Subsubsection header should look like

Stimulusmaterial

(without indention)

\documentclass[ngerman,man,12pt,a4paper,noextraspace,donotrepeattitle]{apa6}
\usepackage[english,ngerman]{babel}

\begin{document}
\section{\normalfont{Methode}}
\subsection*{\centering\normalfont\textit{Material}}
\subsubsection{\normalfont\textit{Stimulusmaterial}}
\end{document}

As far as I tried, \noindent did'nt work and i have no idea how to remove the dot.

Best Answer

I really don't know why you want to use the apa6.cls and, most of all, try to change the appearance of the section titles. The class is intended for submissions and not for real typesetting: the format it uses is typographically ugly.

Anyway, here's how you can change the appearance according to your wishes.

\documentclass[ngerman,man,12pt,a4paper,noextraspace,donotrepeattitle]{apa6}
\usepackage[english,ngerman]{babel}

\makeatletter
\renewcommand{\section}{\@startsection {section}{1}
  {\z@}
  {\b@level@one@skip}
  {\e@level@one@skip}
  {\centering\normalfont\normalsize}}
\renewcommand{\subsection}{\@startsection{subsection}{2}
  {\z@}
  {\b@level@two@skip}
  {\e@level@two@skip}
  {\centering\normalfont\normalsize\itshape}}
\renewcommand{\subsubsection}{\@startsection{subsubsection}{3}
  {\z@}
  {0\baselineskip \@plus 0.2ex \@minus 0.2ex}
  {-1em}%
  {\normalfont\normalsize\itshape}}
\makeatother

\begin{document}
\title{X}
\author{Y}
\maketitle

\section{Methode}

\subsection{Material}

\subsubsection{Stimulus material}

Some text following.

\end{document}

enter image description here