I know that by using a package like xcolor I can use $\color{<color>} <math symbols>$ to typeset math symbols in my preferred color. But how can I isolate the color to specific symbols only?
Say for instance the illustrations of commented equations in Howard Anton's Calculus book have colors for underbraces and the bounding text boxes but have none for the included text.
Consider the following MWE
\documentclass[]{article}
\usepackage{amsmath}
\usepackage{xcolor}
\begin{document}
\begin{equation}
\dfrac{d}{dx}[\sin(3x^2+2)]=\underbrace{\cos(3x^2+2)}_{\text{
\fbox{\parbox[b][]{2cm}{
Derivative of the outise evaluated at the inside}
}}}
\cdot
\underbrace{6x}_{\text{
\color{blue}{\fbox{\parbox[b][]{1.25cm}{
Derivative of the inside}
}}}}
\end{equation}
\end{document}
which outputs

How can I isolate the coloring to the underbraces and the bounding box to blue without affecting the other symbols/text?


\underbracesand other such commands? – hpesoj626 Sep 27 '12 at 08:27\underbrace, you can open a terminal a runtexdox source2eor in CTAN: source2e. – Gonzalo Medina Sep 27 '12 at 12:57