expand macro arguments for \newcommand