manim icon indicating copy to clipboard operation
manim copied to clipboard

After using math font package in tex_template of ManinGL, the TexText cannot displayed correctly,

Open inoxch opened this issue 3 years ago • 3 comments

Describe the bug

After using math font package in tex_template of ManinGL,such as “\usepackage{fourier}”, once I use the latex command that involves changing words size, the TexText will be displayed incorrectly, such as “$x^{y}$ ”, “ $x_{y}$”, ”{\small $x$}+$y$".

I inspect the (.svg) file it outputs. the result is correct. So I think it is a displayed bug Code:

Wrong display or Error traceback:

Additional context

inoxch avatar Mar 11 '22 19:03 inoxch

11 output: 2

inoxch avatar Mar 11 '22 21:03 inoxch

Can you attach the .svg file ?

TonyCrane avatar Mar 13 '22 02:03 TonyCrane

Can you attach the .svg file ? svg.zip

inoxch avatar Mar 13 '22 21:03 inoxch