I have a big table which contains hundreds of rows. I want to repeat the top two rows on every page of the table. How can I do it in TeX?
[Tex/LaTex] How to repeat top rows (column headings) on every page
longtabletables
longtabletables
I have a big table which contains hundreds of rows. I want to repeat the top two rows on every page of the table. How can I do it in TeX?
Best Answer
Both the
longtable
package and thesupertabular
package can do this. Here's an example usinglongtable
:The same basic idea works with
supertabular
but the commands for setting the repeated elements across pages is done before thesupertabular
environment itself: