0

I am creating long table from csv file. I want specific rows to be in bold font. how to do it ? Csv file is huge. I have tried \textbf{} as it works in normal table from csv file. My code is ..

\begin{longtable}{|l|l|l|l|l|l|l|l|l|} 
\toprule
\midrule \endhead
\bottomrule 
\caption{Feature Description}
\label{summary_tbl_14}
\endfoot
    \csvreader[
    late after line=\\,
    late after last line=,
    before reading={\catcode`\#=12},
    after reading={\catcode`\#=6}]{csv/Summary.csv}
    {1=\AttrName, 2=\Vt, 3=\Vf,4=\Vs,5=\Ve,6=\Vn,7=\Vt,8=\Vel,9=\Vte}    
    {\AttrName & \Vt & \Vf & \Vs & \Ve & \Vn & \Vt & \Vel & \Vte}
\end{longtable}

Sample rows from CSV ..

AttrName,Vt,Vf,Vs,Ve,Vn,Vt,Vel,Vte

Min.,29,0,-18,-9,1,1,0,-9

1stQu.,48,0,-9,-9,3,120,0,212

3
  • code is not appearing in proper format here .. please help – shantanu pathak Feb 23 '18 at 4:58
  • Use {} Button to mark code... – koleygr Feb 23 '18 at 5:00
  • 2
    The code would look fine if it was compilable (see here: tex.meta.stackexchange.com/questions/228/…) You can use filecontents package to include a part of the csv too and fix it. – koleygr Feb 23 '18 at 5:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.