FormaTeX
FatalMath Mode

Extra Alignment Tab in Table or Array

! Extra alignment tab has been changed to \cr.

What this error means

A row in a tabular, array, or align environment contains more & column separators than the column specification allows. LaTeX forces a row break at the extra &.

Common causes

  • More & characters than columns defined in the column spec
  • Missing column in the \begin{tabular}{...} definition
  • Accidentally adding an extra & at the end of a row

How to fix it

Count the & characters in each row and ensure they match the number of columns minus one. For a 3-column table you need exactly 2 & per row. Update the column specification if you added a new column.

Code examples

Causes the error
\documentclass{article}
\begin{document}

\begin{tabular}{ll}       % 2 columns = 1 ampersand per row
  Name & Age & City \\  % 3 columns worth of data!
  Alice & 30 & Paris \\
\end{tabular}

\end{document}
Fixed
\documentclass{article}
\begin{document}

\begin{tabular}{lll}      % 3 columns = 2 ampersands per row
  Name & Age & City \\
  Alice & 30 & Paris \\
\end{tabular}

\end{document}

Related errors

Test the fix live

Paste your LaTeX into the playground and compile instantly.

Une chose rapide

Nous suivons l'utilisation anonyme — pages vues, utilisation des fonctionnalités, événements de compilation — pour comprendre ce qui fonctionne et ce qui ne fonctionne pas. Pas de publicité, pas de données personnelles, pas de partage avec des tiers.

Politique de cookies