vectorgraphics / asymptote

2D & 3D TeX-Aware Vector Graphics Language
https://asymptote.sourceforge.io/
GNU General Public License v3.0
542 stars 90 forks source link

Fraction bars in labels always black with PDF texengines. #329

Closed rpfei74 closed 2 years ago

rpfei74 commented 2 years ago

Hi,

when I use a colored pen, say red, and put a fraction in a label, the fraction bar is always printed black. The happens also for the horizontal part of the square root.

Here is a MWE:

settings.tex = "pdflatex"; settings.outformat = "pdf";

currentpen = red;

label("$\frac{1}{\sqrt{2}}$");

I'm using version 2.79 from MacTex 2022.

test.pdf