
November 24th, 2008, 07:42 AM
|
 | MHF Contributor | | Join Date: Aug 2007 Location: Leeds, UK
Posts: 2,003
Country: Thanks: 122
Thanked 1,216 Times in 1,009 Posts
| |
Plain TeX has a macro called \bordermatrix that lets you put labels above the columns and to the left of the rows. It can give you things like this: Code: M = \bordermatrix{&\overbrace{}^{\textstyle m}
&\overbrace{}^{\textstyle n}\cr
p\{ &A&B\cr q\{ &C&D\cr}
As far as I know, there is no LaTeX version of this, so you have to use the plain TeX syntax, with for example \cr instead of \\ for the carriage returns. |