Replaced |x| with |{x}|. LaTeX now renders abs(fractions) correctly.