Large matrices
Herbert Voss
Herbert.Voss at fu-berlin.de
Tue May 26 08:11:31 UTC 2026
Am 26.05.26 um 09:45 schrieb Steve Hnizdur via lyx-users:
>
> Hi
>
> Attached is a piece of code to produce an 11 by 11 matrix in round
> brackets. It throws an error on compilation of
>
> "Extra alignment tab has been changed to \cr.
>
> & & & & & & & & & &
>
> 1
>
> You have given more \span or & marks than there were
>
> in the preamble to the \halign or \valign now in progress.
>
> So I'll assume that you meant to type \cr instead."
>
> However a 10 by 10 matrix works fine.
>
for some historical reason the number of columns is limited to 10!
Write into the preamble
\setcounter{MaxMatrixCols}{11}
Herbert
> Is this a problem with my set up, which is Ubuntu 22.04.5 LTS, LyX
> Version 2.3.6?
>
> Regards
>
> --
>
> Steve Hnizdur
>
More information about the lyx-users
mailing list