LaTeX forum ⇒ Graphics, Figures & Tablestext flowing off of the end of the page Topic is solved

Information and discussion about graphics, figures & tables in LaTeX documents.
dalupus
Posts: 2
Joined: Sat Oct 18, 2014 12:14 am

text flowing off of the end of the page

Postby dalupus » Sat Oct 18, 2014 12:22 am

I am running into an issue with the interaction between longtable and include graphics. It appears that if include graphics floats onto the next page longtable doesn't realize this and makes text run off the screen.

Everything works fine if I remove the graphic or if I change longtable to tabular. Unfortunately changing to tabular isn't an option since I am using pandoc to make the table.

overflow.png
overflow.png (87.22 KiB) Viewed 3604 times


Thanks to anyone that can help. Not sure if this is a bug that was recently introduced or ...
Attachments
unnamed-chunk-3-1.pdf
(6.77 KiB) Downloaded 253 times
overlow.tex
(8.4 KiB) Downloaded 235 times

Tags:

dalupus
Posts: 2
Joined: Sat Oct 18, 2014 12:14 am

Postby dalupus » Sat Oct 18, 2014 3:08 am

I have found the issue. There is a bug in longtable that it doesn't work when floats end up on the same page as a table.

http://tex.stackexchange.com/questions/ ... 748#207748

http://www.latex-project.org/cgi-bin/lt ... tools/3512

You have to change a few lines in the longtable.sty file. I'm surprised more users are not running into this issue.


Return to “Graphics, Figures & Tables”

Who is online

Users browsing this forum: No registered users and 5 guests