Mikael Sundqvist schrieb am 06.08.2024 um 18:27:
Hi,
On Tue, Aug 6, 2024 at 5:57 PM Shiv Shankar Dayal
<shivshankar.da...@gmail.com> wrote:
I have defined a determinant environment like below:
\definemathmatrix[determinant]
[matrix:bars]
[simplecommand=thedeterminant]
and I create a determinant like below:
\startformula \startdeterminant\NC a_{11} \NC a_{12} \NC a_{13} \NC
\cdots \NC a_{1n}\NR
\NC a_{21} \NC a_{22} \NC a_{23} \NC \cdots \NC a_{2n}\NR
\NC a_{31} \NC a_{32} \NC a_{33} \NC \cdots \NC a_{3n}\NR
\multispan{9}{\dotfill}\NR
\NC a_{n1} \NC a_{n2} \NC a_{n3} \NC \cdots \NC a_{nn}
\NR\stopdeterminant
This was working before today but I updated ConTeXt and it has stopped
working. The error it gives me now is:
tex error > tex error on line 277 in file determinants.tex: You
can't use '\Ustopmath' in restricted horizontal mode
How can I get it working again?
--
Respect,
Shiv Shankar Dayal
I never seen \multispan before. But this seems to work:
\multispan is a plain TeX command to create cells which span multiple
columns
and makes only sense when you create tables with the \halign primitive
because
tables in context use hidden cells for padding on the left and right etc.
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________