Latex underbrace - change color

  • Context: LaTeX 
  • Thread starter Thread starter pisoir
  • Start date Start date
  • Tags Tags
    Change Color Latex
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 9K views
pisoir
Messages
1
Reaction score
0
Hello, can anyone give some advice about how to change the color of underbrace? The equation is in normal black color, but I would like to underbrace some of its part, but I want to have the underbrace in light gray. Is it possible to do it?(change the color of the brace only?)
Thank you.
 
Physics news on Phys.org
[tex] \definecolor{Blue}{rgb}{0,0,1}<br /> \definecolor{Black}{rgb}{0,0,0}<br /> \color{Blue}{\underbrace{\color{Black}{hello}}}[/tex]

\definecolor{Blue}{rgb}{0,0,1}
\definecolor{Black}{rgb}{0,0,0}
\color{Blue}{\underbrace{\color{Black}{hello}}}
 
Last edited: