Code: Select all
$\begin{pmatrix}
a & b & c \\
d & e & f \\
g & h & i
\end{pmatrix}$
Code: Select all
$\begin{pmatrix}
a & b & c \\
d & e & f \\
g & h & i
\end{pmatrix}$
NEW: TikZ book now 40% off at Amazon.com for a short time.
If so, take a look at the pgf/tikZ manual or at some examples [1]. Otherwise the »Math mode« document may help.kapowza wrote:[…] I know that I've seen something similar using tikz matrix in the past, but I can't figure it out now. Any ideas? Also, what if I wanted to draw a basic line through the diagonal instead of around it?
NEW: TikZ book now 40% off at Amazon.com for a short time.