% Requirements table \newenvironment{reqtable}{ \begin{tabular}{| p{0.05\linewidth} | p{0.35\linewidth} | p{0.5\linewidth} |} \hline \rowcolor{zcgray} \textbf{Nr.} & \textbf{Anforderung} & \textbf{Erläuterung}\\ \hline }{ \hline \end{tabular} } % Weighted Requirements table \newenvironment{wreqtable}{ \begin{tabular}{| p{0.05\linewidth} | p{0.325\linewidth} | p{0.45\linewidth} | p{0.175\linewidth} |} \hline \rowcolor{zcgray} \textbf{Nr.} & \textbf{Anforderung} & \textbf{Erläuterung} & \textbf{Gewichtung} \\ \hline }{ \hline \end{tabular} } % "Weighted evaluation of Requirements" table \newenvironment{ereqtable}{ \begin{tabular}{| p{0.5\linewidth} | p{0.25\linewidth} | p{0.25\linewidth} |} \hline \rowcolor{zcgray} \textbf{Anforderung} & \textbf{Erfüllungsgrad} & \textbf{Erfüllungsgrad (gewichtet)}\\ \hline }{ \hline \end{tabular} } % table listing keys with values/descriptions % parameters: % 1 - the column name of the key % 2 - the column name of the description/value \newenvironment{keyvaluetable}[2]{ \begin{tabular}{| p{0.25\linewidth} | p{0.75\linewidth} |} \hline \rowcolor{zcgray} \textbf{#1} & \textbf{#2}\\ \hline }{ \hline \end{tabular} }