1

I get the missing $ inserted error for the following code:

\begin{equation}

C = $ \frac{2}{\omega^2N^2\mu\pia} $

\end{equation}

I have tried out different changes based on Googling for this error, but nothing seems to help. Any suggestions would be appreciated.

  • Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. – user11232 Nov 2 '14 at 3:20
3
  1. Don't put $ inside the equation environment. You can't use math mode (ie, $...$ inside math mode (ie, \begin{equation}... \end{equation})
  2. Don't leave empty lines inside the equation environment.
  3. \pia should be \pi a. Note the space.

Code:

\documentclass{article}
\begin{document}
  \begin{equation}
   C =  \frac{2}{\omega²N²μ\pi a}
\end{equation}
\end{document}

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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