-
Shrinking a table in LaTeX
Hey,
I need to shrink a table in LaTeX. It is just slightly too wide and is spilling over into the right margin of my document. Is there a way to tell LaTeX to force it to stay withing the page margins and scale the height accordingly?
I have tried using \fontsize{3}{3}, but it is only affecting a small subset of the cells in the table.
Does anyone have any ideas?
:wq
-
There are many ways to do tables in LaTeX; which particular method are you using? You can use the tabular* (note the asterisk) environment and define the width manually. Here's more info:
http://www-h.eng.cam.ac.uk/help/tpl/...ml/ltx-68.html
Registered Linux User No. 321,742
"At Harvard they have this policy where if you pass too many classes they ask you to leave."
---Richard M. Stallman
-
Originally Posted by paj12
using tabular* and specifying a width relative to the text width is properly scaling the \hline elements, but the text is still overflowing. Any more ideas?
:wq
-
using tabular* and specifying a width relative to the text width is properly scaling the \hline elements, but the text is still overflowing. Any more ideas?
I dunno, manually inserting line breaks in the text of the offending cell? I think you can do this without starting a new row if the text is enclosed in brackets like:
But I might be way off base. You might have better luck on a forum specific to TeX like this one:
http://www.cqf.info/forum/viewforum.php?f=4
Hope you find a solution.
Registered Linux User No. 321,742
"At Harvard they have this policy where if you pass too many classes they ask you to leave."
---Richard M. Stallman
-
Scratch that last post. It doesn't work. However, you can use the \multirow command to break the text across multiple lines. Here is a more comprehensive tutorial about the tabular environment. The \multirow command is covered in the last section called, "Columns spanning multiple rows."
http://www.andy-roberts.net/misc/lat...tutorial4.html
Hope this helps.
Registered Linux User No. 321,742
"At Harvard they have this policy where if you pass too many classes they ask you to leave."
---Richard M. Stallman
-
If you were using lyx, this might help:
http://wiki.lyx.org/LyX/Tables
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|