Fix delimiters for LaTeX output