partly fixes LaTeX doctest problem in galgebra/latex_ex