kable

Narrower PDF Kable Tables

TL;DR Don’t bother trying to roll your own function to make narrower kable tables in a PDF document, just use kableExtra. Motivation I’ve been creating tables in a report where I really needed the table to fit, and because I am using PDF output, that means the tables can’t be any wider than the page. As I’m sure many readers might be aware, kable tables will gladly overrun the side of the page if they are too wide.