Math & ScienceStrikethrough a Column or Row in a Matrix

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
thanatoz
Posts: 1
Joined: Sun Jul 17, 2011 9:29 pm

Strikethrough a Column or Row in a Matrix

Post by thanatoz »

Hello, I'm writing a text explaining the minors method on matrices, my code for matrices is something like this:

Code: Select all

\begin{empheq}{align*}
\left|\begin{array}{ccc} 3&-2&1\\ -2&-4&-1\\ 2&-1&5 \end{array}\right|
\end{empheq}
I want to get this:
Image

But I can't find any way to do it. Any help would be appreciated.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Strikethrough a Column or Row in a Matrix

Post by localghost »

A Forum Search at least yields one possible solution [1]. For details see the pgf/tikZ user guide.

[1] View topic: Striking out rows and columns


Best regards and welcome to the board
Thorsten
Post Reply