FatalMath Mode
Unclosed Display Math or Brace Group
! Missing } inserted.
What this error means
A display math environment or brace group was opened but not closed before the end of the document or the next environment. LaTeX inserts the missing } automatically but the surrounding structure is wrong.
Common causes
- A \[ display math block was opened but \] was never written
- An equation environment was not closed with \end{equation}
- A brace group inside math was opened but not closed
How to fix it
Check every \[ has a matching \] and every \begin{equation} has a matching \end{equation}. Use an editor with bracket matching to identify the unclosed delimiter.
Code examples
Causes the error
\documentclass{article}
\begin{document}
\[ x = 5
% Missing \]
More text.
\end{document}Fixed
\documentclass{article}
\begin{document}
\[ x = 5 \]
More text.
\end{document}Related errors
Test the fix live
Paste your LaTeX into the playground and compile instantly.

