4

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.

enter image description here

3
  • 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, 2016 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). Jan 15, 2017 at 16:15
  • I came a cross another problem when using the authblk package, which is that all indents were removed from my paper, and \indent no longer worked. I do not really understand why the authblk package is needed anyway, as you can simply type out the output authblk would yield in the \author{} command (e.g., \author{Author1\textsuperscript{1} and Author2\textsuperscript{2}. As for the affiliation, you can use \affiliation{} with a manual break to produce the same type of output (e.g., \affiliation{\textsuperscript{1}Affiliation 1\\ \textsuperscript{2}Affiliation 2}. Feb 22, 2020 at 10:57

1 Answer 1

3
\affiliation{~}

This code works for me.

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.

2
  • 1
    How about adding some explanation?
    – Werner
    Aug 2, 2018 at 18:31
  • That worked for me too. No idea why it works.
    – Wayne
    Jun 11, 2020 at 21:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .