macros - naming argument and optional-argument for \def, \newcommand and newenvironment - TeX - LaTeX Stack Exchange
Maths preview broken when newcommand default argument is a space · Issue #2219 · James-Yu/LaTeX-Workshop · GitHub
How to write a LaTeX macro that doesn't need a fixed number of arguments | Rainnic in the Clouds
macros - How to create a new command whose single parameter is able to apply to both "caption" and "path" parameters of `lstinputlisting` - TeX - LaTeX Stack Exchange
How to use \newcommand in LaTeX?
How to Define New Commands and Operators - LaTeX Tutorial (Part 7) - YouTube
Make LaTeX easier with custom commands – Water Programming: A Collaborative Research Blog
macros - naming argument and optional-argument for \def, \newcommand and newenvironment - TeX - LaTeX Stack Exchange
LaTeX Tutorial-Page Setup
8. Defining Commands
How to interpret the syntax of \newcommand in latex in comparison with the command it defines - Stack Overflow