\text{xyz}
\(\text{xyz}\)
You can also add math formatting back into a text command using $
s.
\text{The formula is $\frac{x}{y}=z$.}
\(\text{The formula is $\frac{x}{y}=z$.}\)
To display a space in \(\LaTeX\), just type a \
before the space.
There are a few options for making your \(\LaTeX\) bigger or smaller, and they all usually
expect another command to follow rather than something in curly braces. (For example,
\huge\text{Hello!}
)
\tiny
\(\tiny\text{tiny}\)
\scriptsize
\(\scriptsize\text{scriptsize}\)
\small
\(\small\text{small}\)
\normalsize
\(\normalsize\text{normalsize}\)
\large
\(\large\text{large}\)
\Large
\(\Large\text{Large}\)
\LARGE
\(\LARGE\text{LARGE}\)
\huge
\(\huge\text{huge}\)
\Huge
\(\Huge\text{Huge}\)