Fixes #37, LaTeX output