lualatex-tools / luaformatters

Creating macros for LuaLaTeX packages
GNU General Public License v3.0
0 stars 0 forks source link

Enable \renewcommand and \providecommand #24

Closed uliska closed 5 years ago

uliska commented 5 years ago

Add an option the formatter entry table that allows to use \renewcommand or \providecommand instead of \newcommand.

Both these two may be valid approaches to defining macros.

(Additionally it might make sense to let the command be specified with \newcommand* (I didn't do this since the defined macros may or may not be compatible with this).

uliska commented 5 years ago

Done