I am trying to write a newcommand which relies on more than one argument so it contains #1 and #2:
\newcommand{\mpout}[2]{\begin{center}\color{blue}{#1}\end{center}}{\vspace{-25pt}{\hfill {\bf{#2}}} \\}
However this produces this error:
latex> ! You can't use 'macro parameter character #' in horizontal mode.
I understand that # is a special character for writing macros but I don't know how to get around this! Help?!