Graphics, Figures & Tables ⇒ Diagonal lines in table cell
Diagonal lines in table cell
I want to cross out a specific table cell with 2 diagonal lines: one line from the topleft to the bottomright corner of the cell and one from the bottomleft to the topright corner of the table cell.
And I want this 'crossing' only for one specific cell, not for the whole table...
Help is much appreciated!
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Diagonal lines in table cell
Diagonal lines in table cell
I already explored the slashbox package but it doesn't fulfill my specific needs. I want two diagonal lines in a cell from opposite sides without any text involved. slashbox only allows 1 diagonal and produces an ugly result when there isn't any text specified.You could use the slashbox package for this.
(The crossing out of a cell indicates in my text that a certain row/column combination is not allowed)
Thanks in advance!