[Tex/LaTex] How to insert a JPEG picture using LaTeX


I try to insert a picture using the code below


\caption{Example TA}

However, the error says Missing $ inserted; may someone help me?

Best Answer

To end this I include here a complete MWE that compiles without errors (notice, that the used figure is part of package MWE you should have installed but must not be loaded). It contains everything needed to print a figure in LaTeX:



\begin{figure}%                 use [hb] only if necceccary!
  \caption{test figure}