GR.jl
GR.jl copied to clipboard
Latex \sffamily not working anymore
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: