Code:
\begin{tabular}{|l||l|l|l|l|l|l|l|l|l|l|}
\hline
\multicolumn{1}{|r||}{} & \multicolumn{2}{c|}{} & \multicolumn{4}{c|}{Upper 4 Bit} & \multicolumn{4}{c|}{Lower 4 Bit} \\
\cline{1-11}
Bit name &rs &rw &db7 &db6 &db5 &db4 &db3 &db2 &db1 &db0 \\\hline
test &test &test &test &test &test &test &test &test &test &test \\\hline
\end{tabular}
schöner:
Code:
\documentclass[a4paper]{article}
\usepackage{booktabs}
\begin{document}
\begin{tabular}{lllllllllll}
\toprule
&&& \multicolumn{4}{c}{Upper 4 Bit} & \multicolumn{4}{c}{Lower 4 Bit} \\
\cmidrule(r){1-1} \cmidrule(lr){2-3} \cmidrule(lr){4-7} \cmidrule(l){8-11}
Bit name &rs &rw &db7 &db6 &db5 &db4 &db3 &db2 &db1 &db0 \\
test &test &test &test &test &test &test &test &test &test &test \\
\bottomrule
\end{tabular}
\end{document}
Lesezeichen