diff --git a/graf2d/postscript/src/TTeXDump.cxx b/graf2d/postscript/src/TTeXDump.cxx index 529f4d09043ab079e0aa0641fe6a6b9842d94a3e..f339e9a6f8eeacdfdc0b512c471c04598f327356 100644 --- a/graf2d/postscript/src/TTeXDump.cxx +++ b/graf2d/postscript/src/TTeXDump.cxx @@ -728,7 +728,7 @@ void TTeXDump::Text(Double_t x, Double_t y, const char *chars) ftsize *= 2.22097; TString t(chars); - if (t.Index("\\")>=0) { + if (t.Index("\\")>=0 || t.Index("^")>=0) { t.Prepend("$"); t.Append("$"); } else {