GR.jl
GR.jl copied to clipboard
latex rendering issues
I am trying to add a latex annotation to a plot and the rendering produced by GR has some notable issues relative to the rendering of the equation in latex. From browsing the code my impression is that GR used to use latex but now has it's own rendering engine. It would be nice to to have an option to use latex for equations that don't get properly rendered by the GR engine.
The equation is raw"$G(T) = G_0 \left(\frac{{T'}_k^2}{T^2+{T'}_k^2}\right)^s$"
The result in GR looks like
while the result in latex looks like
The main issues with the GR rendering are
- the placement of the right paren in G(T)
- the placement of the primes
- the placement of the s exponent
I definitely appreciate that implementing even a small tex engine is quite hard and I'm thankful for all the great work you've done. It would be nice to have full latex available for when it is necessary.