diff --git a/IPython/extensions/sympyprinting.py b/IPython/extensions/sympyprinting.py index e83c058..ba3b51e 100644 --- a/IPython/extensions/sympyprinting.py +++ b/IPython/extensions/sympyprinting.py @@ -52,6 +52,7 @@ def print_png(o): def print_latex(o): """A function to generate the latex representation of sympy expressions.""" s = latex(o, mode='equation', itex=True) + s = s.replace('\\dag','\\dagger') return s