0

i have a matrix as follows:

\begin{document}
\[
\begin{bmatrix}
& S1 & S2 & S3 & S4 \\
W1 & 0 & 0 & 0 & 0  \\ % inserting body of the table
W2 & 0 & 0 & 0 & 0    
\end{bmatrix}
\]
\end{document}

i want to write labels S1,S2,S3,S4 and W1,W2 outside the brackets instead of inside, any help would be appreciated.

4
  • See if Label rows of a matrix by characters answers your question. Oct 5, 2015 at 14:52
  • actually this gives me an error kbordermatrix.sty missing, anyways i'll download the .sty file and give it a try Oct 5, 2015 at 14:57
  • and yes the problem is solved - thanks for the guide Oct 5, 2015 at 14:58
  • There was also the other answer there of course, which uses a package (blkarray) that is on CTAN and in TeX Live and MikTeX. Oct 5, 2015 at 16:50

0

Browse other questions tagged or ask your own question.