Wenn es möglich ist den Zwischenschritt wegzulassen, umso besser.
Hat jemand eine Idee?
Vielen Dank!
% !TeX program = lualatex % !TeX encoding = UTF-8 % !TeX spellcheck = de_DE_frami % \documentclass[paper=A4, 11pt]{scrartcl} \usepackage{fontspec} \usepackage{polyglossia} \setdefaultlanguage[variant=german, spelling=new, babelshorthands=true]{german} \newcounter{slotcounter} \newcounter{tempcounter} \setcounter{slotcounter}{3} \setcounter{tempcounter}{7} \begin{document} \expandafter\newsavebox\csname monslots\theslotcounter\endcsname \expandafter\savebox\csname monslots\theslotcounter\endcsname{13} \makeatletter \protected@edef\tempcoma{\expandafter\usebox\csname monslots\theslotcounter\endcsname} \tempcoma\newline \setcounter{tempcounter}{\tempcoma} \thetempcounter \makeatother \end{document}