Graphics, Figures & Tables ⇒ Table too wide. Help!
Table too wide. Help!
My first post here, so greetings to everyone! I'm also new to Latex, so sorry if my question is too simple.
OK, to my problem. I have a document with big lateral margins. 120pt for the left side and 100pt for the right, which I've done with the package 'vmargin'.
Now, I have to insert a table that is too wide. When I try, Latex respects the left margin of the page but the table is out of the page on the right side. I found two ways of fitting the table: settings the font in the table to 'tiny' , which unfortunately is not readable enough, and putting the table in landscape, with the package 'rotating' and the command 'sidewaystable' in the actual table.
I would still want to have my page in its normal orientation. Would there be a way of "defeating" the margins that are set for the whole document just for the respective page, so that I can fit the table on a normal page with a font bigger than 'tiny'?
Thanks, Virgil.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Table too wide. Help!
Page dimensions are better set up with the geometry package. A solution to your problem is to search the forum for the \makebox command. Another solution for standard classes is to use the narrow environment introduced in the epslatex document.virgil wrote:[...] OK, to my problem. I have a document with big lateral margins. 120pt for the left side and 100pt for the right, which I've done with the package 'vmargin'. [...]
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Table too wide. Help!
as another option, you could use \adjustwdth or some other of the commands provided by the changepage package. (The package documentation is at the end of the file changepage.sty)
- Stefan Kottwitz
- Site Admin
- Posts: 10358
- Joined: Mon Mar 10, 2008 9:44 pm
Table too wide. Help!
welcome to the board!
Here's a possible solution using \makebox already mentioned by Thorsten: Centering wide tables or figures.
Stefan
Re: Table too wide. Help!
Thank you all. I will try these various approaches and I will let you know how it goes.
Virgil.
Re: Table too wide. Help!
Finally I have worked it out. I used \makebox like in http://texblog.net/latex-archive/layout ... ure-table/
Combining it with changing fonts and interline spaces with \fontsize{3mm}{4mm}\selectfont, I found that I can make my table really the way I want.
Thanks for your help,
Virgil.