Fix cardinality signs in LaTeX formula