how to write text in math mode latex code example Example: latex normal text in equation \usepackage{amsmath} $...\text{normal text}...$