Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Making a complicated table is a pain in Latex. I am using a longtable in my tex and need to change the maximum number of rows in a page. Is there any way to set the maximum number of rows in a page?

share|improve this question

migrated from stackoverflow.com Apr 21 '12 at 7:21

This question came from our site for professional and enthusiast programmers.

1  
Welcome to TeX.sx! Your question was migrated here from another stackexchange site. Please register on this site, too, and make sure that both accounts are associated with each other (by using the same OpenID), otherwise you won't be able to comment on or accept answers or edit your question –  Marco Daniel Apr 21 '12 at 7:58
    
is your table going to span multiple pages? is your intention to place other text/floats on the same page as your longtable or will only the longtable be on the page(s) (exempli gratia, an appendix for nomenclature) –  asia1281 Apr 21 '12 at 8:09
add comment

1 Answer 1

longtable does not count rows (and in any case the rows may be different heights because of vertical material such as p-columns). It uses an output routine to break the pages to a target height (\textheight) It is possible, with care, to change \textheight locally for a region of a document which is, I suspect, what you need here.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.