I have this matrix and I would like to cross out rows and columns (not including the ti and ai variable names, but I have no idea.
\documentclass{article}
\usepackage{amsmath}% http://ctan.org/pkg/amsmath
\usepackage{ulem}
\usepackage{kbordermatrix}% http://www.hss.caltech.edu/~kcb/TeX/kbordermatrix.sty
\usepackage{soul}
\begin{document}
\renewcommand{\kbldelim}{(}% Left delimiter
\renewcommand{\kbrdelim}{)}% Right delimiter
\[
\text{matriz} = \kbordermatrix{
& t1 & t2 & t3 & t4 & t5 \\
a1 & 1 & 1 & 1 & 1 & 0 \\
a2 & 0 & 1 & 14 & 99 & 0 \\
a3 & 0 & 0 & 1 & 0 & 0 \\
a4 & 0 & 0 & 0 & 1 & 0 \\
a5 & 30 & 155 & 0 & 0 & 0
}
\]
\end{document}
A quick solution, alternative to the package
tikzmark
:Reference 1 ; reference 2 ; reference 3 .
I'm sorry but I only speak Italian and I used Google translate :)
According to the package documentation
kbordermatrix
, there is no functionality about it. But since you use youulem
can use the command\xout{}
or you can also try the packagecancel
and use\cancel{}
. For example: