I know I can create a new command with an optional parameter with
\newcommand{\mycommand}[2][Hello]{\textbf{#1} #2}
I would like to have the command such that there is an optional parameter which takes the value of the non optional if not specified. Something like this
\newcommand{\mycommand}[2][#2]{\textbf{#1} #2}
Any ideas?
