Fix LaTeX formula