On Tue, May 26, 2026 at 09:32:32AM +0100, Steve Hnizdur via lyx-users wrote:

> > 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.

Good point. I think in LyX there is an idea that we don't want to change
LaTeX defaults. LyX makes automatic preamble additions for
*dependencies* (like loading a required package), but I'm not sure we
change many defaults like this limit of columns. Do we?

However, I do think it would be nice to do something for situations like
this. What an ugly error that LaTeX gives in this example.

My personal opinion (and I would be surprised if all other LyX
developers agreed with me) is that if we aren't going to change the
default limit, at least we can give a user friendly message of "You
might get a LaTeX error... add this code to the preamble").

Scott

Attachment: signature.asc
Description: PGP signature

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

Reply via email to