von kla4dj » Mi 29. Jul 2015, 17:47
Danke für Deine Hinweise!! Ich hatte das in Booktabs gelesen, dass es der Meinung des Autors nach Kapitelfehler seien veriktale und horizontale Linien zu kombinieren. Nur finde ich halt, dass die Lesbarkeit darunterleidet, sobald die veritkalen Linien fehlen. Will halt auch nicht einen langen Tabellen-Strich (siehe unten). Deswegen habe ich es auf mehrere Spalten verteilt.
Wenn Du mir nochmal Feedback gegeben könntest, was ich noch besser machen könnte, würde ich mich sehr freuen!
\documentclass[landscape]{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{booktabs}
\usepackage{threeparttable}
\usepackage{pifont}
\usepackage[table]{xcolor}
\colorlet{rowbg}{blue!20}
\colorlet{tabtextcolor}{blue}
\newcommand*{\tab}[1]{\textbf{#1}}
\usepackage{varwidth}
\newcommand\tabrotate[1]{\rotatebox{90}{\verschiebung#1}}
\newcommand\colortabrotate[2][3cm]{\tabrotate{%
\bfseries\color{tabtextcolor}%
\begin{varwidth}{#1}
\raggedright#2
\end{varwidth}%
}}
\newcommand\verschiebung[1][-.5\normalbaselineskip]{\hspace{#1}}
\begin{document}
\begin{table}
\centering
\footnotesize
\begin{threeparttable}[htbp]
\caption{Übersicht über die Anforderungskonformität des Prototyps}
\label{tab:UebersichtKrit}
\begin{tabular}{cccccccccccccc}
\toprule
\addlinespace
\colortabrotate{Anforderungs-\\schlüssel} & \colortabrotate{Konformität} &&& \colortabrotate{Anforderungs-\\schlüssel} & \colortabrotate{Konformität} &&& \colortabrotate{Anforderungs-\\schlüssel} & \colortabrotate{Konformität} &&& \colortabrotate{Anforderungs-\\schlüssel} & \colortabrotate{Konformität} \\
\addlinespace \midrule
AFA 1 & \ding{51} &&& TA 1 & \ding{51} &&& QA F 4 & \textbf{?} &&& AsB 1 & \textbf{?} \\ \rowcolor{rowbg}
AFA 2 & \ding{51} &&& TA 2 & \ding{51} &&& QA F 5 & \ding{53} &&& AsB 2 & \ding{53} \\
AFA 3 & \ding{51} &&& TA 3 & \textbf{irr.} &&& QA F 6 & \ding{51} &&& & \\ \rowcolor{rowbg}
AFA 4 & \ding{51} &&& TA 4 & \ding{51} &&& QA ÄÜ 1 & \textbf{irr.} &&& & \\
AFA 5 & \textbf{?} &&& TA 5 & \textbf{irr.} &&& QA ÄÜ 2 & \ding{51} &&& & \\ \rowcolor{rowbg}
AFA 6 & \textbf{?} &&& TA 6 & \ding{51} &&& QA ÄÜ 3 & \ding{51} &&& & \\
AFA 7 & \ding{51} &&& TA 7 & \ding{51} &&& QA ÄÜ 4 & \textbf{?} &&& & \\ \rowcolor{rowbg}
AFA 8 & \ding{51} &&& QA Z 1 & \ding{51} &&& AMMS 1 & \ding{51} &&& & \\
AFA 9 & \textbf{?} &&& QA Z 2 & \ding{51} &&& AMMS 2 & \textbf{irr.} &&& & \\ \rowcolor{rowbg}
FA 1 UC1 & \ding{51} &&& QA F 1 & \ding{51} &&& AMMS 3 & \ding{53} &&& & \\
FA 2 UC1 & \ding{51} &&& QA F 2 & \ding{51} &&& AMMS 4 & \textbf{?} &&& & \\ \rowcolor{rowbg}
FA 3 UC1 & \ding{51} &&& QA F 3 & \ding{51} &&& AMMS 5 & \textbf{irr.} &&& & \\
\bottomrule
\end{tabular}
\begin{tablenotes}
\footnotesize
\item[] Legende: \ding{51} = Anforderung erfüllt; \ding{53} = Anforderung nicht erfüllt; \textbf{irr.} = Anforderung im Kontext irrelevant; \textbf{?} keine Aussage möglich
\item[]
\end{tablenotes}
\end{threeparttable}
\end{table}
\end{document}
Also langgezogner Tabellenstrich sieht es folgendermaßen aus:
\documentclass[landscape]{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{booktabs}
\usepackage{threeparttable}
\usepackage{pifont}
\usepackage[table]{xcolor}
\colorlet{rowbg}{blue!20}
\colorlet{tabtextcolor}{blue}
\newcommand*{\tab}[1]{\textbf{#1}}
\usepackage{varwidth}
\newcommand\tabrotate[1]{\rotatebox{90}{\verschiebung#1}}
\newcommand\colortabrotate[2][3cm]{\tabrotate{%
\bfseries\color{tabtextcolor}%
\begin{varwidth}{#1}
\raggedright#2
\end{varwidth}%
}}
\newcommand\verschiebung[1][-.5\normalbaselineskip]{\hspace{#1}}
\begin{document}
\begin{table}
\centering
\footnotesize
\begin{threeparttable}[htbp]
\caption{Übersicht über die Anforderungskonformität des Prototyps}
\label{tab:UebersichtKrit}
\begin{tabular}{cc}
\toprule
\addlinespace
\tab{Anforderungsschlüssel} & \tab{Konformität} \\
\addlinespace \midrule
AFA 1 & \ding{51} \\ \rowcolor{rowbg}
AFA 2 & \ding{51} \\
AFA 3 & \ding{51} \\ \rowcolor{rowbg} %\cmidrule{5-6}
AFA 4 & \ding{51} \\
AFA 5 & \textbf{?} \\ \rowcolor{rowbg}
AFA 6 & \textbf{?} \\
AFA 7 & \ding{51} \\ \rowcolor{rowbg} %\cmidrule{3-6}
AFA 8 & \ding{51} \\
AFA 9 & \textbf{?} \\ \rowcolor{rowbg} %\cmidrule{1-4}
FA 1 UC1 & \ding{51} \\
FA 2 UC1 & \ding{51} \\ \rowcolor{rowbg}
FA 3 UC1 & \ding{51} \\
TA 1 & \ding{51} \\ \rowcolor{rowbg}
TA 2 & \ding{51} \\
TA 3 & \textbf{irr.} \\ \rowcolor{rowbg}
TA 4 & \ding{51} \\
TA 5 & \textbf{irr.} \\ \rowcolor{rowbg}
TA 6 & \ding{51} \\
TA 7 & \ding{51} \\ \rowcolor{rowbg}
QA Z 1 & \ding{51} \\
QA Z 2 & \ding{51} \\ \rowcolor{rowbg}
QA F 1 & \ding{51} \\
QA F 2 & \ding{51} \\ \rowcolor{rowbg}
QA F 3 & \ding{51} \\
QA F 4 & \textbf{?} \\ \rowcolor{rowbg}
QA F 5 & \ding{53} \\
QA F 6 & \ding{51} \\ \rowcolor{rowbg}
QA ÄÜ 1 & \textbf{irr.} \\
QA ÄÜ 2 & \ding{51} \\ \rowcolor{rowbg}
QA ÄÜ 3 & \ding{51} \\
QA ÄÜ 4 & \textbf{?} \\ \rowcolor{rowbg}
AMMS 1 & \ding{51} \\
AMMS 2 & \textbf{irr.} \\ \rowcolor{rowbg}
AMMS 3 & \ding{53} \\
AMMS 4 & \textbf{?} \\ \rowcolor{rowbg}
AMMS 5 & \textbf{irr.} \\
AsB 1 & \textbf{?}\\ \rowcolor{rowbg}
AsB 2 & \ding{53}\\
\end{tabular}
\begin{tablenotes}
\footnotesize
\item[] Legende: \ding{51} = Anforderung erfüllt; \ding{53} = Anforderung nicht erfüllt; \textbf{irr.} = Anforderung im Kontext irrelevant; \textbf{?} keine Aussage möglich
\item[]
\end{tablenotes}
\end{threeparttable}
\end{table}
\end{document}
Danke für Deine Hinweise!! Ich hatte das in Booktabs gelesen, dass es der Meinung des Autors nach Kapitelfehler seien veriktale und horizontale Linien zu kombinieren. Nur finde ich halt, dass die Lesbarkeit darunterleidet, sobald die veritkalen Linien fehlen. Will halt auch nicht einen langen Tabellen-Strich (siehe unten). Deswegen habe ich es auf mehrere Spalten verteilt.
Wenn Du mir nochmal Feedback gegeben könntest, was ich noch besser machen könnte, würde ich mich sehr freuen!
[code]\documentclass[landscape]{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{booktabs}
\usepackage{threeparttable}
\usepackage{pifont}
\usepackage[table]{xcolor}
\colorlet{rowbg}{blue!20}
\colorlet{tabtextcolor}{blue}
\newcommand*{\tab}[1]{\textbf{#1}}
\usepackage{varwidth}
\newcommand\tabrotate[1]{\rotatebox{90}{\verschiebung#1}}
\newcommand\colortabrotate[2][3cm]{\tabrotate{%
\bfseries\color{tabtextcolor}%
\begin{varwidth}{#1}
\raggedright#2
\end{varwidth}%
}}
\newcommand\verschiebung[1][-.5\normalbaselineskip]{\hspace{#1}}
\begin{document}
\begin{table}
\centering
\footnotesize
\begin{threeparttable}[htbp]
\caption{Übersicht über die Anforderungskonformität des Prototyps}
\label{tab:UebersichtKrit}
\begin{tabular}{cccccccccccccc}
\toprule
\addlinespace
\colortabrotate{Anforderungs-\\schlüssel} & \colortabrotate{Konformität} &&& \colortabrotate{Anforderungs-\\schlüssel} & \colortabrotate{Konformität} &&& \colortabrotate{Anforderungs-\\schlüssel} & \colortabrotate{Konformität} &&& \colortabrotate{Anforderungs-\\schlüssel} & \colortabrotate{Konformität} \\
\addlinespace \midrule
AFA 1 & \ding{51} &&& TA 1 & \ding{51} &&& QA F 4 & \textbf{?} &&& AsB 1 & \textbf{?} \\ \rowcolor{rowbg}
AFA 2 & \ding{51} &&& TA 2 & \ding{51} &&& QA F 5 & \ding{53} &&& AsB 2 & \ding{53} \\
AFA 3 & \ding{51} &&& TA 3 & \textbf{irr.} &&& QA F 6 & \ding{51} &&& & \\ \rowcolor{rowbg}
AFA 4 & \ding{51} &&& TA 4 & \ding{51} &&& QA ÄÜ 1 & \textbf{irr.} &&& & \\
AFA 5 & \textbf{?} &&& TA 5 & \textbf{irr.} &&& QA ÄÜ 2 & \ding{51} &&& & \\ \rowcolor{rowbg}
AFA 6 & \textbf{?} &&& TA 6 & \ding{51} &&& QA ÄÜ 3 & \ding{51} &&& & \\
AFA 7 & \ding{51} &&& TA 7 & \ding{51} &&& QA ÄÜ 4 & \textbf{?} &&& & \\ \rowcolor{rowbg}
AFA 8 & \ding{51} &&& QA Z 1 & \ding{51} &&& AMMS 1 & \ding{51} &&& & \\
AFA 9 & \textbf{?} &&& QA Z 2 & \ding{51} &&& AMMS 2 & \textbf{irr.} &&& & \\ \rowcolor{rowbg}
FA 1 UC1 & \ding{51} &&& QA F 1 & \ding{51} &&& AMMS 3 & \ding{53} &&& & \\
FA 2 UC1 & \ding{51} &&& QA F 2 & \ding{51} &&& AMMS 4 & \textbf{?} &&& & \\ \rowcolor{rowbg}
FA 3 UC1 & \ding{51} &&& QA F 3 & \ding{51} &&& AMMS 5 & \textbf{irr.} &&& & \\
\bottomrule
\end{tabular}
\begin{tablenotes}
\footnotesize
\item[] Legende: \ding{51} = Anforderung erfüllt; \ding{53} = Anforderung nicht erfüllt; \textbf{irr.} = Anforderung im Kontext irrelevant; \textbf{?} keine Aussage möglich
\item[]
\end{tablenotes}
\end{threeparttable}
\end{table}
\end{document}[/code]
Also langgezogner Tabellenstrich sieht es folgendermaßen aus:
[code]\documentclass[landscape]{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{booktabs}
\usepackage{threeparttable}
\usepackage{pifont}
\usepackage[table]{xcolor}
\colorlet{rowbg}{blue!20}
\colorlet{tabtextcolor}{blue}
\newcommand*{\tab}[1]{\textbf{#1}}
\usepackage{varwidth}
\newcommand\tabrotate[1]{\rotatebox{90}{\verschiebung#1}}
\newcommand\colortabrotate[2][3cm]{\tabrotate{%
\bfseries\color{tabtextcolor}%
\begin{varwidth}{#1}
\raggedright#2
\end{varwidth}%
}}
\newcommand\verschiebung[1][-.5\normalbaselineskip]{\hspace{#1}}
\begin{document}
\begin{table}
\centering
\footnotesize
\begin{threeparttable}[htbp]
\caption{Übersicht über die Anforderungskonformität des Prototyps}
\label{tab:UebersichtKrit}
\begin{tabular}{cc}
\toprule
\addlinespace
\tab{Anforderungsschlüssel} & \tab{Konformität} \\
\addlinespace \midrule
AFA 1 & \ding{51} \\ \rowcolor{rowbg}
AFA 2 & \ding{51} \\
AFA 3 & \ding{51} \\ \rowcolor{rowbg} %\cmidrule{5-6}
AFA 4 & \ding{51} \\
AFA 5 & \textbf{?} \\ \rowcolor{rowbg}
AFA 6 & \textbf{?} \\
AFA 7 & \ding{51} \\ \rowcolor{rowbg} %\cmidrule{3-6}
AFA 8 & \ding{51} \\
AFA 9 & \textbf{?} \\ \rowcolor{rowbg} %\cmidrule{1-4}
FA 1 UC1 & \ding{51} \\
FA 2 UC1 & \ding{51} \\ \rowcolor{rowbg}
FA 3 UC1 & \ding{51} \\
TA 1 & \ding{51} \\ \rowcolor{rowbg}
TA 2 & \ding{51} \\
TA 3 & \textbf{irr.} \\ \rowcolor{rowbg}
TA 4 & \ding{51} \\
TA 5 & \textbf{irr.} \\ \rowcolor{rowbg}
TA 6 & \ding{51} \\
TA 7 & \ding{51} \\ \rowcolor{rowbg}
QA Z 1 & \ding{51} \\
QA Z 2 & \ding{51} \\ \rowcolor{rowbg}
QA F 1 & \ding{51} \\
QA F 2 & \ding{51} \\ \rowcolor{rowbg}
QA F 3 & \ding{51} \\
QA F 4 & \textbf{?} \\ \rowcolor{rowbg}
QA F 5 & \ding{53} \\
QA F 6 & \ding{51} \\ \rowcolor{rowbg}
QA ÄÜ 1 & \textbf{irr.} \\
QA ÄÜ 2 & \ding{51} \\ \rowcolor{rowbg}
QA ÄÜ 3 & \ding{51} \\
QA ÄÜ 4 & \textbf{?} \\ \rowcolor{rowbg}
AMMS 1 & \ding{51} \\
AMMS 2 & \textbf{irr.} \\ \rowcolor{rowbg}
AMMS 3 & \ding{53} \\
AMMS 4 & \textbf{?} \\ \rowcolor{rowbg}
AMMS 5 & \textbf{irr.} \\
AsB 1 & \textbf{?}\\ \rowcolor{rowbg}
AsB 2 & \ding{53}\\
\end{tabular}
\begin{tablenotes}
\footnotesize
\item[] Legende: \ding{51} = Anforderung erfüllt; \ding{53} = Anforderung nicht erfüllt; \textbf{irr.} = Anforderung im Kontext irrelevant; \textbf{?} keine Aussage möglich
\item[]
\end{tablenotes}
\end{threeparttable}
\end{table}
\end{document}
[/code]