Large matrices

Herbert Voss Herbert.Voss at fu-berlin.de
Tue May 26 11:01:42 UTC 2026


Am 26.05.26 um 11:53 schrieb Scott Kostyshak via lyx-users:
>> Insie LyX it should be easy to count the colums if you insert the matrix
>> from
>> the menu and not with ERT. If the number is > 10 then change the above
>> counter!
> I'm intrigued by your proposal. I agree code-wise it should be easy. I
> just remember historical discussions where we usually decide not to
> change LaTeX defaults.

Agreed! But in this case you change the defaults not per definition! The 
change happens
later in the document.

>> The only problem: You have to save the current counter value to suppress
>> changes
>> like. 14->12
> I actually don't understand this subtlety. Why do we have to save the
> current counter value?

If you did the chang after a matrix for 14 columns, then you have to 
save this value.
For a following matrix with 12 columns, you shouldn't change the counter 
value
back to 12.  Only the greatest number of colums should saved.

Herbert


More information about the lyx-users mailing list