I use the contour
package to put thick white outlines around labels in graphs, so they remain readable above the grid lines without taking up too much space.
Unfortunately, the package is not able to draw outlines of the horizontal lines used in fractions or root symbols when the [outline]
option is active (which is used to generate 'proper' outlines instead of multiple copies of the text).
Is there a different way to generate coloured outlines of equations? Maybe something using pgf
?
This is what happens with the contour
package:
Generated with this minimal working example:
\documentclass{minimal} \usepackage[outline]{contour} \usepackage{amsmath} \contourlength{.6pt} \begin{document} \contour{red}{$\sqrt{\dfrac{A}{B}}$} \end{document}
contour
does its thing). But the lines are not drawn as PDF or PostScript glyphs, so they would have to be treated differently.