Graphics, Figures & TablesProblems with longtable and multirow

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
turbomac
Posts: 34
Joined: Sat Oct 10, 2009 9:38 pm

Problems with longtable and multirow

Post by turbomac »

Hi everyone:

I'm using longtable and multirow environments to make a VERY long table. I'm also using \endfirsthead and \endfoot commands to span the table into several pages. The problem is the spanning doesn't work correctly at the end of each page, due to the multirow cells I have, and when I try to adjust the text of these cells, others are also affected... I don't know why.

The table fits correctly in portrait, and so, it's not necessary to rotate it.

I attach a minimal code example.

Any suggestion?
Thanks in advance
Turbo
Attachments
temp1.pdf
(34.43 KiB) Downloaded 1118 times
temp1.tex
(6.83 KiB) Downloaded 704 times
Last edited by turbomac on Mon Feb 21, 2011 5:52 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Juanjo
Posts: 657
Joined: Sat Jan 27, 2007 12:46 am

Re: Problems with longtable and multirow

Post by Juanjo »

Please, find attached a new version of your tex file. Remark that most multirow cells spand 11 rows, not 10 as you had written. I've removed superflous \parboxes, corrected the double lines in the middle of two \multicolumns (some |c| descriptors changed to c|), and improved other details. I think it is necessary to manually insert \pagebreak commands in order to properly distribute the table in several pages. There are two \pagebreaks in the attached file.
Attachments
temp1.pdf
(23.75 KiB) Downloaded 1710 times
temp1.tex
(6.77 KiB) Downloaded 1977 times
The CTAN lion is an artwork by Duane Bibby. Courtesy of www.ctan.org.
turbomac
Posts: 34
Joined: Sat Oct 10, 2009 9:38 pm

Re: Problems with longtable and multirow

Post by turbomac »

Man, that was exactly what I was trying to do!! It's AWESOME!! Thanks!

Turbo
Post Reply