Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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)?

share|improve this question

1 Answer 1

up vote 6 down vote accepted

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

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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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