In trying to answer another question, I would like to split the \author command by author (that is, at each \and) and then for each author give author and affiliation separate fonts---without using the authblk package. I'm trying to wrap my head around an answer to an old question, but can't quite seem to bend it to my will.
The old answer redefines both \author and \@author, which I would like to avoid as I suspect it might be a bad idea. I have managed to avoid redefining \@author by replacing its role with \FPA@author, but I cannot seem to get out of redefining \author. I would have thought that I could just replace (2) below with (1), but to no avail.
Also, I don't understand why \FPA@FormatAuthor doesn't work as intended. I would have thought that the entire affiliation would be in italics and not just the first character... Any hints as to why this is would be much appreciated.
\documentclass{article}
\makeatletter
\usepackage{xpatch}
\renewcommand{\@maketitle}{
\newpage
\let \footnote \thanks
% \let\FPA@tmp\noexpand\split@and\@author\and\@nil % (1)
{\flushleft\@title \par}%
\vskip 1.5em%
{\flushleft
\lineskip .5em%
\FPA@author}
\vskip 1em%
{\flushleft \@date}%
\par
\vskip 1.5em}
\def\FPA@author{}
\def\split@and#1\and#2{%
\g@addto@macro\FPA@author{\FPA@FormatAuthor#1\\}%
\ifx#2\@nil\else
\expandafter\split@and\expandafter#2\fi
}
\def\author#1{\split@and#1\and\@nil} % (2)
\def\FPA@FormatAuthor#1\\#2{{\bfseries#1} \\ {\itshape#2}}
\makeatother
\title{On the Origins of the Philosopher's Stone}
\author{Albus Dumbledore\thanks{A footnote} \ Hogwarts School of Witchcraft and Wizardry, International Confederation of Wizards, and the Wizengamot \and Nicholas Flamel\Beauxbatons Academy of Magic}
\date{\today}
\begin{document}
\maketitle
\end{document}

\emptybe a good choice to use as the second delimiter of\FPA@FormatAuthor? – Fredrik P Apr 09 '21 at 07:49\authorwould work. – Willie Wong Apr 09 '21 at 13:04