TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I try to insert a picture using the code below


\caption{Example TA}

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

share|improve this question
Don't quite see how you get that error message form the given code snippet. But, while code snippets are useful in explanations, it is always best to compose a fully compilable MWE that illustrates the problem including the \documentclass and the appropriate packages so that those trying to help don't have to recreate it. – Peter Grill Nov 15 '12 at 3:38
Please add a minimal working example (MWE) that illustrates your problem. It is considered a lot better to put in some code that will compile, as it makes it a lot easier for us to copy it into our text editor and work with it, and see exactly what it is you are trying to do. – Werner Nov 15 '12 at 3:38
I don't know what the pgf is for. Usually \usepackage{graphicx} is used for JPEGs and pictures in general. – Christian Nov 15 '12 at 14:11
Since you have some responses below that seem to answer your question, please consider marking one of them as ‘Accepted’ by clicking on the tickmark below their vote count (see How do you accept an answer?). This shows which answer helped you most, and it assigns reputation points to the author of the answer (and to you!). It's part of this site's idea to identify good questions and answers through upvotes and acceptance of answers. – Martin Schröder Jan 8 '13 at 23:38

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}

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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