Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Latex Item inline "Missing $ inserted." error

Tags:

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

\begin{item} Hello \rightarrow \end{item} 
like image 787
Verhogen Avatar asked Sep 02 '10 17:09

Verhogen


People also ask

What is missing inserted error in LaTeX?

The error message Missing $ inserted is not output by Overleaf, LaTeX, or LaTeX packages; it actually originates from within the executable program responsible for typesetting your LaTeX document: that executable program is called a TeX engine—you can think of it as “driving” the typesetting process.

What is inline in LaTeX?

In the LaTeX block, you can insert an inline formula by typing the equation inside $.. $ . For example, type: An inline equation is $e=mc^2$. To obtain a numbered formula, you need to use the {equation} environment.

What is runaway argument in LaTeX?

A runaway argument is usually caused by a missing closing brace. The next line indicates where TeX got up to before things started to go wrong. In this error message there is no line number but you can use the information that has been supplied to help you track where the error might be.

How do I insert symbols in LaTeX?

You may be wondering how to insert symbols in LaTeX. It is possible to add certain symbols in-text while others require LaTeX's math mode to be activated. ”, you can use the command \star in your code.


1 Answers

try

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

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

like image 186
Tom Avatar answered Sep 17 '22 00:09

Tom