I have a table where the first vertical line is longer than the rest. This whole table was a rushjob so I might have missed something obvious.
I suspect this has something to do with my use of multirow but I haven't been able to resolve the issue. I have tried using the solutions from Too long vertical lines in table but nothing seems to work. Does anyone have a good clue about what might be causing this and what I can do to fix it?
Code:
\begin{table}[th]
\centering
\captionsetup{justification=centering}
\caption{Table showing the Bp length of primer set 1, 2 and 3 after restriction cutting with HindIII.}
\begin{tabular}{c|c|c}
Set \textnumero & Calculations & \textbf{Bp} \\
\hline
\multirow{4}{*}{Set 1} & \footnotesize{$R-\text{Res}+1$} & \multirow{2}{*}{$512$}\\
& $23642-23131+1$ & \\
\cline{2-3}
& \footnotesize{$\text{Res}-F$} & \multirow{2}{*}{$4049$}\\
& $23131-19082$ & \\
\hline
\multirow{6}{*}{Set 2}& \footnotesize{$R-\text{Res}_2+1$} & \multirow{2}{*}{$2185$} \\
& $27342-25158+1$ & \\
\cline{2-3}
& \footnotesize{$\text{Res}_2-\text{Res}_1$} & \multirow{2}{*}{$2027$} \\
& $25158-23131$ & \\
\cline{2-3}
& \footnotesize{$\text{Res}-F$} & \multirow{2}{*}{$146$}\\
& $23131-22985$ & \\
\hline
\multirow{8}{*}{Set 3} & \footnotesize{$R-\text{Res}_3+1$} & \multirow{2}{*}{$2465$} \\
& $40049-37585+1$ & \\
\cline{2-3}
& \footnotesize{$\text{Res}_3-\text{Res}_2$} & \multirow{2}{*}{$125$} \\
& $37585-37460$ & \\
\cline{2-3}
& \footnotesize{$\text{Res}_2-\text{Res}_1$} & \multirow{2}{*}{$564$} \\
& $37460-36896$ & \\
\cline{2-3}
& \footnotesize{$\text{Res}-F$} & \multirow{2}{*}{$1442$}\\
& $36896-35454$ & \\
\label{bp:HindIII}
\end{tabular}
\end{table}
When compiled:
The left vertical line stretches a bit further than the right.




which should not be inside table. Move it immediately after\caption{...}`! – Zarko Oct 07 '22 at 13:17