What's wrong with this macro definition `\newcommand{\funk}[2]{#1}{-#2}`? – tex.stackexchange.com

Here is a MnWE: \documentclass{minimal} \usepackage{amsmath} \newcommand{\funk}[2]{#1}{-#2} \begin{document} $\funk{x}{2}$ \end{document} It does not compile, giving me the error message: ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "What's wrong with this macro definition `\newcommand{\funk}[2]{#1}{-#2}`? – tex.stackexchange.com"