Graphics, Figures & TablesToo much data in table

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
Paradigm6790
Posts: 9
Joined: Tue Apr 19, 2011 8:38 pm

Too much data in table

Post by Paradigm6790 »

Hello everyone!

This seems like it is probably a mundane problem, but I'm having a problem where the data I have inserted into the table I created is simply too much for it, extending over the \textwidth size I set for it's boundaries.

I already have some small formatting of text to reign it in a little, is there another way to have it fit into the defined area besides decreasing the size of the font in every cell?

I've attached an image of the table I speak of, with a red line inserted vertically to indicate where the table should end. It's just dummy data I generated randomly using the maximum possible size of the fields, for a worst case scenario.

Thanks a million!
Help.png
Help.png (61.09 KiB) Viewed 2311 times

Recommended reading 2024:

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

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

Paradigm6790
Posts: 9
Joined: Tue Apr 19, 2011 8:38 pm

Re: Too much data in table

Post by Paradigm6790 »

Sorry for the double post, just updating my situation. I decided the \textwidth bounding was arbitrary, ans just increased the size to fit the extra column.

I do, however, have a seperate problem with the same table. If you notice the multicolumn/multirow areas containing the sideways text "iteration(1-4)" you will see only the first row is gray. I need to make that whole area solid grey, and thought that columncolor would do the job, but it obviously failed.

Thanks again!
achim
Posts: 49
Joined: Wed Aug 05, 2009 2:29 pm

Too much data in table

Post by achim »

You could use the landscape package in order to have the page rotated on which your table is situated. However, the table will be too long for one page then. To solve this, I would use the longtable package. I've just recently compiled a huge table with the two mentioned environments and it works brilliantly.

For your second problem:
Could it be that you define the cell colour outside the multirow command? (Can we maybe see your code?)
OS: Kubuntu
Distribution: TexLive
Editor: Kile
Post Reply