I'm using little markers in some parts of my text and I wanted to add one of those to a paragraph entitling a list:
\newcommand{\hip}{{\color{BlueViolet}\framebox[1.1\width]{HIP}}}
\paragraph*{\hip{} Following that description, we can infer the following hypothesis:}
However, that fails with:
! Use of \reserved@a doesn't match its definition.
\@ifnextchar ... \reserved@d =#1\def \reserved@a {
#2}\def \reserved@b {#3}\f...
l.219 ..., we can infer the following hypothesis:}
! Use of \@framepicbox doesn't match its definition.
\@ifnextchar ...eserved@d =#1\def \reserved@a {#2}
\def \reserved@b {#3}\futu...
l.219 ..., we can infer the following hypothesis:}
Both errors come with this explanation, that doesn't make sense for me... "If you say, e.g., '\def\a1{...}', then you must always put '1' after '\a', since control sequence names are made up of letters only. The macro here has not been followed by the required stuff, so I'm ignoring it."
What does it mean and how do I fix that?
Example of command in a normal text line:


\protectjust before\hipthis will probably work. this is the old "fragile" command situation. – barbara beeton Mar 08 '15 at 19:44\paragraph? Why not just set it without a\paragraph? – Werner Mar 08 '15 at 19:45