Graphics, Figures & TablesSplitting a table that is too wide for the page

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
jimdare
Posts: 2
Joined: Sun Mar 01, 2009 10:44 pm

Splitting a table that is too wide for the page

Post by jimdare »

Dear LaTeX users,

I have created a program to re-organise a data set into time-series tables for each unit (species). Depending on how many sub-units (stocks) each unit has, determines the width of the table, which is often too wide to fit on an A4 page. I would like to split these wide tables at a certain point (e.g after 9 columns) and continue the table below (see attachment). Someone suggested using longtable and landscape to do this but I can't figure out how. Any help is much appreciated.

Regards,
James
Attachments
desired result.GIF
desired result.GIF (40.81 KiB) Viewed 11613 times

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

Splitting a table that is too wide for the page

Post by localghost »

Instead of splitting the tables you could turn them by using the sidewaystable environment from the rotating package.


Best regards and welcome to the board
Thorsten¹
jimdare
Posts: 2
Joined: Sun Mar 01, 2009 10:44 pm

Re: Splitting a table that is too wide for the page

Post by jimdare »

Thanks for the reply. The tables are for an annual publication that has a set code of formatting regulations. I could easily turn the tables sideways but we would probably get complaints from our patrons. It would be much better if I could figure out a way to split the table.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: Splitting a table that is too wide for the page

Post by localghost »

In this case I see splitting into two separate tables as the only solution.
User avatar
Juanjo
Posts: 657
Joined: Sat Jan 27, 2007 12:46 am

Splitting a table that is too wide for the page

Post by Juanjo »

The ideas shown in this old thread perhaps may help.
The CTAN lion is an artwork by Duane Bibby. Courtesy of www.ctan.org.
Post Reply