Search found 2 matches
- Wed Mar 04, 2015 6:57 pm
- Forum: General
- Topic: newcommand # for arguments produces error
- Replies: 2
- Views: 4968
Re: newcommand # for arguments produces error
Yes it does! Thank you so much for your help!
- Wed Mar 04, 2015 12:32 pm
- Forum: General
- Topic: newcommand # for arguments produces error
- Replies: 2
- Views: 4968
newcommand # for arguments produces error
Hi,
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 ...
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 ...