Am I doing something wrong? or should I avoid mixing multirow with siunitx? Is there a workaround or some other way of doing this?
Code: Select all
\documentclass{report}
\usepackage{booktabs,multirow,rccol}
\usepackage{siunitx}
\usepackage{graphicx}
\begin{document}
\begin{table}[htbp]
\centering
\caption{Mean and Standard Deviation of stuff.}
\footnotesize
\resizebox{\textwidth}{!}{%
\begin{tabular}{@{}cccSSS@{}}
\addlinespace
\toprule
& & \multicolumn{2}{c}{} & \multicolumn{2}{c}{stats} \\
& & \multicolumn{2}{c}{line1} & \multicolumn{2}{c}{method} \\
& & \multicolumn{2}{c}{line2} & \multicolumn{2}{c}{length, } \\
& & \multicolumn{2}{c}{(segments)} & \multicolumn{2}{c}{100 samples)} \\
\cmidrule(lr{0.75em}){3-4}
\cmidrule(lr{0.75em}){5-6}
\multirow{2}[0]{*}{Case} & Distribution of & \multicolumn{1}{c}{$\mu$} & \multicolumn{1}{c}{$\sigma$} & \multicolumn{1}{c}{$\mu$} & \multicolumn{1}{c}{$\sigma$} \\
& segments & \multicolumn{1}{c}{(unit)} & \multicolumn{1}{c}{(unit)} & \multicolumn{1}{c}{(unit)}& \multicolumn{1}{c}{(unit)} \\
\midrule
somestuff & (2 parameter) & 233.476 & 12.232 & 2.9534 & 13.300 \\
\midrule
stuff1 & \multirow{4}{*}{some shared par.} & \multirow{4}{*}{23.10533} & \multirow{4}{*}{1.345} & 234.094 & 2321.000 \\
stuff2 & & & & 259.106 & 1.022 \\
stuff3 & & & & 58.662 & 0.89523 \\
stuff4 & & & & 259.59 & 0.547 \\
\bottomrule
\end{tabular}}%
\label{tab:stuff}%
\end{table}%
\end{document}
Edit by localghost: Preferably no external links (see Board Rules). Attachments go onto the forum server there possible.