I have been away for long time, since I was busy with my research and presently I’m writing my thesis to the end. Well, I’m working on large number of stellar objects and, of course, I have to provide basic information about them in tabular form at the end of the thesis. So I needed not a simple tabular form usually used in LaTeX, but I have to use another package to make it seamless over many pages. And I think longtable package is perfect for it. Here I tell you how to do it.
So first you have to add this package in preamble of your document:
And, then, you can add the following template for longtable wherever you want to add the table:
Please read the accompanying comments and make necessary changes. And that’s all, you have your long table, which spans many pages and looks great.
One more thing: I had a problem with width of the table. I had way too many columns to accomodate within the boundaries. I used \scriptsize to make the fontsize reasonably small. It didn’t help, too. So the best solution is to present the table in landscape mode. Unfortunately, you can’t do that within longtable, but you have to use another package, called landscape. So add the following line in your preamble:
And after that, just change the environment from center to landscape in the template above. This solves the problem and you have beautiful table.