LyXlongtables can't handle headers/captions/sizing

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
ExecutorElassus
Posts: 94
Joined: Wed Sep 07, 2011 3:14 pm

longtables can't handle headers/captions/sizing

Post by ExecutorElassus »

I'm using KOMAScript, XelaTeX, and a bunch of packages in my document. Here's the preamble:

Code: Select all

\setkomafont{sectioning}{\rmfamily \bfseries}
\KOMAoptions{headings=small}
\usepackage{fontspec}
\usepackage{xunicode}
\usepackage{xltxtra}
\usepackage{polyglossia}
\usepackage{bidi}
\usepackage{xeCJK}
\defaultfontfeatures{Mapping=tex-text}
\usepackage[ruled]{bigfoot}
\DeclareNewFootnote{default}
\DeclareNewFootnote{B}[fnsymbol]
\MakeSortedPerPage{footnoteB}
\makeatletter
\let\@makefntext@orig\@makefntext
\FootnoteSpecific{B}\def\@makefntext{\@makefntext@orig\tiny}
\makeatother
\usepackage[natbib=true,backend=bibtex8,style=alphabetic]{biblatex}
\addbibresource{/home/elassus/carrier5/music/intonation-book/bookbib.bib}
\usepackage[onehalfspacing]{setspace}
\fancyhead[LE,RO]{\itshape\rightmark}
\fancyhead[LO,RE]{\itshape\leftmark}
\usepackage{chngcntr}
\counterwithout{footnote}{chapter}
\definecolor{magenta}{RGB}{102,0,204}
\deffootnote[0.75em]{0.5em}{1em}{\textsuperscript{\thefootnotemark}}
\setmainfont[Ligatures={Historic,Rare,Discretionary,TeX},Contextuals=Swash]{Linux Libertine}
\newfontfamily\latinfont[Script=Latin,Ligatures={Historic,Rare,Discretionary,TeX},Contextuals=Swash,Alternate=0,Style=Historic]{Linux Libertine}
\newfontfamily\italianfont[Ligatures={Historic,Rare,Discretionary,TeX},Contextuals=Swash,Alternate=0,Style=Historic]{Linux Libertine}
\newfontfamily\hebrewfont [Script=Hebrew]{SBLHebrew}
\newfontfamily\arabicfont [Script=Arabic]{Lateef}
\newfontfamily\zhcn [Path=/usr/share/fonts/arphicfonts/]{uming}
\setCJKfamilyfont{zhcnfont}[Path=/usr/share/fonts/arphicfonts/]{uming}
\newfontfamily\ja[Path=/usr/share/fonts/ja-ipafonts/]{ipam}
\setCJKfamilyfont{jafont}[Path=/usr/share/fonts/ja-ipafonts]{ipam}
\newfontfamily\voynich [Path=/usr/share/fonts/freetype/,Color=008000]{EVA1}
\errorcontextlines=10
In that document, I have a child document with an appendix block. In that block I'm trying to place a table. The table is 9x50 or so, with each cell in the top row containing a long-ish block of text. Because of this, I cannot fit the entire table within a single page at normal size (12pt for this document).

There are several things I want to do:
I want the table to cross page boundaries.
On the first page, I want a caption. This caption holds a label for cross-references.
On subsequent pages, I want the next row under the caption to be the header row, and repeated.

Trying to set longtable, and specify extended font sizes (like 'smallest') enabled by KOMAScript, and to have the top two rows respectively as the caption and the header, causes Lyx to freeze on xelatex export.

Trying to rotate the whole table 90° also seems to cause lots of crashing.

Can you please advise how to sort this out?

Cheers,

EE

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

Post Reply