TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 7 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

 
discard

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.