I am hanging on this one since yesterday and was not able to find an example nor anything in the documentation — maybe I am blind?
What i want is a matrix with border annotations BUT without the brackets (neither round nor squared nor curled, each of which have been discussed here). I also want to make the bordertext (A-E) bold and italic on the X and the Y axis…
I have some code to construct the matrix as I have it right now:
\documentclass{article}
\def\VR{\kern-\arraycolsep\strut\vrule &\kern-\arraycolsep}
\def\vr{\kern-\arraycolsep & \kern-\arraycolsep}
\begin{document}
\LARGE
$\bordermatrix{
& A & B & C & D & E \cr
A & 0 & 0 & 1 & 0 & 1 \cr
B & 0 & 0 & 1 & 0 & 0 \cr
C & 0 & 1 & 1 & 0 & 1 \cr
D & 1 & 0 & 1 & 0 & 0 \cr
E & 1 & 1 & 1 & 0 & 0 }$
\end{document}
Best Answer
Don't use
\bordermatrix
, that's all!If you want the column and row headers to be bold italic, just tell TeX to.