I am using the below code for making a latex table. Unfortunately, when I compile the vertical line of last column is missing.
\documentclass{article}
\begin{document}
\begin{table}[b!]
\centering
%\footnotesize
\caption{\label{tab:experiments_summary_1}
Summary of fiber experiments. }
\begin{tabular} {|c||c|c|c|*{1}{r@{\,}c@{\,}l|}}
\hline
Type & A
& B
& C
& \multicolumn{3}{c|}{D} \\
\hline \hline
1 & 100 & 284198 & 1940876 & $7.6 \times 10^{-6}$ \\
\hline
2 & 100 & 265212 & 1882294 & $1.8 \times 10^{-6}$ \\
\hline
3 & 200 & 200194 & 1472625 & $7.1 \times 10^{-4}$ \\
\hline
4 & 200 & 40477 & 504115 & $4.6 \times 10^{-4}$ \\
\hline
5 & 300 & 36846 & 314694 & $7.2 \times 10^{-3}$ \\
\hline
6 & 315 & 359881 & 3852568 & $1.5 \times 10^{-3}$ \\
\hline
7 & 420 & 123026 & 1039820 & $5.8 \times 10^{-3}$ \\
\hline
\end{tabular}
\end{table}
\end{document}
Best Answer
your D column is really implemented as three columns
r@{\,}c@{\,}l
(it isn't clear why?)You only put your math data in the first of these columns so there is no | the final two columns are not used so the final | is never reached.