Escaping special characters for Latex