This example demonstrates how to produce diagonal lines in table cells using the
The diagonal line produced by the
slashbox package is rather jagged and unwieldy.
diagbox package does a better job in general.
Try loading only one of these packages to see
the difference — if
diagbox is loaded at all,
Our searchable collection of LaTeX examples is a great place to look when you're using a LaTeX package for the first time (or the first time in a while!).
Show off your awesome LaTeX skills by contributing examples to the gallery. You can publish any Overleaf project with a couple of clicks.
New examples of LaTeX packages and techniques are added all the time. Follow us on twitter for the highlights!