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!
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- 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!