I want to make the code shorter. I defined the following pair of macros:
My point is that I saw this in a document, with
instead. The first pair of macros do not compile (on sharelatex.com), and the second one does. Why?