From 347e959d492fd20d0eb98c777cad976b9b741ed3 Mon Sep 17 00:00:00 2001 From: steinbergerj Date: Sat, 8 Oct 2022 11:56:41 +0200 Subject: [PATCH] add index, add titlepage --- .gitignore | 4 ++++ config.tex | 8 +++++++- index_style.ist | 6 ++++++ main.tex | 26 +++++++------------------- settings.tex | 22 ++++++++++++++++++++++ titlepage.tex | 17 +++++++++++++++++ 6 files changed, 63 insertions(+), 20 deletions(-) create mode 100644 index_style.ist create mode 100644 settings.tex create mode 100644 titlepage.tex diff --git a/.gitignore b/.gitignore index 5271d63..049bcb1 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,7 @@ *.xml *.blg *.bcf +*.idx +*.ilg +*.ind +*.out diff --git a/config.tex b/config.tex index 3b3590e..b25b181 100644 --- a/config.tex +++ b/config.tex @@ -19,4 +19,10 @@ \usepackage{pgffor} \usepackage[automark,headsepline,footsepline]{scrlayer-scrpage} -\usepackage[backend=biber,refsection=section]{biblatex} % load the package \ No newline at end of file +\usepackage[backend=biber,refsection=section]{biblatex} % load the package + +\usepackage{imakeidx} +\usepackage{marginnote} + + +\usepackage{hyperref} \ No newline at end of file diff --git a/index_style.ist b/index_style.ist new file mode 100644 index 0000000..d3e0b62 --- /dev/null +++ b/index_style.ist @@ -0,0 +1,6 @@ +headings_flag 1 +heading_prefix "{\\large\\sffamily\\bfseries " +heading_suffix "}\\nopagebreak\n" +delim_0 " \\dotfill " +delim_1 " \\dotfill " +delim_2 " \\dotfill " \ No newline at end of file diff --git a/main.tex b/main.tex index 694dfb1..e345de0 100644 --- a/main.tex +++ b/main.tex @@ -2,32 +2,18 @@ \documentclass[paper=a4,fontsize=10pt,parskip, footheight=20pt,headlines=10]{scrbook} \input{config} +\input{settings} \addbibresource{literature/groupA.bib} \addbibresource{literature/groupB.bib} \addbibresource{literature/groupC.bib} -\defbibheading{subbibliography}[Literatur]{\addsec{#1}} - - -%%%%%% N I C H T Ä N D E R N !%%%%%%%%%%%%%%%%%%%%%% -\newcommand{\diagrammname}{\texttt{}} -\newcommand{\diagrammnameengl}{\texttt{}} -\newcommand{\diagrammfrage}{\texttt{}} -\newcommand{\diagrammanwendungsfall}{\texttt{}} -\newcommand{\autorE}{\texttt{Vorname Nachname Teilnehmer 1}} -\newcommand{\autorZ}{\texttt{Vorname Nachname Teilnehmer 2}} -\newcommand{\autorD}{\texttt{Vorname Nachname Teilnehmer 3}} - \begin{document} -\title{Software Engineering 2} -\author{Prof. Dr. Jessica Steinberger, Studierende CSB/IMB} -\subtitle{UML-Diagramme} -\maketitle - - + +\input{titlepage} + \frontmatter \tableofcontents @@ -37,7 +23,7 @@ \pagestyle{scrheadings} \chapter{Strukturdiagramme} -UML verfügt über sechs Strukturdiagrammtypen, die von der einzelnen Klasse bis hin zur Gliederung vollständiger Architekturen und Systeme reichen. +UML verfügt über sechs Strukturdiagrammtypen\stichwort{Strukturdiagramm}, die von der einzelnen Klasse bis hin zur Gliederung vollständiger Architekturen und Systeme reichen. \foreach \n in {A,...,C}{\input{group_\n.tex}\printbibliography[heading=subbibliography]\newpage} @@ -48,5 +34,7 @@ UML verfügt über sechs Strukturdiagrammtypen, die von der einzelnen Klasse bis \appendix \listoffigures \listoftables + +\printindex \end{document} diff --git a/settings.tex b/settings.tex new file mode 100644 index 0000000..a3d7a99 --- /dev/null +++ b/settings.tex @@ -0,0 +1,22 @@ +%%%%%% N I C H T Ä N D E R N !%%%%%%%%%%%%%%%%%%%%%% +\newcommand{\diagrammname}{\texttt{}} +\newcommand{\diagrammnameengl}{\texttt{}} +\newcommand{\diagrammfrage}{\texttt{}} +\newcommand{\diagrammanwendungsfall}{\texttt{}} +\newcommand{\autorE}{\texttt{Vorname Nachname Teilnehmer 1}} +\newcommand{\autorZ}{\texttt{Vorname Nachname Teilnehmer 2}} +\newcommand{\autorD}{\texttt{Vorname Nachname Teilnehmer 3}} + + +\newcommand*{\plogo}{\includegraphics{images/hm_logo}} + +\defbibheading{subbibliography}[Literatur]{\addsec{#1}} + + +\indexsetup{othercode=\small} +\makeindex[program=makeindex,columns=2,intoc=true,options={-s index_style.ist}] + + +\newcommand{\stichwort}[1]{\marginline{\textcolor{magenta}{\footnotesize{#1}}}\index{#1}} + +\hypersetup{colorlinks, linkcolor={red!50!black},citecolor={blue!50!black},urlcolor={blue!50!black}} \ No newline at end of file diff --git a/titlepage.tex b/titlepage.tex new file mode 100644 index 0000000..531291d --- /dev/null +++ b/titlepage.tex @@ -0,0 +1,17 @@ +\begin{titlepage} + \raggedleft + + \rule{1pt}{\textheight} + \hspace{0.05\textwidth} + \parbox[b]{0.75\textwidth}{ + {\Huge\bfseries Software Engineering 2\\[0.5\baselineskip] UML Diagramme}\\[2\baselineskip] + {\large\textit{Eine Übersicht}}\\[4\baselineskip] + {\Large\textsc{Prof. Dr. Jessica Steinberger}} + \vspace{0.5\textheight} + %%% + + {\noindent \plogo}\\[\baselineskip] + } + +\end{titlepage} +