Syntax for `NewDocumentCommand`
up vote
5
down vote
favorite
The xparse documentation gives examples of names of NewDocumentCommand s enclosed in braces , and without braces , as demonstrated in the two commands below. Is there any difference in functionality whatsoever between the two? I never use braces and better be safe than sorry. documentclass{article} %======================= usepackage{xparse} %----------------------- ExplSyntaxOn NewDocumentCommandmyExp{m}{#1} NewDocumentCommand{myExpAlt}{m}{#1} ExplSyntaxOff %----------------------- begin{document} myExp{101} myExpAlt{123} end{document}
xparse
share | improve this question
asked Dec 10 at 7:05
...