Skip to content

Scaling down a wide table for PDF #1354

Answered by arnaudgallou
dhicks asked this question in Q&A
Discussion options

You must be logged in to vote

You can try kableExtra::kable_styling(latex_options = "scale_down") to adjust the width of the table to the page. kableExtra also allows you to control column widths and font size. That and possibly landscape mode should cover all cases. If not, it probably means that you need to rethink the structure of your table. E.g., one column = one variable or split your tables in smaller ones.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by dhicks
Comment options

You must be logged in to vote
1 reply
@mcanouil
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
tables Issues with Tables including the gt integration
4 participants