# Aligning names within the \author command

I need to present a College assignment and it has to be in article style. My problem is that right after the title I've got to add my professor's name and my working group. I tried this:

\author{\textbf{Professor:} Professor's name
\\  \textbf{Working Group:} Member 1 \\ Member 2 \\ Member 3}


But the result is not visually appealing 'cause nothing is aligned and looks pretty unnatural. Is there a way to improve this presentation?

Also, I would like to add my institution's name somewhere (it's not mandatory) but I don't know how to do it with the \maketitle command I’m using. Any advice on this is also appreciated.

In the default article document class the authors are set in a top-aligned tabular (with one centred column), as defined in \@maketitle:

\def\@maketitle{%
\newpage
\null
\vskip 2em%
\begin{center}%
\let \footnote \thanks
{\LARGE \@title \par}%
\vskip 1.5em%
{\large
\lineskip .5em%
\begin{tabular}[t]{c}% <------
\@author%            <------ Authors
\end{tabular}\par}%    <------
\vskip 1em%
{\large \@date}%
\end{center}%
\par
\vskip 1.5em}


As such, if you're interested in a specific alignment, set the authors using a nested tabular:

\documentclass{article}
\title{This is a title}
\author{\begin{tabular}{rl}
\textbf{Professor:} & Professor's name \\
\textbf{Working Group:} & Member 1 \\ & Member 2 \\ & Member 3
\end{tabular}}
\begin{document}
\maketitle

Here is some text.
\end{document}


Alternatively, utilize the single centred column in the following way:

\documentclass{article}
\title{This is a title}
\author{\textbf{Professor:} \\  Professor's name \\
\textbf{Working Group:} \\
Member 1 \quad Member 2 \quad Member 3}
\begin{document}
\maketitle

Here is some text.
\end{document}

• In Beamer I get ! Use of \begin doesn't match its definition. Is there an analogous way?
– Leo
Mar 19, 2014 at 16:33
• @Leo: Which of the above code did you use with beamer?
– Werner
Mar 19, 2014 at 17:03
• The one with the \begin{tabular}{rl}.
– Leo
Mar 19, 2014 at 18:26
• @Leo: This is because beamer sets the author information in the footer as well, and there must be something amiss with that translation. Since the fix might be not as easy, I suggest posting a follow-up question, linking back to this one. Also remember to supply a minimal working example (MWE).
– Werner
Mar 19, 2014 at 18:44
• Thanks. I added it here: tex.stackexchange.com/questions/166531
– Leo
Mar 19, 2014 at 19:32