Escape certain characters that are likely to break the latex compile