On 24/05/2023 12:32, gafna jeff wrote:
> Hello everyone,
> Am Jeff. Am writing my thesis and I would like to have a table in the
> additional information section. However, the table is too wide and
> also too long for a single page. Am struggling to rotate the table
> and make it fit sideways and also fit in many pages. Could someone be
> kind enough to show me how to do this in my code?
I am attaching test.tex, test.pdf, and test.jpg, but I don't know if
they'll make it through Gmail's weirdo mailing list. If not, let me know
and I'll post them on my web site.
This fits on A4 paper landscape. If you're using American "Letter"
paper, change the \tabcolsep to be smaller. Things I changed:
• no need for the tabularray or longtable packages
• smaller font (8pt on a 9pt baseline)
• the default sans font (CMSS) is much narrower than the
default serif face (CMR) so it saves space.
• use the array package to allow bottom-aligned multi-line
cells for the column headings, and grouped column definitions
so that the five blocks are done the same way.
• force special hyphenation to break some words how we want them
• change the margins to 1cm
• remove the page number
If this is in an Appendix, not a regular Chapter, then you can probably
get away with it by using the rotating package to turn it 90° within
your existing thesis code. You can probably make it slightly smaller to
accommodate a Table caption and page number by playing with the
tabcolsep and the point size or even the column sizes. Do all this in a
standalone file like this, until it's right.
If you need it in bigger type, it won't fit (as you have already
discovered) so you'll need to make an architectural decision. You've got
about 55 rows in five 4-column blocks (excluding headings). You need to
decide either
to split the table into two vertically, with three blocks (OSCVM to Max
Ent) in one page, and two blocks (EB-SDM and ES-SDM) on the next page
(repeating the headings)
OR
to split the table horizontally, with rows Acacia et to Cyphostema
serpens on one page and the rest on the second page
OR
some combination of two two. Both will need some trial and error and
some fiddling.
Peter
--
Peter Flynn PhD FICS
🇮🇪 Cork 🇪🇺 Ireland
📧
pe...@silmaril.ie