syrvn
02-12-2009, 15:06
Hi,
folgendes example:
\documentclass[12pt, a4paper, bibgerm, numbers=noenddot]{scrreprt}
\usepackage[ngerman]{babel}
\usepackage[T1]{fontenc}
\usepackage[macce]{inputenc}
% Table packages
\usepackage{subfig}
\usepackage{booktabs}
\usepackage{tabularx}
\usepackage{multirow}
\usepackage{multicol}
\usepackage{longtable}
\usepackage{rotating}
\usepackage{lscape}
\usepackage{ragged2e} % New column type: center X-column
\newcolumntype{C}{>{\Centering\arraybackslash}X}
\begin{document}
\begin{minipage}{\textwidth}
\begin{tabularx}{\textwidth}{p{7cm}XXX}
\midrule
Source of variation & Degrees of \newline freedom & Sum of \newline squares & mean \newline square \\
\midrule
Treatments (between groups) & 2 & 0.9268 & 0.4634 \\
Residuals / Errors (within groups) & 202 & 16.450 & 0.0814 \\
Total & 204 & 17.377 & \\
\multicolumn{4}{X}{F = 5.690}*\\
\multicolumn{4}{X}{The P value is 0.0039, considered very significant. \newline Variation among column means is significantly greater than expected by chance} \\
\midrule
\end{tabularx}
\captionof{table}[one-way_ANOVA]{Results for a one-way ANOVA}
\label{one-way_ANOVA}
\end{minipage}
\end{document}
Obwohl das beispiel zur Verwendung von Multicolumns wirklich einfach ist, verstehe ich einfach nicht, warum die column auf eine beschränkt wird....
Grüße!
folgendes example:
\documentclass[12pt, a4paper, bibgerm, numbers=noenddot]{scrreprt}
\usepackage[ngerman]{babel}
\usepackage[T1]{fontenc}
\usepackage[macce]{inputenc}
% Table packages
\usepackage{subfig}
\usepackage{booktabs}
\usepackage{tabularx}
\usepackage{multirow}
\usepackage{multicol}
\usepackage{longtable}
\usepackage{rotating}
\usepackage{lscape}
\usepackage{ragged2e} % New column type: center X-column
\newcolumntype{C}{>{\Centering\arraybackslash}X}
\begin{document}
\begin{minipage}{\textwidth}
\begin{tabularx}{\textwidth}{p{7cm}XXX}
\midrule
Source of variation & Degrees of \newline freedom & Sum of \newline squares & mean \newline square \\
\midrule
Treatments (between groups) & 2 & 0.9268 & 0.4634 \\
Residuals / Errors (within groups) & 202 & 16.450 & 0.0814 \\
Total & 204 & 17.377 & \\
\multicolumn{4}{X}{F = 5.690}*\\
\multicolumn{4}{X}{The P value is 0.0039, considered very significant. \newline Variation among column means is significantly greater than expected by chance} \\
\midrule
\end{tabularx}
\captionof{table}[one-way_ANOVA]{Results for a one-way ANOVA}
\label{one-way_ANOVA}
\end{minipage}
\end{document}
Obwohl das beispiel zur Verwendung von Multicolumns wirklich einfach ist, verstehe ich einfach nicht, warum die column auf eine beschränkt wird....
Grüße!