LyX ⇒ Page breaking within a table
Page breaking within a table
I'm trying to use Lyx to design lesson plan for my class. I set up a two column table and fixed the width of both columns. I then put the categories I need down the left hand column and inserted boxes (minipage) on the right for the content.
It looks great, except that the PDF goes crazy if the content exceeds a single page. I've tried using pagebreaks, but they don't work.
I need to find out how to make the table automatically break at the end of the page. Can anyone help? (I thought Lyx was supposed to do this sort of thing for me!)
Thanks,
Liam
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
- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
Page breaking within a table
welcome to the board!
Use the option Use long table in the tab Longtable of the table dialog to split the table automatically at page breaks.
Stefan
Re: Page breaking within a table
From experimenting, enabling "long table" and "page break on current row" will implement a page break only if required by the length of the text, which is exactly what I wanted.
Is there any disadvantage to enabling these options? Could I enable them for ever row, so as to ensure proper page breaking wherever it needs to occur? (If so, why isn't this the default?)
-
- Posts: 3
- Joined: Mon Mar 20, 2017 5:09 pm
Page breaking within a table
I am using LyX 2.2, and instead of Longtable -> Use long table, when I right-click on my table and in Tabular Settings there is a Multi-page table menu, with the possibility of ticking on "Use multi-page table". I did it, but my table does not break. Even if I manually select a line and tick on "Page break on current row", the table keeps disappearing at the bottom of the page.
Any idea of why is this happening? Thank you for your help!
Page breaking within a table
Don't put your table into any float environment, see http://wiki.lyx.org/LyX/Tables#longtab-capChemFloris wrote:Hej Stefan,
I am using LyX 2.2, and instead of Longtable -> Use long table, when I right-click on my table and in Tabular Settings there is a Multi-page table menu, with the possibility of ticking on "Use multi-page table". I did it, but my table does not break. Even if I manually select a line and tick on "Page break on current row", the table keeps disappearing at the bottom of the page.
Any idea of why is this happening? Thank you for your help!