I realise this sounds like a daft question, but I have a lot of missing symbols coming up in my work, but they are there!
One such example is
\begin{equation} \label{eq:rgbtohsb}
\begin{center}
$Hue = \left\{\begin{array}{ccc}
\frac{g - b}{max(r,g,b)- min(r,g,b)} & \quad \text{if } & max(r,g,b) = r\\
\frac{b-r}{max(r,g,b)- min(r,g,b)} & \quad \text{if } & max(r,g,b) = g \\
\frac{r-g}{max(r,g,b)- min(r,g,b)} & \quad \text{if } & max(r,g,b) = b \\
\end{array}
Saturation = \left \{ \begin{array}{ccc}
0 & \text{if } & r = g = b\\
\frac{max(r,g,b)}{V} & \quad \text{ otherwise} \\
\end{array} $
$Value = max(r,g,b)$
$Lightness = \frac{1}{2}(max(r,g,b) + min(r,g,b)) $
\end{center}
\end{equation}
As you can see I do indeed have all of the $. Also I have the \begin{center} and \end{center}
Another error, is that it says \begin{document} ended by \end{equation}
Here is the header I am using
\documentclass[a4paper,11pt,twoside]{article}
\usepackage[left=2.5cm,right=2cm,top=2cm,bottom=2cm]{geometry}
\usepackage{fancyhdr}
\usepackage{mathtools}
\usepackage[parfill]{parskip}
\usepackage{program}
\pagestyle{fancyplain}
\fancyhf{}
\rhead{\fancyplain{}{\today}}
\cfoot{\fancyplain{}{\thepage}}
\usepackage{graphicx}
{\tiny }
I do have an \end{document}
Thanks for your help!
\begin{equation}to inline-math-mode ($) as far as I know. Also i don't think you can usecenterin anequation, but I didn't test it. – Juri Robl Aug 30 '12 at 13:14