Large matrices
Scott Kostyshak
skostysh at lyx.org
Tue May 26 09:30:41 UTC 2026
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20260526/2403be18/attachment.sig>
More information about the lyx-users
mailing list