adjust the width of the columns in the use case table

This commit is contained in:
Andreas Zweili 2017-07-20 15:21:47 +02:00
parent 1b7884483d
commit ca21f78f1a
2 changed files with 10 additions and 24 deletions

View File

@ -102,46 +102,28 @@ Als Markbesucher möchte ich,
\subsection{Use Cases}
%% -- Begining of Use Case Template --
\subsubsection{1.0 Use Case}
\begin{table}[H]
\caption{Use Case 1.0}
\begin{tabularx}{\textwidth}{|X|X|}
\begin{tabularx}{\textwidth}{|s|b|}
\hline
{\cellcolor[HTML]{C0C0C0} Identifier} + Name & {\cellcolor[HTML]{C0C0C0} 1.0 First Use Case } \\ \hline
Description & \\ \hline
Actors & \\ \hline
Status & \\ \hline
Status & Freigegeben \\ \hline
Includes & \\ \hline
Trigger & \\ \hline
Preconditions & \\ \hline
Postconditions & \\ \hline
Normal Flow & \\ \hline
Alternative Flow & \\ \hline
Author & \\ \hline
Date & \\ \hline
Author & A. Zweili \& I. Cadaroski \\ \hline
Date & 20. Juli 2017 \\ \hline
\end{tabularx}
\end{table}
\newpage
\subsubsection{1.0 Use Case}
\begin{table}[H]
\caption{Use Case 1.0}
\begin{tabularx}{\textwidth}{|X|X|}
\hline
{\cellcolor[HTML]{C0C0C0} Identifier} + Name & {\cellcolor[HTML]{C0C0C0} 1.0 First Use Case } \\ \hline
Description & \\ \hline
Actors & \\ \hline
Status & \\ \hline
Includes & \\ \hline
Trigger & \\ \hline
Preconditions & \\ \hline
Postconditions & \\ \hline
Normal Flow & \\ \hline
Alternative Flow & \\ \hline
Author & \\ \hline
Date & \\ \hline
\end{tabularx}
\end{table}
%% -- End of Use Case Template --
\newpage
\begin{landscape}

View File

@ -63,6 +63,10 @@
\usepackage[table]{xcolor}
\usepackage{tabularx}
%create a specific column width
\newcolumntype{b}{>{\hsize=1.5\hsize}X}
\newcolumntype{s}{>{\hsize=.5\hsize}X}
%Needed to rotate graphics and tables
\usepackage{rotating}
\usepackage{pdflscape}