You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
930 B
TeX

% Requirements table
6 years ago
\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}
}
% 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}
6 years ago
}