Replacing \newcommand by \DeclareRobustCommand makes a new command robust. But what about \renewcommand? Is there a command to robustly renew a command?
It would be possible to first use \renewcommand and then use \MakeRobustCommand of the makerobust package, but isn't there a "one-command-way"? (And does that one provide a starred form, same as \DeclareRobustCommand*?)
\NewDocumentCommandfromxparse. – Flow Aug 25 '18 at 17:09