Add LateX $ and $$ math support.