[OS X TeX] Labeling the rows and columns of a matrix

Axel E. Retif axel.retif at mac.com
Thu Sep 27 22:39:58 CEST 2007


On  27 Sep, 2007, at 15:33, Axel E. Retif wrote:

> On  27 Sep, 2007, at 13:34, Jon Breitenbucher wrote:
>
>> I've done some looking around and searching the forum and haven't  
>> found a solution to my dilemma. I have students that want to  
>> create a matrix with the rows labeled and the columns labeled with  
>> the labels being appropriately centered and outside any  
>> delimiters. Is this possible? I'm sure it is since I have seen  
>> such matrices in books, but it must be the case that one can't use  
>> a matrix environment. Do I need to look at tabular?
>
>
> From
>
> http://www.ctan.org/tex-archive/info/math/voss/mathmode/ 
> Mathmode.pdf (p. 22):
>
> \documentclass{article}
> \usepackage{amsmath}

%%% There is really no need for the amsmath package with this.

> \begin{document}
>
> \[
> \bordermatrix{%
>  & 0 & 1 & 2 \cr
> 0 & A & B & C \cr
> 1 & d & e & f \cr
> 2 & 1 & 2 & 3 \cr
> }
> \]
>
> \end{document}
>
> Best,
>
> Axel



------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/





More information about the macostex-archives mailing list