I need help as soon as possible with the following error code on line 15 of my paper. I'm not sure what error it is, and I tried fixing it, but sadly nothing has worked. I've posted line 15 and the following error code. Any help would be greatly appreciated.

Line 15:



Missing } inserted.
<inserted text> 
l.15   &
  • This code fragment is correct. Please post a minimal (non-)working compilable example.
    – Bernard
    Commented Oct 5, 2015 at 1:00
  • 1
    Welcome to TeX.SX! As @Bernard said, please add a minimal (non-)working example (MWE). You might wish to take a look at the discussion in this meta question: Why does TeX require such elaborate MWE:s. In particular, this answer explains why the actual error isn't always on the line that the error message indicates.
    – Adam Liter
    Commented Oct 5, 2015 at 1:06
  • Welcome! Please use a subject line which describes the issue. Not only does that make your question useful for others, it also makes it easier for people to figure out if they might be able to answer it. That is, something which highlights the nature of the problem is more likely to get you a solution fast than something which merely reports its subjective urgency for you.
    – cfr
    Commented Oct 5, 2015 at 1:06

1 Answer 1


The (La)TeX parser is quite fragile, and gets easily confused, sometimes complaining about wildly off reasons. I often see the above, and fix this with emacs' help (it has special commands for the following, can do it by hand too)

  • Comment out (parts of) the offending file. Sometimes the error is much earlier than the report. A related idea is to run LaTeX just on parts of the file ("Run LaTeX on region" in emacs).
  • Add a close } at the end of the equation, search where it is opened. This usually nets the culprit. If not, move it up and try again. Comment out the pieces you have checked.
  • Sometimes the error is in a previous equation environment, commenting out equations until the error disappears helps identifying the culprit.
  • Leaving blank lines in equation environments can give strange messages

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .