6

I generally use \newcommand* instead \newcommand whenever it makes sense, to ease error checking if the command doesn't sensibly take multi-paragraph arguments.

Is there a starred version of \DeclareRobustCommand that does the same checking (that it, it makes sure that the arguments to the command are not multi-paragraph)?

8

Yes. It works the same way as in \newcommand*:

"4.10 Defining commands" in "LaTeX2e for class and package writers" (clsguide)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.