[code]\begin{tabular}{|l|l|l|l|l|l|l|}[br]\hline[br]DataSet &[br]\multicolumn{2}{c}{A} &[br]\multicolumn{2}{c}{B} &[br]\multicolumn{2}{c|}{C} \\[br]\hline[br]D1 & 2.1\% & 2.1\% & 2.1\% & 2.1\% & 2.1\% & 2.1\% \\[br]\hline[br]D2 & 11.6\% & 11.6\% & 11.6\% & 11.6\% & 11.6\% & 11.6\% \\[br]\hline[br]D3 & 5.5\% & 5.5\% & 5.5\% & 5.5\% & 5.5\% & 5.5\% \\[br]\hline[br]\end{tabular}[/code]
[math]\begin{tabular}{|l|l|l|l|l|l|l|}[br]\hline[br]DataSet &[br]\multicolumn{2}{c}{A} &[br]\multicolumn{2}{c}{B} &[br]\multicolumn{2}{c|}{C} \\[br]\hline[br]D1 & 2.1\% & 2.1\% & 2.1\% & 2.1\% & 2.1\% & 2.1\% \\[br]\hline[br]D2 & 11.6\% & 11.6\% & 11.6\% & 11.6\% & 11.6\% & 11.6\% \\[br]\hline[br]D3 & 5.5\% & 5.5\% & 5.5\% & 5.5\% & 5.5\% & 5.5\% \\[br]\hline[br]\end{tabular}[/math]
[code]\begin{array}{|c|c|}[br]\hline[br]\multicolumn{2}{|c|}{\text{Title}} \\[br]\hline[br]x & y\\ \hline[br]a & b\\[br]c & c\\[br]d & e\\ \hline[br]\end{array}[/code]
[math]\begin{array}{|c|c|}[br]\hline[br]\multicolumn{2}{|c|}{\text{Title}} \\[br]\hline[br]x & y\\ \hline[br]a & b\\[br]c & c\\[br]d & e\\ \hline[br]\end{array}[/math]
[code]\rotatebox{90.0}{ {\begin{array}{|c|c|c|}\hline[br]\multicolumn{2}{|c|}\rotatebox{-90.0}{ \text{ 1 } }&[br]\rotatebox{-90.0}{ \text{ 4 } } \\[br]\hline \rotatebox{-90.0}{ \text{ 5 } }&[br]\rotatebox{-90.0}{ \text{ 3 } } &[br]\rotatebox{-90.0}{ \text{ 44 } }\\[br]\hline \rotatebox{-90.0}{ \text{ 6 } }&[br]\rotatebox{-90.0}{ \text{ 4 } } &[br]\rotatebox{-90.0}{ \text{ 444 } }\\[br]\hline \end{array}} }[/code]
[math][br]\rotatebox{90.0}{ {\begin{array}{|c|c|c|}\hline[br]\multicolumn{2}{|c|}\rotatebox{-90.0}{ \text{ 1 } }&[br]\rotatebox{-90.0}{ \text{ 4 } } \\ \hline \rotatebox{-90.0}{ \text{ 5 } }&[br]\rotatebox{-90.0}{ \text{ 3 } } &[br]\rotatebox{-90.0}{ \text{ 44 } }\\[br]\hline \rotatebox{-90.0}{ \text{ 6 } }&[br]\rotatebox{-90.0}{ \text{ 4 } } &[br]\rotatebox{-90.0}{ \text{ 444 } }\\[br]\hline \end{array}} }[/math]
Adapted from[br][url=https://tex.stackexchange.com/questions/166263/drawing-multicolumn-table-in-latex]tex.stackexchange.com/questions/166263/drawing-multicolumn-table-in-latex[/url][br][url=https://help.geogebra.org/topic/tables_1]help.geogebra.org/topic/tables_1[/url]