Smallmatrix from AMS-TeX is not implemented in ConTeXt (Tex Live 2015), though crossed out in m-newmat.tex. I found this old post: http://www.ntg.nl/pipermail/ntg-context/2005/013146.html
Hans Aberg mailto:haberg-1@telia.com 6. Juli 2015 11:03 Smallmatrix from AMS-TeX is not implemented in ConTeXt (Tex Live 2015), though crossed out in m-newmat.tex. I found this old post: http://www.ntg.nl/pipermail/ntg-context/2005/013146.html
You can create your own matrix environment for inline use: \definemathmatrix [smallmatrix] [left=\Big(, right=\Big), style=\scriptstyle, strut=0.7, distance=.25em] \starttext This is a example \m{ \startsmallmatrix \NC a \NC b \NR \NC c \NC d \NR \stopsmallmatrix } for a smallmatrix environment. \stoptext Wolfgang
[I do not get copies from the list, though having signed up.]
Smallmatrix from AMS-TeX is not implemented in ConTeXt (Tex Live 2015), though crossed out in m-newmat.tex.
You can create your own matrix environment for inline use:
\definemathmatrix [smallmatrix] [left=\Big(, right=\Big), style=\scriptstyle, strut=0.7, distance=.25em]
\starttext
This is a example \m{ \startsmallmatrix \NC a \NC b \NR \NC c \NC d \NR \stopsmallmatrix } for a smallmatrix environment.
It looks pretty much like the AMS-LaTeX variation. Below is another example of use, as a displayed formula. ---- % Defines a small two-by-two matrix. \def\twomatrix#1#2#3#4{\startsmallmatrix\NC{#1}\NC{#2}\NR\NC{#3}\NC{#4}\NR\stopsmallmatrix} % The Pauli spin matrices, explicit forms. \def\pspint{{\twomatrix1001}} \def\pspinx{{\twomatrix0110}} \def\pspiny{{\twomatrix0{-đ}đ0}} \def\pspinz{{\twomatrix100{-1}}} Pauli spin matrices \startformula Ď^0 â \pspint, \quad Ď^3 â \pspinz, \quad Ď^1 â \pspinx, \quad Ď^2 â \pspiny \stopformula ----
participants (2)
-
Hans Aberg
-
Wolfgang Schuster