Re: Large matrices
Steve Hnizdur via lyx-users <[email protected]> Tue, 26 May 2026 09:32:32 +0100
| Newsgroups | gmane.editors.lyx.general |
|---|---|
| Message-ID | <[email protected]> |
On 26/05/2026 09:11, Herbert Voss via lyx-users wrote:
>
>
> 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
Thanks - I had hoped that later versions of lyx might have done this
insertion automatically. It does other such automatic preamble additions.
>
>
>> Is this a problem with my set up, which is Ubuntu 22.04.5 LTS, LyX
>> Version 2.3.6?
>>
>> Regards
>>
>> --
>>
>> Steve Hnizdur
>>
>
--
Steve Hnizdur
--
lyx-users mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-users