von Stamm- » So 2. Mär 2014, 08:33
KingKong hat geschrieben:[…] Zur Vollständigkeit füge ich mal meinen Code ein: […]
Vollständigkeit würde hier bedeuten, dass du auch eine vollständige Lösung präsentierst, so dass Leute, die durch eine Suchmaschine hierher geführt werden, das komplette Beispiel einfach kopieren und testen können. Dein Codefragment ist deshalb schon nicht brauchbar, weil es das unbekannte
\tabhead enthält. Also mache ich das mal.
\documentclass[
captions=tableabove,
ngerman
]{scrartcl}
\usepackage[T1]{fontenc}
\usepackage{selinput}
\SelectInputMappings{
agrave={à},
eacute={é}
}
\usepackage{babel}
\usepackage{booktabs,multirow}
\usepackage{siunitx}
\begin{document}
\begin{table}[!ht]
\caption{Beschriftung der Tabelle}
\label{tab:dummmy}
\centering
\begin{tabular}{
S[table-format=2.0,table-alignment=left]
S[table-format=2.1]
S[table-format=1.1]
S[table-format=1.1]
S[table-format=3.0]
S[table-format=2.0]
S[table-format=1.1]
S[table-format=2.1]
S[table-format=1.1]
S[table-format=1.1]
S[table-format=3.0]
S[table-format=2.0]
S[table-format=1.1]
} \toprule
\multirow{2}{*}[-0.5ex]{Combination} &
\multicolumn{3}{c}{Experiment 1} &
\multicolumn{3}{c}{Experiment 2} &
\multicolumn{6}{c}{Experiment 3} \\ \cmidrule(lr){2-4}\cmidrule(lr){5-7}\cmidrule(l){8-13}
& {A} & {W} & {ID\textsubscript{t}} & {$\alpha$} & {$\omega$} & {ID\textsubscript{t}}
& {A} & {W} & {ID\textsubscript{t}} & {$\alpha$} & {$\omega$} & {ID\textsubscript{t}} \\ \midrule
1 & 4.8 & 0.6 & 3.1 & 40 & 3 & 3.8 & 12.7 & 0.8 & 4.1 & 50 & 4 & 3.8 \\
2 & 4.8 & 1.3 & 2.2 & 40 & 6 & 2.9 & 12.7 & 1.6 & 3.2 & 50 & 4 & 3.8 \\
3 & 4.8 & 1.9 & 1.8 & 40 & 9 & 2.4 & 4.8 & 0.8 & 2.8 & 50 & 4 & 3.8 \\
4 & 4.8 & 2.5 & 1.5 & 40 & 12 & 2.1 & 4.8 & 1.6 & 2 & 50 & 4 & 3.8 \\
5 & 9.5 & 0.6 & 4 & 80 & 3 & 4.8 & 12.7 & 0.8 & 4.1 & 50 & 12 & 2.4 \\
6 & 9.5 & 1.3 & 3.1 & 80 & 6 & 3.8 & 12.7 & 1.6 & 3.2 & 50 & 12 & 2.4 \\
7 & 9.5 & 1.9 & 2.6 & 80 & 9 & 3.3 & 4.8 & 0.8 & 2.8 & 50 & 12 & 2.4 \\
8 & 9.5 & 2.5 & 2.2 & 80 & 12 & 2.9 & 4.8 & 1.6 & 2 & 50 & 12 & 2.4 \\
9 & 14.3 & 0.6 & 4.6 & 120 & 3 & 5.4 & 12.7 & 0.8 & 4.1 & 130 & 4 & 5.1 \\
10 & 14.3 & 1.3 & 3.6 & 120 & 6 & 4.4 & 12.7 & 1.6 & 3.2 & 130 & 4 & 5.1 \\
11 & 14.3 & 1.9 & 3.1 & 120 & 9 & 3.8 & 4.8 & 0.8 & 2.8 & 130 & 4 & 5.1 \\
12 & 14.3 & 2.5 & 2.7 & 120 & 12 & 3.5 & 4.8 & 1.6 & 2 & 130 & 4 & 5.1 \\
13 & 19.1 & 0.6 & 5 & 160 & 3 & 5.8 & 12.7 & 0.8 & 4.1 & 130 & 12 & 3.6 \\
14 & 19.1 & 1.3 & 4 & 160 & 6 & 4.8 & 12.7 & 1.6 & 3.2 & 130 & 12 & 3.6 \\
15 & 19.1 & 1.9 & 3.5 & 160 & 9 & 4.2 & 4.8 & 0.8 & 2.8 & 130 & 12 & 3.6 \\
16 & 19.1 & 2.5 & 3.1 & 160 & 12 & 3.8 & 4.8 & 1.6 & 2 & 130 & 12 & 3.6 \\
{Minimum} & 4.8 & 0.6 & 1.5 & 40 & 3 & 2.1 & 4.8 & 0.8 & 2 & 50 & 4 & 2.4 \\
{Maximum} & 19.1 & 2.5 & 5 & 160 & 12 & 5.8 & 12.7 & 1.6 & 4.1 & 130 & 12 & 5.1 \\ \bottomrule
\end{tabular}
\end{table}
\end{document}

