LyXmulti-line header in longtable

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
amitk
Posts: 20
Joined: Sun May 17, 2009 10:48 am

multi-line header in longtable

Post by amitk »

My header for longtable is composed of 3 lines (the upper contain merged cells for topic aggregation). When a line is marked as header, only this line become a header. How do I make the first 3 lines a header (to appear in the next page too).
Why a long table over several pages appear in the list of table as many times as the number of pages where it appears?

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

amitk
Posts: 20
Joined: Sun May 17, 2009 10:48 am

Re: multi-line header in longtable

Post by amitk »

Solved it. If you have the same problem the solution is:
1. make the table longtable
2. choose the first cell and enter setting
3. mark the header
4. add the number of lines necessitate for the heading
in this way, the \endhead command will appear after all the lines of the heading.
Post Reply