Can anyone help me to figure out why this code does not work in Lyx? Despite using longtable, the table gets truncated at the end of page after overflowing the bottom margin.
\begin{threeparttable}
\begin{longtable}{@{\hskip\tabcolsep\extracolsep\fill}l*{7}{c}}
\toprule
Country & N obs & Total years & No degree & High school & Some college,+ & smth & smth \\
& & of education & & & & prestige score & income score \\ \hline \multirow{2}{0mm}{Albania} & \multirow{2}{0mm}{16} & 12.1 & 9 & 31 & 59 & 48.4 & 32.1 \\
\medskip & & (2.8) & (30) & (47) & (50) & (11.9) & (10.1) \\
\medskip \multirow{2}{0mm}{Norway} & \multirow{2}{0mm}{229} & 12.2 & 8 & 28 & 65 & 47.0 & 31.0 \\
\bottomrule
\end{longtable}
\end{threeparttable}
threeparttable
code if there are no table notes?threeparttable
machinery to begin with when using alongtable
. Instead, look into using the threeparttablex machinery.