Graphics, Figures & Tables ⇒ Table size control
-
- Posts: 13
- Joined: Wed Sep 09, 2009 6:55 am
Table size control
I can create a table perfectly. However the size is the problem. I got 7 columns and in each column I have some description which goes around 50 character. As a result my table width gets really so big that it goes beyond right hand margin.
I reduced the font size and could bring the table within margin. But now the text is unreadable.
How can I have such a table with normal readable font size? Can I break my sentences those are around 50 characters into different line? Because now these whole 50 characters are printed in one line.
Cheers
Arif.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
Table size control
you could use p-columns with certain width, the sentences in the cells would be broken then:
Code: Select all
\begin{tabular}{p{3cm}p{4cm}...}
...
\end{tabular}
-
- Posts: 13
- Joined: Wed Sep 09, 2009 6:55 am
Re: Table size control
it was helpful and it works for me and the table width is now within page size. However, I found as my table is big, now it is gong over-length hight wise. I used \scalebox{0.70} and kept it inside a page.
Is it a good solution or there is any better way I can do it?
Cheers
Arif.
- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Table size control
Further you could consider to set the table in landscape orientation or to use a table with a page break inside.
Stefan