From ad34e2baeb5c8b687715a3fee1c4390f75fc3f6f Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Thu, 20 Jul 2017 17:05:09 +0200 Subject: [PATCH] change the Stundenplanung to a long table --- doku/content.tex | 51 ++++++++++++++++++++++++------------------------ doku/style.tex | 1 + 2 files changed, 27 insertions(+), 25 deletions(-) diff --git a/doku/content.tex b/doku/content.tex index 7107011..71593f8 100644 --- a/doku/content.tex +++ b/doku/content.tex @@ -105,7 +105,6 @@ Als Markbesucher möchte ich, %% -- Begining of Use Case Template -- \subsubsection{1.0 Use Case} \begin{table}[H] - \caption{Use Case 1.0} \begin{tabularx}{\textwidth}{|s|b|} \hline {\cellcolor[HTML]{C0C0C0} Identifier} + Name & {\cellcolor[HTML]{C0C0C0} 1.0 First Use Case } \\ \hline @@ -121,6 +120,7 @@ Als Markbesucher möchte ich, Author & A. Zweili \& I. Cadaroski \\ \hline Date & 20. Juli 2017 \\ \hline \end{tabularx} +\caption{Use Case 1.0} \end{table} \newpage %% -- End of Use Case Template -- @@ -128,36 +128,37 @@ Als Markbesucher möchte ich, \newpage \begin{landscape} \section{Stundenplanung} -%\vfill -\begin{table}[h] -\caption{Zeitplanung} -\label{my-label} -\resizebox{1.3\textwidth}{!}{% -\begin{tabular}{|l|l|l|l|l|l|} +\begin{longtable}{|p{4cm}|p{2cm}|p{1.8cm}|p{1.8cm}|p{1.8cm}|p{7cm}|} \hline {\cellcolor[HTML]{C0C0C0} Aktivität} & {\cellcolor[HTML]{C0C0C0} Definition} & {\cellcolor[HTML]{C0C0C0} Planung} & {\cellcolor[HTML]{C0C0C0} Leistung} & {\cellcolor[HTML]{C0C0C0} Differenz} & {\cellcolor[HTML]{C0C0C0} Erklärung} \\ \hline -{\cellcolor[HTML]{EFEFEF} Projekt Management} & Doku & 10 & 1.5 & & \\ \hline +{\cellcolor[HTML]{EFEFEF} Projekt Management} & Doku & 10 & 1.5 & & Hier +erkläre ich etwas länger \newline +warum es nicht funktioniert hat.\\ \hline {\cellcolor[HTML]{EFEFEF} Dokumentation} & Doku & 25 & & & \\ \hline {\cellcolor[HTML]{EFEFEF} User Stories} & Doku & 2 & & & \\ \hline {\cellcolor[HTML]{EFEFEF} RM erstellen} & Doku & 3 & & & \\ \hline {\cellcolor[HTML]{EFEFEF} ERM erstellen} & Doku & 4 & & & \\ \hline {\cellcolor[HTML]{EFEFEF} Testplan aufgebaut} & Doku & 12 & & & \\ \hline -{\cellcolor[HTML]{EFEFEF} } & & & & & \\ \hline -{\cellcolor[HTML]{EFEFEF} Anmeldung +Registration} & Code & 8 & & & \\ \hline -{\cellcolor[HTML]{EFEFEF} Sektion prov. Mitglied} & Code & 4 & & & \\ \hline -{\cellcolor[HTML]{EFEFEF} Sektion def. Mitglied} & Code & 4 & & & \\ \hline -{\cellcolor[HTML]{EFEFEF} Pendenzen + Qualicheck} & Code & 12 & & & \\ \hline -{\cellcolor[HTML]{EFEFEF} Abrechnung der Einsätze} & Code & 20 & & & \\ \hline -{\cellcolor[HTML]{EFEFEF} Verwaltung Standorte/Termin} & Code & 14 & & & \\ \hline -{\cellcolor[HTML]{EFEFEF} } & & & & & \\ \hline -{\cellcolor[HTML]{EFEFEF} Frontend erstellen} & Code & 25 & & & \\ \hline -{\cellcolor[HTML]{EFEFEF} Testplan durchgeführt} & Doku & 30 & & & \\ \hline -{\cellcolor[HTML]{EFEFEF} Total} & & 173 & & & \\ \hline -{\color[HTML]{FE996B} *Definition} (Arbeit ist grundlegend in Dokumentation (Doku) der Lösung und erarbeiten des Codes (Code) der dazugehörigen Funktionen aufgebaut) & & & & & \\ \hline -\end{tabular}% -} -\end{table} -%\vfill +{\cellcolor[HTML]{EFEFEF} Testplan aufgebaut} & Doku & 12 & & & \\ \hline +{\cellcolor[HTML]{EFEFEF} Projekt Management} & Doku & 10 & 1.5 & & Hier +erkläre ich etwas länger \newline +warum es nicht funktioniert hat.\\ \hline +{\cellcolor[HTML]{EFEFEF} Testplan aufgebaut} & Doku & 12 & & & \\ \hline +{\cellcolor[HTML]{EFEFEF} Testplan aufgebaut} & Doku & 12 & & & \\ \hline +{\cellcolor[HTML]{EFEFEF} Testplan aufgebaut} & Doku & 12 & & & \\ \hline +{\cellcolor[HTML]{EFEFEF} Testplan aufgebaut} & Doku & 12 & & & \\ \hline +{\cellcolor[HTML]{EFEFEF} Projekt Management} & Doku & 10 & 1.5 & & Hier +erkläre ich etwas länger \newline +warum es nicht funktioniert hat.\\ \hline +{\cellcolor[HTML]{EFEFEF} Testplan aufgebaut} & Doku & 12 & & & \\ \hline +{\cellcolor[HTML]{EFEFEF} Testplan aufgebaut} & Doku & 12 & & & \\ \hline +{\cellcolor[HTML]{EFEFEF} Projekt Management} & Doku & 10 & 1.5 & & Hier +erkläre ich etwas länger \newline +warum es nicht funktioniert hat.\\ \hline +{\cellcolor[HTML]{EFEFEF} Testplan aufgebaut} & Doku & 12 & & & \\ \hline +{\cellcolor[HTML]{EFEFEF} Testplan aufgebaut} & Doku & 12 & & & \\ \hline +\caption{Your caption here} % needs to go inside longtable environment +\end{longtable} \end{landscape} \newpage @@ -289,7 +290,6 @@ Verarbeitung unsere Datenbank auf. \section{Testfälle} \begin{table}[H] \centering -\caption{Testfälle} \label{my-label} \begin{tabular}{| >{\columncolor[HTML]{EFEFEF}}l |l|l|l|l|l|l|l|} @@ -307,6 +307,7 @@ TC-09 & & TC-10 & & & & & & & \\ \hline TC-11 & & & & & & & \\ \hline \end{tabular} +\caption{Testfälle} \end{table} \end{landscape} %%% Local Variables: diff --git a/doku/style.tex b/doku/style.tex index c090398..8fb91dc 100644 --- a/doku/style.tex +++ b/doku/style.tex @@ -62,6 +62,7 @@ %Enable colours for tables \usepackage[table]{xcolor} \usepackage{tabularx} +\usepackage{longtable} %create a specific column width \newcolumntype{b}{>{\hsize=1.5\hsize}X}