I'm a beginner user of Latex , i wana drow a table but i got this
i wana add the lines between the rows, also the caption in the center and expand the cells.
\documentclass{article}
\usepackage{multirow}
\usepackage{array}
\begin{document}
\begin{table}
\centering
\begin{tabular}{|>{\bfseries}c|*{4}{c|}}\hline
\multirow{2}{*}{\bfseries Algorithme} &
\multicolumn{2}{c|}{\bfseries 2-hop} \\\cline{2-5} & \textbf{node} & \textbf{true?} \\ \hline
R-ELM & Normal & No \\ \hline
Q-ELM & Normal & No \\ \hline
\end{tabular}
\caption{some table}
\end{table}
\end{document}
\documentclass{...}
and ending with\end{document}
. In preamble load only necessary packages.\documentclass{article} \usepackage{array, multirow} \begin{document} \begin{table} \centering \begin{tabular}{|>{\bfseries}c| *{2}{c|} } \hline \multirow{2}{*}{Algorithme} & \multicolumn{2}{c|}{\textbf{2-hop}} \\ \cline{2-3} & \textbf{node} & \textbf{true?} \\ \hline R-ELM & Normal & No \\ \hline Q-ELM & Normal & No \\ \hline \end{tabular} \caption{some table} \end{table} \end{document}
gives what you want.