I didn't find a solution to this problem in the Lyx documentation.
I have created a table in Lyx (outside of a float), and it need to span multiple pages and posses a 2 line header on each subsequent page.
What is the best way to do this.
David
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityI didn't find a solution to this problem in the Lyx documentation.
I have created a table in Lyx (outside of a float), and it need to span multiple pages and posses a 2 line header on each subsequent page.
What is the best way to do this.
David
So this was much easier than I expected.
First you add the table outside of a 'float' environment (floats are made to only fit on a single page).
Then select all the cells in the table (otherwise it did't seem to work in my instance ?. Right click -> More -> Settings. This open the table dialog box, the 3rd tab is for longtable settings. Select it.
Now for each line that you would like to appear as a header on every page. Select the first cell in the row. Again go to the right click -> More -> Settings (longtable tab).
Select the 2 options for 'Header' and 'First row'. Now do the same for the next rows in that you want to have as a heading.
Unfortunately this isn't the obvious course of affairs. But is in fact fairly obvious... when you realise it.
I initially selected both the lines at a time (Which didn't work).
Hope this helps someone else.
David