creating csv simple double header

by KZ123   Last Updated August 13, 2019 21:23 PM

I am trying to include to first two rows as headers. I would like to have the units - - m m m etc. on every page and another line below.

I am not an advanced user of csvsimple, and I have not been unable to find answers in the manual.

First page looks like this:

first

And the second:

second

I have already sorted out the problem of having latex symbols such as \delta.

Also, the other problem I am facing is that I cannot get the header to display on every page.

\begin{longtable}{lllllllllll} \caption{Database of Ropax Ships.}\\ \toprule \csvreader[ head=false, late after line=\\, filter equal={\thecsvinputline}{1}, ]{data_appendix.csv}{}{\csvcoli & \csvcolii & \csvcoliii & \csvcoliv & \csvcolv & \csvcolvi & \csvcolvii & \csvcolviii & \csvcolix} \midrule \endfirsthead \toprule \csvreader[ head=false, late after line=\\, filter equal={\thecsvinputline}{1}, ]{data_appendix.csv}{}{\csvcoli & \csvcolii & \csvcoliii & \csvcoliv & \csvcolv & \csvcolvi & \csvcolvii & \csvcolviii & \csvcolix} \midrule \endhead \midrule \endfoot \bottomrule \endlastfoot \csvreader[ head=false, late after line=\\, filter not equal={\thecsvinputline}{1}, ]{data_appendix.csv}{}{\csvcoli & \csvcolii & \csvcoliii & \csvcoliv & \csvcolv & \csvcolvi & \csvcolvii & \csvcolviii & \csvcolix} \end{longtable}

I would really appreciate some help.



Related Questions


Missing \endgroup in csv longtable

Updated April 05, 2017 19:23 PM

csvsimple longtable header issue

Updated September 14, 2017 17:23 PM


Error in longtable with csvreader

Updated July 23, 2019 14:23 PM