Hi,
I have quite a long table to be added in a single page. I would like to ask how i can modify the page margins and the table's height in order to fit it in the page.
Graphics, Figures & Tables ⇒ Modify table height and page margin
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Modify table height and page margin
Hi lsym,
welcome to the board!
You could modify the page margins with the geometry package. Its command \newgeometry allows changes in the middle of a document.
You could resize the table using the command \resizebox of the graphicx package.
If the table is just too wide, it may be centered independent of the margins: Centering wide tables or figures.
Stefan
welcome to the board!
You could modify the page margins with the geometry package. Its command \newgeometry allows changes in the middle of a document.
You could resize the table using the command \resizebox of the graphicx package.
If the table is just too wide, it may be centered independent of the margins: Centering wide tables or figures.
Stefan
LaTeX.org admin
Re: Modify table height and page margin
Thanks so much Stefan, that was really helpful to me!
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Modify table height and page margin
Now that the problem is obviously solved, please mark the topic accordingly as described in Section 3 of the Board Rules.
Best regards and welcome to the board
Thorsten
Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10