\makeatletter \def\mycommand{% \@ifstar\mycommandstar\mycommandnostar% } \makeatother \newcommand[...][...]{\mycommandstar}{% ... } \newcommand[...][...]{\mycommandnostar}{% ... } Alexander