diff --git a/README.md b/README.md index f66ba63..9db65f2 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ About === -The PTB LaTeX template is a template to use for writing PTBs. Each chapter should be defined in a seperate `.tex`-file in the *chapters* folder. To include the chapter, use `\include{chapters/chaptername}` in the `document.tex` file. The metadata of the document should be defined in the `metadata.sty`. The `document.tex` can be renamed without problems to the name the output pdf should have. \ No newline at end of file +The PTB LaTeX template is a template to use for writing PTBs. Each chapter should be defined in a seperate `.tex`-file in the *chapters* folder. To include the chapter, use `\include{chapters/chaptername}` in the `document.tex` file. The metadata of the document should be defined in the `metadata.sty`. The `document.tex` can be renamed without problems to the name the output pdf should have. diff --git a/chapters/abstract.tex b/chapters/abstract.tex new file mode 100644 index 0000000..830880a --- /dev/null +++ b/chapters/abstract.tex @@ -0,0 +1 @@ +\chapter*{Abstract} \ No newline at end of file diff --git a/document.tex b/document.tex index a4646e9..c3f5189 100644 --- a/document.tex +++ b/document.tex @@ -40,7 +40,7 @@ % --------Settings---------- -\include{hyphenation} +\include{misc/hyphenation} \include{lib/customstyle} % --------Environments------ diff --git a/img/th_header_logo.png b/img/th_header_logo.png deleted file mode 100644 index be2453d..0000000 Binary files a/img/th_header_logo.png and /dev/null differ diff --git a/img/unternehmen_header_logo.png b/img/unternehmen_header_logo.png new file mode 100644 index 0000000..3edb10c Binary files /dev/null and b/img/unternehmen_header_logo.png differ diff --git a/lib/environments.tex b/lib/environments.tex index 9c3bd98..6dd7108 100644 --- a/lib/environments.tex +++ b/lib/environments.tex @@ -1,3 +1,5 @@ + +% Requirements table \newenvironment{reqtable}{ \begin{tabular}{| p{0.05\linewidth} | p{0.35\linewidth} | p{0.5\linewidth} |} \hline @@ -6,4 +8,18 @@ }{ \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} } \ No newline at end of file diff --git a/lib/title.tex b/lib/title.tex index 873f925..962cd24 100644 --- a/lib/title.tex +++ b/lib/title.tex @@ -1,6 +1,6 @@ \begin{titlepage} \begin{figure*}[ht!] - \includegraphics[width=0.45\textwidth]{img/th_header_logo.png} \hfill + \includegraphics[width=0.45\textwidth]{img/unternehmen_header_logo.png} \hfill \includegraphics[width=0.45\textwidth]{img/hwr_header_logo.png} \end{figure*} \vspace{20pt} @@ -32,5 +32,5 @@ \end{tabular} \endgraf{} \vspace{50pt} - \includegraphics[scale=0.5]{img/ptb-signature.png} + \includegraphics[scale=0.45]{img/ptb-signature.png} \end{titlepage} \ No newline at end of file diff --git a/misc/hyphenation.tex b/misc/hyphenation.tex index 1dbd8d8..c018b23 100644 --- a/misc/hyphenation.tex +++ b/misc/hyphenation.tex @@ -1,4 +1,2 @@ % falsche Default-Silbentrennung überschreiben -\hyphenation{Soft-ware-ent-wick-lung} -\hyphenation{Write} -\hyphenation{Java-Byte-code} \ No newline at end of file +% \hyphenation{Soft-ware-ent-wick-lung} \ No newline at end of file