TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've compiled my LaTeX document into a PDF using the website ScribTeX, and everything seems to look fine, but I keep getting the following errors:

enter image description here

Similar errors happen every time I use a table.

The code in question is this block, which starts with line 141:


`a' \rightarrow  \tt{e}, \tt{@}, \tt{A} \\

`nice' \rightarrow   \tt{naIs}, \tt{nis} \\

`cold' \rightarrow \tt{kould} \\

`hour' \rightarrow \tt{aU\char18 r} \\
\caption[queryDBwithOrthoWordForSampa example]{ In this and all subsequent diagrams, a `string in quotes' indicates an orthographic word or phrase, and a \texttt{monospaced string} indicates that it is a SAMPA word or phrase.  }
share|improve this question
Read Does it matter if I use \textit or \it, \bfseries or \bf, etc. and Will two-letter font style commands (\bf, \it, …) ever be resurrected in LaTeX? Not only is your use of \tt as an argument-taking macro incorrect, (it's actually an old-school switch), it's considered obsolete. – Werner Dec 9 '12 at 2:48

As the error says, you're missing $ signs. This is because \rightarrow is a math mode command, and must be used in math mode.

You can solve the problem by using $\rightarrow$ instead.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.