TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

migrated from stackoverflow.com Sep 1 '11 at 15:59

This question came from our site for professional and enthusiast programmers.

marked as duplicate by Alan Munn, Werner, lockstep, Loop Space, Joseph Wright Sep 2 '11 at 14:02

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

See diagonal lines in table cell – Marco Daniel Sep 1 '11 at 16:08

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



share|improve this answer
slashbox does not exist in TeX Live. – kiss my armpit Nov 4 '13 at 3:04