Am Fri, 18 Nov 2016 11:49:08 +0200 schrieb Johann Spies: > ! Missing number, treated as zero. > <to be read again> > \protect > \renewcommand{\mag}[1]{\textcolor{magenta}{#1}} \mag is a primitive command (an integer) and it is quite a bad idea to redefine it. -- Ulrike Fischer http://www.troubleshooting-tex.de/