GeneralQuestion latex missing $

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Dezath
Posts: 1
Joined: Thu Oct 23, 2014 4:19 am

Question latex missing $

Post by Dezath »

Hello I've been having a "Missing $ inserted" on my latex document and i'm not sure what to do.
I've tried a previous latex forum but wasn't able to fix my problem.

I'm not sure at all what I'm doing wrong but i get an error Missing $ inserted. $ on the 2nd line with c)\

The text works fine seperately but when put with the rest of the document i keep on getting errors.

The rest of the text works fine and there are no $ signs that are not already paired in previous parts

Code: Select all

\noindent
c)\\
coordinates = (99,85),(190,220),(286,383)\\
\begin{align}
error&= \left | y-(a+bx) \right |\\
E&= \left | y-(475.5+1.253x) \right |\\
(99,85):
E&=\left | 85-(475.5-1.253(99) \right |\\
&=\left | 85-(351.5) \right |\\
&=266.5\\
(190,220):
E&=\left | 220-(475.5-1.253(190) \right |\\
&=\left | 220-(237.5) \right |\\
&=17.5\\
(286,383):
E&=\left | 383-(475.5-1.253(286) \right |\\
&=\left | 386-(117.2) \right |\\
&=265.8\\
\end{align}
$\therefore$ \text{Next location is "The Reservoir" at (190,220)}
\end{document}
This is link to writeLatex online document https://www.writelatex.com/1668037kxgsvr#/4157018/

Is anyone able to help with this?
Error is at end.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Question latex missing $

Post by Johannes_B »

Hi and welcome, the only error i am getting is unknown therefore (amssymb missing) with the code snippent you posted. The link to writelatex leads to a completely different document.

Please show the problem in a reproducable way by providing a minimal working example.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply