I have this MWE:
\documentclass{article}
\usepackage{multirow}
\begin{document}
\begin{table}[here]
\begin{center}
\begin{tabular}{|l|l|c|}
\hline
\multicolumn{2}{|c|}{\textbf{SED}} & \multirow{2}{*}{\textbf{\% compressione}} \\
\cline{1-2}
\textbf{MC} & \textbf{DP} & \\
\hline
\hline
0.00016032 & 0.0001750267 & 10\%\\
\hline
\end{tabular}
\end{center}
\end{table}
\end{document}
It realizes this image:
The first two columns are correctly formatted to the left, but I want it so that just MC and DP will be centered, how can I do that?
Best Answer
Like you did it with the "SED": with
\multicolumn
: