I have to make a table with nested columns in the first row.
\begin{tabular}{|c|c|c|c|c|c|c|c|c|c|c|c|c|c|}
\hline
\multicolumn{14}{|c|}{Truth table}\\
\hline
\multicolumn{4}{|c|c|c|c}{Inputs} %error here
& \multicolumn{10}{|c|c|c|c|c|c|c|c|c|c|}{Outputs}\\
\hline
$A_3$ & $A_2$ & $A_1$ & $A_0$ & $\bar{Y_0}$ & $\bar{Y_1}$ & $\bar{Y_2}$ & $\bar{Y_3}$ & $\bar{Y_4}$ & $\bar{Y_5}$ & $\bar{Y_6}$ & $\bar{Y_7}$ & $\bar{Y_8}$ & $\bar{Y_9}$\\
\hline
\end{tabular}
\end{solution}
When trying to compile, it's throwing me the following error on the fifth line of the code showed earlier.
Missing \endgroup inserted
I have closed the curly brackets. What am I missing?
Best Answer
Try this: