LaTeX error "Missing delimiter (. inserted)": cause and fix
\left, \right and the \big commands must be followed by a delimiter such as (, [, | or \{. TeX found something else and inserted ., the empty delimiter that prints nothing.
Why it happens
- A curly bracket is written without backslash:
\left{or\right}. A plain brace opens or closes a group and is no delimiter. \rightstands at the end with nothing behind it, where\right.was meant.\leftor\rightis followed by a letter or a digit:\left a.\big,\Big,\biglor\bigris followed by something that is no delimiter:\Big a.
How to fix it
- Write curly brackets as
\left\{and\right\}. - For an invisible partner, write
\left.or\right.with the dot. - Use one of the delimiters:
(,),[,],|,/,\{,\},\|,\langle,\rangle,\lfloor,\rfloor,\lceil,\rceil.
A document that produces the message
\documentclass{article}
\begin{document}
The set is $\left{ 1, 2, 3 \right}$.
\end{document}The corrected document
\documentclass{article}
\begin{document}
The set is $\left\{ 1, 2, 3 \right\}$.
\end{document}Both documents were compiled with pdfLaTeX from TeX Live 2023. The first produces the message, the second compiles without an error.
Finding the line in the editor
The editor lists every error and warning of a compile run with file and line. Select an entry and the cursor jumps to that line. See Error list with jump to the line.
Related pages
- Error Extra \right
- Error Missing \right. inserted
- How-to Large brackets in LaTeX
- How-to Absolute value and norm in LaTeX