infinity is formatted as a symbol in LaTeX inline mode

fixes #629