next up previous
Next: Error Messages Up: The basic commands Previous: Integrals, Sums and Limits

Inserting Text

To put a paragraph of text in your output, start the line with the word text. The text following, and the following non-blank lines will be inserted directly into the LaTEX file. Indeed, if you know LaTEX, you can even use LaTEX commands. (We won't illustrate that here, but that is how this document was created.)

text Here are some lines
of text.  How do they look?

Here are some lines of text. How do they look?

You can also insert single words into formulae as follows:

1 over x to 0 text as x to infinity


\begin{displaymath}
\frac {1} {x} \to 0 \hbox{ as } x \to \infty
\end{displaymath}

or several words

x over (x^2 + 1) text (grows at the same rate as) 1 over x


\begin{displaymath}
\frac {x} {{x} ^ {2} + 1} \hbox{ grows at the same rate as } \frac {1} {x}
\end{displaymath}

You can also do this using quotes (note the spaces between the quotes and the words -- it will look different if they are not there):

x over (x^2 + 1) " grows at the same rate as " 1 over x


\begin{displaymath}
\frac {x} {{x} ^ {2} + 1} \hbox{ grows at the same rate as } \frac {1} {x}
\end{displaymath}

These commands are very fussy - they must have only letter based text in them. Otherwise you get an error message, which brings us to the next topic.



Stephen Montgomery-Smith 2003-05-26