[daylight_simplify_math] Extended to handle \text, \$, and \\.