fixes #629: infinity is formatted as a symbol in LaTeX inline mode