I have a really long \longtable - some 150 rows. I need to make certain rows (~80 of them) boldface and leave the other ones normal. But just putting {\bf a & b & ... & z} \\ causes an error. Is there an elegant, simple way to do this? I've searched, but can't find anything.
The following does not seem to work, at least not on my machine:
\documentclass[12pt]{article}
\usepackage{array,longtable}
\newcolumntype{C}{>{\rowfont}c}
\newcommand\setrowfont[1]{\noalign{\gdef\rowfont{#1}}}
\gdef\rowfont{}
\begin{document}
\begin{longtable}{l||c|c}
\setrowfont{\bfseries}
let's & try & this\\ \hline
\setrowfont{\bfseries\itshape}
and & see & if\\
it & might & work
\end{longtable}
\end{document}

