I have defined something like
Code: Select all
\newcommand{\a}[1]{\color{blue}#1\color{black}}
\newcommand{\b}[1]P\color{red}#1\color{black}}
Code: Select all
$x = \a{b} + \b{r}$
Code: Select all
\begin{equation}\sum\limits^{\a{b}}_{\b{r}}\end{equation}
Any ideas?
Thanks!
Geoff