I want to “check” a symbol in Plots legends, e.g., \check{S}. However, in plots generated by Julia with PyPlot back-end, this appears as:
If I replace “check” with, say, “hat”, \hat{S}, the symbol is rendered correctly.
Question: Does anyone have a clue as to how I can fix this?
NOTE: switching to the GR backend does not solve the problem – GR supports fewer LaTeX symbols than PyPlot. (I’m also using \mathsf{R} – the mathsf style, which PyPlot handles but not GR.)
NOTE2: PyPlot handles the “breve” decoration, e.g., \breve{S}, but I prefer the “check” decoration…, and I don’t understand why “check” doesn’t work.
The check accent is not supported by the TeX-like system in matplotlib (which underlies PyPlot).
You could patch your local copy as shown in the discussion at https://github.com/matplotlib/matplotlib/issues/7738