Math & Science ⇒ Text in formulas
Text in formulas
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
-
- Posts: 707
- Joined: Tue Mar 25, 2008 5:02 pm
Text in formulas
Code: Select all
\[ \frac{\mbox{number of successful outcomes}}{\mbox{number of total outcomes}} \]
The amstext package (included automatically by the amsmath package) defines the \text command, which serves the same purpose but gets the sizing right:
Code: Select all
\usepackage{amstext}
\[ \frac{\text{number of successful outcomes}}{\text{number of total outcomes}} \]