[quote="KingKong"][…] Zur Vollständigkeit füge ich mal meinen Code ein: […][/quote]
Vollständigkeit würde hier bedeuten, dass du auch eine vollständige Lösung präsentierst, so dass Leute, die durch eine Suchmaschine hierher geführt werden, das komplette Beispiel einfach kopieren und testen können. Dein Codefragment ist deshalb schon nicht brauchbar, weil es das unbekannte [color=brown]\tabhead[/color] enthält. Also mache ich das mal.
[code]\documentclass[
captions=tableabove,
ngerman
]{scrartcl}
\usepackage[T1]{fontenc}
\usepackage{selinput}
\SelectInputMappings{
agrave={à},
eacute={é}
}
\usepackage{babel}
\usepackage{booktabs,multirow}
\usepackage{siunitx}
\begin{document}
\begin{table}[!ht]
\caption{Beschriftung der Tabelle}
\label{tab:dummmy}
\centering
\begin{tabular}{
S[table-format=2.0,table-alignment=left]
S[table-format=2.1]
S[table-format=1.1]
S[table-format=1.1]
S[table-format=3.0]
S[table-format=2.0]
S[table-format=1.1]
S[table-format=2.1]
S[table-format=1.1]
S[table-format=1.1]
S[table-format=3.0]
S[table-format=2.0]
S[table-format=1.1]
} \toprule
\multirow{2}{*}[-0.5ex]{Combination} &
\multicolumn{3}{c}{Experiment 1} &
\multicolumn{3}{c}{Experiment 2} &
\multicolumn{6}{c}{Experiment 3} \\ \cmidrule(lr){2-4}\cmidrule(lr){5-7}\cmidrule(l){8-13}
& {A} & {W} & {ID\textsubscript{t}} & {$\alpha$} & {$\omega$} & {ID\textsubscript{t}}
& {A} & {W} & {ID\textsubscript{t}} & {$\alpha$} & {$\omega$} & {ID\textsubscript{t}} \\ \midrule
1 & 4.8 & 0.6 & 3.1 & 40 & 3 & 3.8 & 12.7 & 0.8 & 4.1 & 50 & 4 & 3.8 \\
2 & 4.8 & 1.3 & 2.2 & 40 & 6 & 2.9 & 12.7 & 1.6 & 3.2 & 50 & 4 & 3.8 \\
3 & 4.8 & 1.9 & 1.8 & 40 & 9 & 2.4 & 4.8 & 0.8 & 2.8 & 50 & 4 & 3.8 \\
4 & 4.8 & 2.5 & 1.5 & 40 & 12 & 2.1 & 4.8 & 1.6 & 2 & 50 & 4 & 3.8 \\
5 & 9.5 & 0.6 & 4 & 80 & 3 & 4.8 & 12.7 & 0.8 & 4.1 & 50 & 12 & 2.4 \\
6 & 9.5 & 1.3 & 3.1 & 80 & 6 & 3.8 & 12.7 & 1.6 & 3.2 & 50 & 12 & 2.4 \\
7 & 9.5 & 1.9 & 2.6 & 80 & 9 & 3.3 & 4.8 & 0.8 & 2.8 & 50 & 12 & 2.4 \\
8 & 9.5 & 2.5 & 2.2 & 80 & 12 & 2.9 & 4.8 & 1.6 & 2 & 50 & 12 & 2.4 \\
9 & 14.3 & 0.6 & 4.6 & 120 & 3 & 5.4 & 12.7 & 0.8 & 4.1 & 130 & 4 & 5.1 \\
10 & 14.3 & 1.3 & 3.6 & 120 & 6 & 4.4 & 12.7 & 1.6 & 3.2 & 130 & 4 & 5.1 \\
11 & 14.3 & 1.9 & 3.1 & 120 & 9 & 3.8 & 4.8 & 0.8 & 2.8 & 130 & 4 & 5.1 \\
12 & 14.3 & 2.5 & 2.7 & 120 & 12 & 3.5 & 4.8 & 1.6 & 2 & 130 & 4 & 5.1 \\
13 & 19.1 & 0.6 & 5 & 160 & 3 & 5.8 & 12.7 & 0.8 & 4.1 & 130 & 12 & 3.6 \\
14 & 19.1 & 1.3 & 4 & 160 & 6 & 4.8 & 12.7 & 1.6 & 3.2 & 130 & 12 & 3.6 \\
15 & 19.1 & 1.9 & 3.5 & 160 & 9 & 4.2 & 4.8 & 0.8 & 2.8 & 130 & 12 & 3.6 \\
16 & 19.1 & 2.5 & 3.1 & 160 & 12 & 3.8 & 4.8 & 1.6 & 2 & 130 & 12 & 3.6 \\
{Minimum} & 4.8 & 0.6 & 1.5 & 40 & 3 & 2.1 & 4.8 & 0.8 & 2 & 50 & 4 & 2.4 \\
{Maximum} & 19.1 & 2.5 & 5 & 160 & 12 & 5.8 & 12.7 & 1.6 & 4.1 & 130 & 12 & 5.1 \\ \bottomrule
\end{tabular}
\end{table}
\end{document}[/code]
[img]http://i.imgur.com/koQc3pI.png[/img]