Text in equations in LaTeX
In math mode every letter is a variable and is set in italics. Put words, descriptive subscripts and abbreviations inside \text from amsmath. For single upright symbols, like the d in a differential or the constant e, you can use \mathrm.
A phrase in an equation
v = \frac{s}{t} \quad \text{for uniform motion}Descriptive subscript
T_{\text{boil}} = 373\,\mathrm{K}Common mistakes
- No space inside \text: \text{for} x runs together as "forx". Add a space inside the braces or use \quad.
See also
Don't want to memorize commands?
Draw a formula or paste a screenshot, and CamteX turns it into ready LaTeX.