Possible Duplicate:
Defining starred versions of commands

I want to write a macro that has a starred version, e.g.

\newcommand*{\blah}{{\bfseries blah}}
\newcommand*{\blah*}{{\itshape blah}}

but when I do that I get an error: "Command already defined"

I looked through latex.ltx, but couldn't figure it out. Thanks.

marked as duplicate by lockstep, Peter Grill, egreg, Marco Daniel, Loop Space Jan 29 '12 at 23:07

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 4
    @PeterGrill - thanks for pointing that out. When I typed in the question in the title several other questions were offered as possible duplicates, or at least places where the answer might be, but the one you listed wasn't one of them. It's amusing that this question is almost an exact duplicate of mine, right down to using 'blah' in a newcommand. Lastly, this was answered in less than 5 mins after I asked it. I love this place. – bev Jan 29 '12 at 22:57