# Multicolumn and multirow (tabularx)

I have a table, and it should be also border betwen C and D in the second row and border between 12 and 13. How to do that?

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[russian]{babel}
\usepackage{multirow,tabularx}
\begin{document}

\begin{tabularx}{\textwidth}{ |X|X|X|X|с|с| }
\hline
\multirow{2}*{N} & \multirow{2}*{номер} & \multicolumn{2}{|c|}{Технические харектеристики} & \multicolumn{2}{|c|}{Поверка} \\   \cline{3-6}
&       & A & B & C  & D   \\ \hline
1 & 235  & ла & ба & 12  & 13   \\ \hline
\end{tabularx}
\end{document}


• Sorry, this does not compile! – user31729 Feb 4 '16 at 15:28

Do you mean this?

\multicolumn is tricky with vertical rules (rather don't use them at all!)

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[russian]{babel}
\usepackage{multirow,tabularx}
\begin{document}

\begin{tabularx}{\textwidth}{|X|X|X|X|c|c|}
\hline
\multirow{2}*{N} & \multirow{2}*{номер} & \multicolumn{2}{c|}{Технические харектеристики} & \multicolumn{2}{c|}{Поверка} \\   \cline{3-6}
&       & A & B & C  & D   \\ \hline
1 & 235  & ла & ба & 12  & 13   \\ \hline
\end{tabularx}
\end{document}


• "(rather don't use them at all!)" - what would you recommend to use instead of \multicolumn ? – Lucky_girl Feb 4 '16 at 15:42
• @Lucky_girl: well, I meant don't use vertical rules. \multicolumn is alright. Vertical rules do not really improve readability – user31729 Feb 4 '16 at 15:44