Update gr.jl
This commit is contained in:
parent
50c62ec48e
commit
b9c9fc615b
@ -195,7 +195,7 @@ gr_inqtext(x, y, s::Symbol) = gr_inqtext(x, y, string(s))
|
|||||||
|
|
||||||
function gr_inqtext(x, y, s)
|
function gr_inqtext(x, y, s)
|
||||||
if length(s) >= 2 && s[1] == '$' && s[end] == '$'
|
if length(s) >= 2 && s[1] == '$' && s[end] == '$'
|
||||||
GR.inqtextext(x, y, s[2:end-1])
|
GR.inqmathtex(x, y, s[2:end-1])
|
||||||
elseif findfirst(isequal('\\'), s) != nothing || occursin("10^{", s)
|
elseif findfirst(isequal('\\'), s) != nothing || occursin("10^{", s)
|
||||||
GR.inqtextext(x, y, s)
|
GR.inqtextext(x, y, s)
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user