as you can see in the attached screenshot I want to make a somehow basic table. I'm bound to long table headers so I obviously want them to wrap instead of pushing my table off the page. How can I do that? I tried tabularx which worked fine as long as I didn't use the multicolumn in the headers.
And second, I don't want to have the horizontal rule continuing over my text of the two left headers.
Is there anyone around with a suggestion?
Code: Select all
\begin{table}[ht!]
\centering
\begin{tabular}{|c|c||c|c|c|c|c|c|}
\hline
\multirow{2}{*}{Modulatie} & \multirow{2}{*}{Code Rate} & \multicolumn{2}{c|}{Ogenblikkelijke data rate} & \multicolumn{2}{c|}{Data rate per frame} & \multicolumn{2}{c|}{Data rate in het datadeel van een frame} \\ \hline
& & DL & UL & DL & UL & DL & UL \\ \hline \hline
QPSK & 1/2 CTC & 3,500 & 3,500 & 3,456 & & 3,168 & \\ \hline
QPSK & 3/4 CTC & 5,250 & 3,500 &5,184 & & 4,752 & \\ \hline
16-QAM & 1/2 CTC & 7,000 & 3,500& 6,912& & 6,336 & \\ \hline
16-QAM & 3/4 CTC & 10,500 & 3,500 & 10,368& &9,504 & \\ \hline
64-QAM & 1/2 CTC & 10,500 & 3,500 &10,368& &9,504 & \\ \hline
64-QAM & 2/3 CTC & 14,000 & 3,500 &13,824& &12,672& \\ \hline
64-QAM & 3/4 CTC & 15,750 & 3,500 &15,552& &14,256 & \\ \hline
64-QAM & 5/6 CTC & 17,500 & 3,500 &17,280& &15,840 & \\ \hline
\hline
\end{tabular}
\caption{Verschillende downlink PHY datarates in Mbps}
\label{tab:phyrates}
\end{table}