22

Why does this line yield the "Missing $" error:

\begin{item} Hello \rightarrow \end{item}
Verhogen
  • 27,221
  • 34
  • 90
  • 109

1 Answers1

42

try

\begin{item} Hello $\rightarrow$ \end{item}

Its a math symbol, so you have to use it in a math environment.

Tom
  • 43,810
  • 29
  • 138
  • 169
  • 2
    That's a good andwer, but I'd rather use `\begin{item} Hello \\(\rightarrow\\) \end{item}`. If you're not sure you are in math environment use `\ensuremath{\rightarrow}`. – Crowley Sep 04 '10 at 19:41