# 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:

And the 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.

Tags :

## Related Questions

Updated April 05, 2017 19:23 PM

Updated September 14, 2017 17:23 PM

Updated February 19, 2018 20:23 PM

Updated July 23, 2019 14:23 PM

Updated May 05, 2015 21:10 PM