I have a table, and I want to vertical align all the columns.
Consider this code:
Code: Select all
\begin{table}[h]
\centering
\sffamily \begin{tabularx}{\linewidth}{|X|c|c|c|c|c|c|X|}
\hline
\multicolumn{2}{|c|}{Topologie} & \#c & Motif & $v \in V$ obligatoire & $D$ & $\Delta$ & Complexité \\
\hline
$G$ & $H$ & \multirow{2}{*}{$2$} & \multirow{2}{*}{$=$} & \multirow{2}{*}{$\varnothing$} & \multirow{2}{*}{$\{1, qlc \}$} & \multirow{2}{*}{qlc} & \multirow{2}{*}{Inapprox} \\
\cline{1-2}
Graphe complet, intervalles propres, split-graph, étoile, $2$-coloration valide, graphe-bloc, arbre & qlc & & & & & & \\
\hline
\end{tabularx} \normalfont
\caption{Synthèse des conditions étudiées.}
\label{tab:Appr}
\end{table}
But I want something like this :
So, how can I have a column verticaly align ?