Graphics, Figures & Tables ⇒ Tables too wide for a page
Tables too wide for a page
My question is about splitting tables across multiple pages. I know that if I have a table that is too long for a page, I can use longtable to split that table across multiple pages. If I have a table that is too wide for a page, I can use sidewaystable or make everything tiny to get some extra room. If I have a table that is seriously too wide but not very long, obviously I could transpose the contents of the table and then use longtable. There are situations, however, in which none of these solutions will work. If I have a table that is so wide that it will not fit sideways on a page, even if I make it tiny, and transposing the data does not leave me any better off, what is the best thing to do? Ideally I would like to turn the table sideways and then use something analogous to longtable to split the columns of the table across multiple pages. Does anybody know a latex package that does this, or is the only solution to split my wide tables into multiple tables manually?
Last edited by jrrrudy on Thu Sep 23, 2010 11:46 pm, edited 1 time in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.

Tables too wide for a page
Hi,
As far as I know, there's no package that splits columns across pages; you'll have to do it manually.jrrrudy wrote:...Ideally I would like to turn the table sideways and then use something analogous to longtable to split the columns of the table across multiple pages. Does anybody know a latex package that does this, or is the only solution to split my wide tables into multiple tables manually?
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Tables too wide for a page
Sometimes I simply rotate the column headings via \rotatebox. Helps a lot. It even looks alright.jrrrudy wrote:If I have a table that is so wide that it will not fit sideways on a page, even if I make it tiny, and transposing the data does not leave me any better off, what is the best thing to do? Ideally I would like to turn the table sideways and then use something analogous to longtable to split the columns of the table across multiple pages.
Last edited by Montag on Wed Sep 22, 2010 11:37 am, edited 1 time in total.
OS: Win 7 64-bit LaTeX: MikTeX 2.9 64-bit Editor: TXC 1 RC1
Re: Tables too wide for a page
Thanks for the tips, Enrico, and for the feedback Gmedina. I forgot to mention using rotatebox on the column headings. I have done that as well. Using linebreak is no good for me, as all my entries are numeric. I'm inclined to believe Gmedina, as extensive searching has turned up nothing. I just wanted to see what the experts had to say. Any other ideas would be appreciated.
Tables too wide for a page
The geometry package can now (with the \newgeometry and \restoregeometry commands) set different settings for different page ranges, so that, e.g., you could set several pages in a row in landscape (and have a table span them with longtable without needing sidewaystable or similar) and then switch back to portrait in the same document, but it sounds like that by itself isn't going to solve your problem. I think you're going to have to settle for manually breaking things or rethinking whether a single table is the best way to present these data.
Re: Tables too wide for a page
Okay, I guess doing it manually is the way to go then. That geometry trick is clever, though, and I may see if I can work out something with that if I have more time in the future.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Tables too wide for a page
If the problem is solved with that, please be so kind and mark the topic accordingly as clearly written in the Board Rules (to be read before posting). Otherwise tell us what is missing.
Best regards
Thorsten
Best regards
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10