I found out that the hhline does not print lines when the argument is greater than 9
as in \hhline{|*14{-}|}
. It works well when doing instead \hhline{|*9{-}*5{-}|}
as the following file shows:
\documentclass{article}
\usepackage{hhline}
\usepackage{colortbl}
\begin{document}
\begin{center}
\small\sf
\begin{tabular}{|c|c|c|c|c|c|c|c|c|} \hhline{|*9{-}|}
\rowcolor[gray]{.8} & & \multicolumn{7}{c|}{Year} \\ \hhline{|*9{-}|}
a & a & a & a & a & a & a & a & a \\ \hhline{|*9{-}|}
\end{tabular}
\end{center}
\begin{center}
\small\sf
\begin{tabular}{|c|c|c|c|c|c|c|c|c|c|c|c|c|c|} \hhline{|*9{-}*5{-}|}
\rowcolor[gray]{.8} & & \multicolumn{12}{c|}{Year} \\ \hhline{|*9{-}*5{-}|}
a & a & a & a & a & a & a & a & a & a & a & a & a & a \\ \hhline{|*9{-}*5{-}|}
\end{tabular}
\end{center}
\begin{center}
\small\sf
\begin{tabular}{|c|c|c|c|c|c|c|c|c|c|c|c|c|c|} \hhline{|*14{-}|}
\rowcolor[gray]{.8} & & \multicolumn{12}{c|}{Year} \\ \hhline{|*14{-}|}
a & a & a & a & a & a & a & a & a & a & a & a & a & a \\ \hhline{|*14{-}|}
\end{tabular}
\end{center}
\end{document}
Is this the expected behavior ?