I have a matrix written as following:
\begin{equation}
A={
\begin{pmatrix}
1 & -1 & 0 & 0 & 0 & \dots\\
0 & 1 & -1 & 0 & 0 &\dots\\
1 & 0 & -1 & 0 & 0 &\dots\\
0 & 0 & 1 & -1 & 0 &\dots\\
1 & 0 & 0 & -1 & 0 &\dots\\
0 & 0 & 0 & 1 & -1 &\dots\\
. & . & . & . & . &\dots\\
. & . & . & . & . &\dots\\
\end{pmatrix}
\end{equation}
I would like to have a box which frames the content of the forth column from its forth row to the end. I am wondering how it should be done?! I will appreciate for a help.
Best Answer
Here's one way with using a
\smash
ed\fbox
around a dropped\rule
. EDITED to provide a colored box.And if you wanted the matrix entries right aligned, you could use a
tabstack
: