Skip to content
Snippets Groups Projects
Commit 94c0c26b authored by Martin Erola's avatar Martin Erola
Browse files

Protect fragile parbox in demothesis author field


On some older versions of LaTeX, an error occurs when trying to use a
"\parbox" within the author field of the demothesis:
  ! Argument of \reserved@a has an extra }.

For example, the error occurs on Ubuntu 14.04 LTS when using the LaTeX
packages available in default repositories (i.e. TeX Live 2013/Debian).
It doesn't seem to occur on Ubuntu 16.04 LTS (TeX Live 2015/Debian).

For more information about this kind of error, do a web search for:
  Use of fragile command in a moving argument

Signed-off-by: default avatarMartin Erola <marer248@student.liu.se>
parent f9222a29
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,7 @@
\dateofpublication{2015-05-08}
%\author{\texttt{\textbackslash author}}
\author{\parbox{\textwidth}{Ola Leifler\\
\author{\protect\parbox{\textwidth}{Ola Leifler\\
Alexander Sanner}}
\begin{document}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment