Skip to content

Commit

Permalink
Update gr.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
jheinen authored Aug 1, 2018
1 parent da765a5 commit 8d16563
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backends/gr.jl
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ gr_inqtext(x, y, s::Symbol) = gr_inqtext(x, y, string(s))

function gr_inqtext(x, y, s)
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)
GR.inqtextext(x, y, s)
else
Expand Down

0 comments on commit 8d16563

Please sign in to comment.