GR.jl icon indicating copy to clipboard operation
GR.jl copied to clipboard

Latex \sffamily not working anymore

Open lmiq opened this issue 4 years ago • 0 comments

Until Julia 1.2 (as much as I tested), the following code rendered correctly:

using Plots, LaTeXStrings
plot(title=L"\textrm{\sffamily 0.5~mol~L}^{-1}")

With GR 0.50.1, installed initially in Julia 1.5, the "\textrm" stopped working.

(see: https://github.com/stevengj/LaTeXStrings.jl/issues/39)

Upon updating GR to 0.51, the "\textrm" works again, but the "\sffamily" and the "~" are not rendered correctly:

image

lmiq avatar Aug 18 '20 23:08 lmiq