# Authors with different affiliations on one line in apa6

When using this example:

\documentclass[man,apacite]{apa6}
\usepackage{authblk}

\title{TITLE}
\shorttitle{SHORT TITLE}
\author[1]{Author 1}
\author[2]{Author 2}
\author[1]{Author 3}
\author[1]{Author 4}
\affil[1]{University 1}
\affil[2]{University 2}
\date{}

\begin{document}
\maketitle
\end{document}


the word "Affiliation" is placed under University 2. I do not understand why this happens.

• I found a workaround using the following code (the problem comes from the apa6 documentclass) \makeatletter \@ifundefined{@affil}{% \def\@affil{\relax}{}} \makeatother But I still get warnings, this time about not being able to close the title environment. – 1047 Aug 15 '16 at 11:26
• Nice workaround, although it gave me a 'There's no line to end here' error at the \maketitle command. So I changed your workaround into: \@ifundefined{@affil}{\def\@affil{~}{}}. I get no errors or warnings (and the ~ sign is invisible). – RemiX Jan 15 '17 at 16:15

\affiliation{~}

Content for \affiliation is required by apa6. If it is blank, 'Affiliation' will be displayed as default content. This code uses invisible content ~ to replace the default content.