I have a problem with the \and
command in an \author
tag. My documentclass is \documentclass[11pt,twoside]{eitExjobb}
and the .cls file can be found here: http://cl.ly/code/28202Q2P3I3g
My code:
\Title{Title here}
\Author{John Doe \\
\texttt{john@email.com}
\and
Jane Doe \\
\texttt{jane@email.com}
}
\Date{\today}
\Advisor{Some Person}
\MakeTitlePage
And this is the error I get:
! Misplaced \crcr.
\endtabular ->\crcr
\egroup \egroup $\egroup
l.38 \MakeTitlePage
Best Answer
In the standard class the author is printed inside the environment
tabular
. Therefor the command\and
is defined as:In your case you don't need an extra
\and
. You document class puts the author in a center environment. So you can use