LyXSplitting a long table in a float

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
gilo
Posts: 2
Joined: Tue Jan 25, 2011 7:09 pm

Splitting a long table in a float

Post by gilo »

Hello,

I'm trying to split a long table that is within a float over several pages without much success. The displayed result includes only the rows that fit that one page while the other rows are hidden. Is it possible?

Any help will be appreciated,

-G

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

gilo
Posts: 2
Joined: Tue Jan 25, 2011 7:09 pm

Re: Splitting a long table in a float

Post by gilo »

Ok,

I've found the answer, floats don't split :roll: . Actually, I needed to reference the table and not put it in a float. As I had to add the caption and label manually using ERT, I had to reference it by manually entering the reference.

-G
User avatar
sommerfee
Posts: 503
Joined: Mon Apr 09, 2007 4:20 pm

Splitting a long table in a float

Post by sommerfee »

gilo wrote:As I had to add the caption and label manually using ERT, I had to reference it by manually entering the reference.
No, you don't need to do that. Take a look at the caption package documentation, especially for the commands \captionof, \captionsetup{type=table}, and \ContinuedFloat.

(If you are using a KOMA-Script document class \captionof is already available without loading an extra package for that.)
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Splitting a long table in a float

Post by localghost »

gilo wrote:[…] I've found the answer, floats don't split […]
If so, please mark the topic accordingly as written in Section 3 of the Board Rules (to be read before posting).


Best regards and welcome to the board
Thorsten
Post Reply