Related to
#1359. Removing extra $ that older versions sympy add....
Related to
#1359. Removing extra $ that older versions sympy add.
Older versions of sympy put in an extra $ when using
latex(e, mode='plain'). We are removing those before we add our
own to make sure it works.