added escapes to LaTeX delimitters