[NTG-context] Math: Matrix question

Aditya Mahajan adityam at umich.edu
Thu Jun 15 16:19:20 CEST 2006


On Thu, 15 Jun 2006, Tobias Burnus wrote:

> Hello,
>
> maybe someone has an idea how to typeset the following
>
>    c d
> a [E F]
> b [G H]
>
> Where EFGH is a matrix surrounded by "( )" and with "a b c d" I want to
> label the columns and rows.
> I especially struggle with aligning c and d and having the parenteses.

Plain tex provides \bordermatrix. Not configurable, but will suit your 
needs.

\startformula
\bordermatrix{
   a & b & c & d \cr
   e & f & g & h \cr
   i & j & k & l \cr}
\stopformula

Aditya


More information about the ntg-context mailing list