Skip to content
Snippets Groups Projects
Commit 83ce7412 authored by Ola Leifler's avatar Ola Leifler
Browse files

Merge branch 'demothesis-protect-fragile-parbox' into 'master'

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

See merge request !5
parents f9222a29 94c0c26b
No related branches found
No related tags found
1 merge request!5Protect fragile parbox in demothesis author field
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
\dateofpublication{2015-05-08} \dateofpublication{2015-05-08}
%\author{\texttt{\textbackslash author}} %\author{\texttt{\textbackslash author}}
\author{\parbox{\textwidth}{Ola Leifler\\ \author{\protect\parbox{\textwidth}{Ola Leifler\\
Alexander Sanner}} Alexander Sanner}}
\begin{document} \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