add dot and math mode in \text{}