[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1059617: texlive-latex-base: matrix errors in amsmath package



On 29.12.2023 11:20, andrei wrote:

Hi andrei,

I successfully  compile (by pdflatex) the file:

But I get an error when compile this file with uncommented rows:

! Extra alignment tab has been changed to \cr.
<recently read> \endtemplate
l.28 &1&2 &1&2 &1&2 &1&2 &1&
                              2  \\
?


We are not a LaTeX help desk, this is a very strong exception! The explanation + "fix" can be found here [1]. So putting the line \setcounter{MaxMatrixCols}{12} right after the \usepackage{amsmath} line solves your issue.

Hilmar

[1] https://www.overleaf.com/learn/latex/Errors/Extra_alignment_tab_has_been_changed_to_%5Ccr
--
sigfault

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


Reply to: