# The vertical lines not complete

I have a problem with the creating table "The vertical lines not complete"

\begin{table}[h!]
\caption{Comparison Between The Conventional and The Proposed Design Multipliers.}
\begin{center}
\begin{tabular}{|l|l|l|l|l|l|l|}
\hline
&
\multicolumn{2}{|l|}{\raisebox{-1.50ex}[0cm][0cm]{3$\times$3}}&
\multicolumn{2}{|l|}{\raisebox{-1.50ex}[0cm][0cm]{6$\times$6}}&
\multicolumn{2}{|l|}{\raisebox{-1.50ex}[0cm][0cm]{12$\times$12}}
\\
&
\multicolumn{2}{|l|}{}&
\\
\hline
AA&
Conventional&
Proposed&
Conven.&
Proposed&
Conven.&
Proposed
\\
\hline
BB&
1669.45 &
1669.45&
396.04&
583.43 &
110.49&
189.79
\\
\hline
CC&
4&
4&
43&
23&
290&
219
\\
\hline
\end{tabular}
\label{tab1}
\end{center}\vs{-4mm}
\end{table}


• Just add a \multicolumn{2}{|l|}{}&  to the third row. – user121799 Apr 16 '18 at 18:36
• Or remove this empty line and replace the above \\  with \\[3ex] or some other length. – Bernard Apr 16 '18 at 18:39

Instead of filling in missing vertical lines, get rid of all vertical lines and seize the opportunity to give your table a more open and inviting "look". I recommend you load the booktabs package and use its macros \toprule, \bottomrule, \midrule and \cmidrule to draw fewer but well-spaced horizontal lines.

\documentclass{article}
\usepackage{siunitx,  % for 'S' column type
booktabs, % for well-spaced horiz. lines
caption}  % fine-tune appearance of captions
\begin{document}

\begin{table}[h!]
\captionsetup{skip=0.5\baselineskip}
\caption{Comparison between conventional and proposed design multipliers.} \label{tab1}
\centering
\begin{tabular}{@{} l *{2}{S[table-format=4.2]} *{4}{S[table-format=3.2]} @{}}
\toprule
& \multicolumn{2}{c}{3$\times$3}
& \multicolumn{2}{c}{6$\times$6}
& \multicolumn{2}{c}{12$\times$12}\\
\cmidrule(lr){2-3} \cmidrule(lr){4-5} \cmidrule(l){6-7}
AA & {convent.} & {prop.} & {convent.} & {prop.} & {convent.} & {prop.} \\
BB & 1669.45 & 1669.45 & 396.04 & 583.43 & 110.49 & 189.79 \\
CC & 4 & 4 & 43 & 23 & 290 & 219 \\
\bottomrule
\end{tabular}
\end{table}

\end{document}


above image is obtained by use \Gape macro from the package makecell:

\documentclass{article}
\usepackage[skip=1ex]{caption}
\usepackage{makecell}
\newcommand\mcl[1]{\multicolumn{2}{l|}{\Gape[6pt][6pt]{#1}}} % for shorter table code

\begin{document}
\begin{table}[htb]
\caption{Comparison Between The Conventional and The Proposed Design Multipliers.}
\label{tab1}
\centering
\begin{tabular}{|*{7}{l|}}
\hline
& \mcl{$3\times3$}  & \mcl{$6\times6$}  & \mcl{$12\times12$}    \\
\hline
AA  & Conv. & Proposed  & Conv. & Proposed  & Conv.     & Proposed  \\
\hline
BB  & 1669.45 & 1669.45 & 396.04& 583.43    & 110.49    & 189.79    \\
\hline
CC  & 4       & 4       & 43    & 23        & 290       & 219       \\
\hline
\end{tabular}
\end{table}
\end{document}


• thanks for the suggested comments, but I need to resolve it using the same written code (the template format code is recommended) – user160931 Apr 16 '18 at 20:53
• sorry, i don't understand you. the same code as you have is erroneous. how you will correct errors if you will not change the code? – Zarko Apr 16 '18 at 20:58
• I mean this is the journal format code , and should to be followed – user160931 Apr 16 '18 at 21:48

I would propose a more-readable design by combining numbers vertically into a column and the first two columns hold text. This design is naturally read from top to bottom. Also, observe the two tweaks; \setlength{\tabcolsep}{1em} and \\[.4em], for enhanced readability.

\documentclass{article}
\usepackage{siunitx,  % for 'S' column type
booktabs, % for well-spaced horiz. lines
caption}  % fine-tune appearance of captions
\begin{document}

\begin{table}[h!]
\setlength{\tabcolsep}{1em}
\captionsetup{skip=0.5\baselineskip}
\caption{Comparison between conventional and proposed design multipliers.} \label{tab1}
\centering
\begin{tabular}{@{}ll S[table-format=4.2] S[table-format=3]@{}}
\toprule
& AA       & {BB}    & {CC} \\ \midrule
$3\times3$           & convent. & 1669.45 & 4    \\
& prop.    & 1669.45 & 4    \\ [.4em]
$6\times6$           & convent. & 396.04  & 43   \\
& prop.    & 583.43  & 23   \\ [.4em]
$12\times12$         & convent. & 110.49  & 290  \\
& prop.    & 189.79  & 219  \\ \bottomrule
\end{tabular}
\end{table}

\end{document}