![macros - How can I differentiate in \newcommand between an unused optional argument and an empty one? - TeX - LaTeX Stack Exchange macros - How can I differentiate in \newcommand between an unused optional argument and an empty one? - TeX - LaTeX Stack Exchange](https://i.stack.imgur.com/sAxjs.png)
macros - How can I differentiate in \newcommand between an unused optional argument and an empty one? - TeX - LaTeX Stack Exchange
![How to interpret the syntax of \newcommand in latex in comparison with the command it defines - Stack Overflow How to interpret the syntax of \newcommand in latex in comparison with the command it defines - Stack Overflow](https://i.stack.imgur.com/SuFwi.png)
How to interpret the syntax of \newcommand in latex in comparison with the command it defines - Stack Overflow
![macros - naming argument and optional-argument for \def, \newcommand and newenvironment - TeX - LaTeX Stack Exchange macros - naming argument and optional-argument for \def, \newcommand and newenvironment - TeX - LaTeX Stack Exchange](https://i.stack.imgur.com/N89Gd.png)
macros - naming argument and optional-argument for \def, \newcommand and newenvironment - TeX - LaTeX Stack Exchange
How to check for optional arguments of macro and modify expansion accordingly? · KaTeX KaTeX · Discussion #3520 · GitHub
![spacing - How does xparse's routine for looking for an optional argument do the trick of preserving space-tokens in case no optional argument is present? - TeX - LaTeX Stack Exchange spacing - How does xparse's routine for looking for an optional argument do the trick of preserving space-tokens in case no optional argument is present? - TeX - LaTeX Stack Exchange](https://i.stack.imgur.com/ocBw7.png)
spacing - How does xparse's routine for looking for an optional argument do the trick of preserving space-tokens in case no optional argument is present? - TeX - LaTeX Stack Exchange
![Autocompletion of locally defined commands assumes wrong number of arguments · Issue #1322 · SublimeText/LaTeXTools · GitHub Autocompletion of locally defined commands assumes wrong number of arguments · Issue #1322 · SublimeText/LaTeXTools · GitHub](https://user-images.githubusercontent.com/20044139/39871444-37d79346-5465-11e8-9181-8ff647df277b.png)