I would like to create a table with vertical headers and over the headers I want an extra categorization. But I don't know how to fix the size of the table. Can someone please help me with this? I also always use p{\textwidth} to arrange the size of the table to fit my page. Which is not a practical solution. However, its the only form I've found to fit a table in the page margins. If someone has also a comment on this. I would be happy to get some tips.
\begin{table}[H]
\centering
\begin{tabular}{p{.15\textwidth}p{.05\textwidth}p{.05\textwidth}p{.05\textwidth}p{.05\textwidth}p{.05\textwidth}p{.05\textwidth}p{.05\textwidth}p{.05\textwidth}p{.05\textwidth}}
\toprule
\textbf{Sensitivity}
& \multicolumn{1}{c}{\textbf{Electricity}}
& \multicolumn{4}{c}{\textbf{Fuels}}
& \multicolumn{2}{c}{\textbf{Transport}}
& \multicolumn{2}{c}{\textbf{Othe parameters}} \\ \hline
&
\turnbox{90}{Ren.Expansion [GW]} &
\turnbox{90}{H$_2$}&
\turnbox{90}{CH$_4$}&
\turnbox{90}{NH$_3$}&
\turnbox{90}{CH$_3$OH}&
\turnbox{90}{BEV private [Mio]}&
\turnbox{90}{Public Buses [Mio]}&
\turnbox{90}{CO$_2$ Budget [Mton]}&
\turnbox{90}{WACC [\%]}\\
\midrule
Base & 5 & 1 & 2 & 3 & 4 & 1 & 2 & 10 & 7 \\
A & 5 & 1 & 2 & 3 & 4 & \ 1 & 2 & 10 & 7 \\
B & 5 & 1 & 2 & 3 & 4 & 1 & 2 & 10 & 7 \\
C & 5 & 1 & 2 & 3 & 4 & 1 & 2 & 10 & 7 \\
D & 5 & 1 & 2 & 3 & 4 & 1 & 2 & 10 & 7 \\
E & 5 & 1 & 2 & 3 & 4 & 1 & 2 & 10 & 7 \\
\bottomrule
\end{tabular}
\caption{Caption}
\label{tab:my_label}
\end{table}
\turnbox
defined?