I have a table that I use the following code to produce:
\begin{table}[h!]
\centering
\hline\noalign{\smallskip}
%\vspace{-0.3cm}
\caption{ \textit{The percentages of all three cases of paired-end read alignments by HMMER and Short-Pair for the RNA-Seq data. ``HMMER w/o filtration" : running HMMER by turning off all filtration steps. ``HMMER GA cutoff": applying HMMER with gathering thresholds.}}
\label{tab:ArabThreeCases2}
%\vspace{-0.3cm}
\begin{tabular}{lllllll}
\hline\noalign{\smallskip}
Case& A, & B, & C, & D\\
& $E$-value 10 & w/o filtration, & GA cutoff &\\
& & $E$-value 10 & & \\
\noalign{\smallskip}
\hline
\noalign{\smallskip}
Case 1 & 34.51\% & 32.83\% & 22.51\% & 0.42\%\\
Case 2 & 28.42\% & 31.58\% & 8.84\% & 62.51\%\\
Case 3 & 37.07\% & 35.59\% & 68.65\% & 37.07\%\\
\hline
\end{tabular}{}
\end{table}
The table created has an horizontal line before the table caption, which is what I want. But as you can see this horizontal line has a different length than the other horizontal lines in the table. I want all of them to have the same length (The length of the line above the caption). How would I achieve that?


tabular*instead oftabularif you want to expand it to a specific width. → http://tex.stackexchange.com/a/247984/9057 – Schweinebacke Mar 24 '17 at 18:42l), but you are using only 5. And you can add extra space simply using\\[\smallskipamount]instead of\\\noalign{\smallskip}or better usebooktabs. – Schweinebacke Mar 24 '17 at 18:49