Graphics, Figures & TablesModify table height and page margin

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
lsym
Posts: 2
Joined: Thu Jul 29, 2010 4:36 pm

Modify table height and page margin

Post by lsym »

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.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

Post by Stefan Kottwitz »

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
LaTeX.org admin
lsym
Posts: 2
Joined: Thu Jul 29, 2010 4:36 pm

Re: Modify table height and page margin

Post by lsym »

Thanks so much Stefan, that was really helpful to me!
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Modify table height and page margin

Post by localghost »

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
Post Reply