# How would I make a table like this? [duplicate]

Getting the line that splits down the variables column is giving me trouble.

• Welcome to TeX.SX! You can make the variables-cell span two columns with \multicolumn, see e.g. How to merge columns in a table? – Torbjørn T. Nov 21 '14 at 23:58
• Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. – yo' Nov 22 '14 at 0:26
• Does 'like this' mean 'too minute to see anything'? Or is it the way Firefox is rendering it? I can't even see it is a table! It looks like a short line (emdash?) with two tiny dots below. – cfr Nov 22 '14 at 1:03

You should not try to split the colums rather than merging the headline cell:

\begin{table}
\centering
\begin{tabular}{|c|c|c|c|c|c|}
\toprule
\multicolumn{2}{c}{Variables} &  Statement & Inverse & Converse & Contrapositive\\
\midrule
\textit{p} & \textit{q} & & & \\
\bottomrule
\end{tabular}
\end{table}

• Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. – yo' Nov 22 '14 at 0:25