Use proper tex for formulas