[OS X TeX] labeled matrices (OT)

Morten Høgholm morten.hoegholm at gmail.com
Thu Dec 20 07:46:27 EST 2007


On Thu, 20 Dec 2007 11:48:40 +0100, Axel E. Retif wrote:

> I think you mean \bordermatrix:
>
> http://www.ctan.org/tex-archive/info/math/voss/mathmode/Mathmode.pdf
>
> page 22 and ff.

One can also use blkarray which has the advantage of allowing you to put  
things almost anywhere and use regular column specifiers such as lrc.

\documentclass{article}

\usepackage{blkarray,amsmath}
\begin{document}

\[
\begin{blockarray}{l*{3}{r}l}
    & \text{Text} & \text{Text} & \text{Text} & \text{Right}\\
    \begin{block}{l(*{3}{c})l}
   \text{Hello}  &  aaa & bb & cc & \text{Outside}\\
   \text{Again}  &  xxx & yyyy & xxx & \text{Outside}\\
    \end{block}
\end{blockarray}
\]

\end{document}


-- 
Morten



More information about the MacOSX-TeX mailing list