Graphics, Figures & TablesTable too wide. Help!

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
virgil
Posts: 3
Joined: Thu Jul 23, 2009 10:37 pm

Table too wide. Help!

Post by virgil »

Hello,

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.

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Table too wide. Help!

Post by localghost »

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'. [...]
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.


Best regards and welcome to the board
Thorsten
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Table too wide. Help!

Post by gmedina »

Hi,

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)
1,1,2,3,5,8,13,21,34,55,89,144,233,...
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Table too wide. Help!

Post by Stefan Kottwitz »

Hi Virgil,

welcome to the board!
Here's a possible solution using \makebox already mentioned by Thorsten: Centering wide tables or figures.

Stefan
LaTeX.org admin
virgil
Posts: 3
Joined: Thu Jul 23, 2009 10:37 pm

Re: Table too wide. Help!

Post by virgil »

Hello,

Thank you all. I will try these various approaches and I will let you know how it goes.

Virgil.
virgil
Posts: 3
Joined: Thu Jul 23, 2009 10:37 pm

Re: Table too wide. Help!

Post by virgil »

Hello,

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