Possible Duplicate:
Diagonally divided table cell
Diagonal lines in table cell

I'd like to have a LaTeX table, where the top left cell marks what the headers are to the right and also mark what the descriptors are downwards.

For this I'd like to have the upper left table cell be "split" diagonally, (from top left of cell to bottom right) by drawing a line and above that line, I'd like to place the name of headings to the right, and below the headings of the descriptors downwards.

Any idea how I could do that?


You can use the slashbox package to do this. The following minimal example was taken directly from the examples page:


Meeting Room &&&&&\\\hline
Auditorium &&&&&\\\hline
Seminar Room &&&&&\\\hline



  • 20
    slashbox does not exist in TeX Live. Nov 4 '13 at 3:04
  • 8
    @kissmyarmpit: TeXlive 2016 has an alternative package diagbox
    – Say OL
    Oct 17 '16 at 3:14
  • 18
    slashbox has been superceded by diagbox. See ctan.org/pkg/diagbox
    – xuhdev
    Apr 23 '17 at 3:01