use preview function in sympy/galgebra/latex_ex.py