Re: Large matrices

Herbert Voss via lyx-users <[email protected]> Tue, 26 May 2026 10:11:31 +0200
Newsgroups gmane.editors.lyx.general
Message-ID <[email protected]>

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
>

-- 
lyx-users mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-users