When I want to highlight some important result, I traditionnally put my equations in boxes:
\begin{equation}
boxed{\Delta = b^2-4ac}
\end{equation}
I would like to have a more fancy thing:
- to be able to set the thickness and the color of the line of the box
- to be able to add a coloured shadow under this box
to obtain this kind of result:
I asked the same kind of question a while ago (see here) but the answer does not work for equations.
How to do that?
Best Answer
Here are some additions using
tcolorbox
. You can use a macro\tcbhighmath
which is designed for such a task. The style can be varied also by options given to this macro.