Math & Science ⇒ Equation highlighting
-
- Posts: 72
- Joined: Thu Jan 15, 2009 3:16 pm
Equation highlighting
(I realise there are \alert and \highlight commands in Beamer, but this isn't what I want).
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Equation highlighting
Why don't you just nest your equation into a parbox environment, and add some color to it???
Something like this:
Code: Select all
\colorbox{red}{\parbox{0.5\textwidth}{
\begin{eqnarray}
a + b = c
\end{eqnarray}
}}
Cheers
-
- Posts: 72
- Joined: Thu Jan 15, 2009 3:16 pm
Equation highlighting
Yup. Works for me. Thanks!fatra2 wrote:Hi there,
Why don't you just nest your equation into a parbox environment, and add some color to it???
Something like this:Hope this is the result you are expecting.Code: Select all
\colorbox{red}{\parbox{0.5\textwidth}{ \begin{eqnarray} a + b = c \end{eqnarray} }}
Cheers
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Equation highlighting
Best regards
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10