Fix missing escaping in tex template