diff --git a/.circleci/config.yml b/.circleci/config.yml index 6090964f..c2e63d2f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,10 +7,6 @@ jobs: - checkout # normal compilation and release to homepage - run: latexmk main-german.tex - - run: latexmk main-minted-german.tex - - run: latexmk main-english.tex - - run: latexmk main-paderborn-german.tex - - run: latexmk main-paderborn-english.tex - run: mkdir build && cp -r main-*.pdf .github/_config.yml docs/* build/ - store_artifacts: path: build/ @@ -18,7 +14,3 @@ jobs: # test pdflatex compilation - run: git clean -xdf - run: pdflatex main-german.tex - - run: pdflatex -shell-escape main-minted-german.tex - - run: pdflatex main-english.tex - - run: pdflatex main-paderborn-german.tex - - run: pdflatex main-paderborn-english.tex diff --git a/config.tex b/config.tex index 88cadabb..98f517bd 100644 --- a/config.tex +++ b/config.tex @@ -964,9 +964,6 @@ % % \floatstyle{ruled} % TODO: enabled or disabled causes no change - listings and algorithms are always ruled % -\newfloat{Listing}{tbp}{code}[chapter] -\crefname{Listing}{Listing}{Listings} -% \newfloat{Algorithmus}{tbp}{alg}[chapter] \ifdeutsch \crefname{Algorithmus}{Algorithmus}{Algorithmus} diff --git a/latexhints-english.tex b/latexhints-english.tex deleted file mode 100644 index 61a6468e..00000000 --- a/latexhints-english.tex +++ /dev/null @@ -1,653 +0,0 @@ -% !TeX root = main-english.tex -% !TeX spellcheck = en-US -% !TeX encoding = utf8 -% -*- coding:utf-8 mod:LaTeX -*- - -%This smart spell only works if no changes have been made to the chapter -%using the options proposed in preambel/chapterheads.tex. -\setchapterpreamble[u]{% - \dictum[Albert Einstein]{We cannot solve our problems with the same level of thinking that created them} -} -\chapter{LaTeX Hints} -\label{chap:latexhints} - -One sentence per line. -This rule is important for the usage of version control systems. -A new line is generated with a blank line. -As you would do in Word: -New paragraphs are generated by pressing enter. -In LaTeX, this does not lead to a new paragraph as LaTeX joins subsequent lines. -In case you want a new paragraph, just press enter twice (!). -This leads to an empty line. -In word, there is the functionality to press shift and enter. -This leads to a hard line break. -The text starts at the beginning of a new line. -In LaTeX, you can do that by using two backslashes (\textbackslash\textbackslash). -This is rarely used. - -Please do \textit{not} use two backslahes for new paragraphs. -For instance, this sentence belongs to the same paragraph, whereas the last one started a new one. -A long motivation for that is provided at \url{http://loopspace.mathforge.org/HowDidIDoThat/TeX/VCS/#section.3}. - -\section{File Encoding and Support of Umlauts} -\label{sec:firstsectioninlatexhints} -The template offers foll UTF-8 support. -All recent editors should not have issues with that. - -\section{Citations} - - -References are set by means of \texttt{\textbackslash cite[key]}. - -\begin{filecontents*}{\democodefile} -Example: \cite{WSPA} or by author input: \citet{WSPA}. -\end{filecontents*} -\PrintDemo{style=parallel} - -The following sentence demonstrates -\begin{inparaenum}[1.] - \item the capitalization of author names at the beginning of the sentence, - \item the correct citation using author names and the reference, - \item that the author names are a hyperlink to the bibliography and that - \item the bibliography contains the name prefix \qq{van der} of \qq{Wil M.\,P.\ van der Aalst}. -\end{inparaenum} - -\begin{filecontents*}{\democodefile} -\Citet{RVvdA2016} present a study on the effectiveness of workflow management systems. -\end{filecontents*} -\PrintDemo{style=parallel} - -The following sentence demonstrates that you can overwrite the text part of the generated label using \texttt{label} in a bibliopgrahie"=entry, but the year and the uniqueness is still generated by biber. - -\begin{filecontents*}{\democodefile} -The workflow engine Apache ODE \cite{ApacheODE} executes \BPEL processes reliably. -\end{filecontents*} -\PrintDemo{style=parallel} - -\begin{filecontents*}{\democodefile} -Words are best enclosed using \texttt{\textbackslash qq\{..\}}, then the correct quotes are used. -\end{filecontents*} -\PrintDemo{style=parallel} - -When creating the Bibtex file it is recommended to make sure that the DOI is listed. - -\section{Formulas and Equations} -\label{sec:mf} - -\begin{filecontents*}{\democodefile} -Equations $f(x)=x$ inside the text can be provided. -\end{filecontents*} -\PrintDemo{style=parallel} - -A list with all available mathematical symbols is provided at \url{http://texdoc.net/pkg/symbols-a4}. - -\begin{filecontents*}{\democodefile} -As example the set of natural numbers is given by $\mathbb{N}$. -\end{filecontents*} -\PrintDemo{style=parallel} - -For the documentation of editing mathematical formulas read the package documentation of \texttt{amsmath}\footnote{\url{http://texdoc.net/pkg/amsmath}}. - -Equation~\ref{eq:test} is numbered and can be referenced in the text: -\begin{filecontents*}{\democodefile} -\begin{align} - \label{eq:test} - x = y -\end{align} -\end{filecontents*} -\PrintDemo{style=parallel} - -Following equation is not numbered because of using \texttt{\textbackslash align*} as environment. -\begin{filecontents*}{\democodefile} -\begin{align*} - x = y -\end{align*} -\end{filecontents*} -\PrintDemo{style=parallel} - -The template offers \verb+\abs+ to enable the bars scaling well at the absolute value: - -\begin{filecontents*}{\democodefile} -$\abs{X}$. -\end{filecontents*} -\PrintDemo{style=parallel} - -More details about mathematical environments provides the documentation available at \url{http://www.ctan.org/tex-archive/help/Catalogue/entries/voss-mathmode.html}. - - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\section{Sourcecode} -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\Cref{lst:ListingANDlstlisting} shows how to emmbed source code. -With \texttt{\textbackslash lstinputlisting} the source code can be loaded directly from files. - -%Listing-Umgebung wurde durch \newfloat{Listing} definiert -\begin{Listing} - \begin{lstlisting} -- not interesting - -\end{lstlisting} - \caption{The code is separated by two horizontal lines in the listings environment.} - \label{lst:ListingANDlstlisting} -\end{Listing} - -\begin{filecontents*}{\democodefile} -Source code is also available in the text \lstinline||. -\end{filecontents*} -\PrintDemo{style=parallel} - - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\section{Pseudocode} -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\Cref{alg:sample} shows a sample algorithm. -\begin{Algorithmus} %Use the environment only if you want to place the algorithm similar to graphics from TeX - \caption{Sample algorithm} - \label{alg:sample} - \begin{algorithmic} -\Procedure{Sample}{$a$,$v_e$} -\State $\mathsf{parentHandled} \gets (a = \mathsf{process}) \lor \mathsf{visited}(a'), (a',c,a) \in \mathsf{HR}$ -\State \Comment $(a',c'a) \in \mathsf{HR}$ denotes that $a'$ is the parent of $a$ -\If{$\mathsf{parentHandled}\,\land(\mathcal{L}_\mathit{in}(a)=\emptyset\,\lor\,\forall l \in \mathcal{L}_\mathit{in}(a): \mathsf{visited}(l))$} -\State $\mathsf{visited}(a) \gets \text{true}$ -\State $\mathsf{writes}_\circ(a,v_e) \gets -\begin{cases} -\mathsf{joinLinks}(a,v_e) & \abs{\mathcal{L}_\mathit{in}(a)} > 0\\ -\mathsf{writes}_\circ(p,v_e) -& \exists p: (p,c,a) \in \mathsf{HR}\\ -(\emptyset, \emptyset, \emptyset, false) & \text{otherwise} -\end{cases} -$ -\If{$a\in\mathcal{A}_\mathit{basic}$} - \State \Call{HandleBasicActivity}{$a$,$v_e$} -\ElsIf{$a\in\mathcal{A}_\mathit{flow}$} - \State \Call{HandleFlow}{$a$,$v_e$} -\ElsIf{$a = \mathsf{process}$} \Comment Directly handle the contained activity - \State \Call{HandleActivity}{$a'$,$v_e$}, $(a,\bot,a') \in \mathsf{HR}$ - \State $\mathsf{writes}_\bullet(a) \gets \mathsf{writes}_\bullet(a')$ -\EndIf -\ForAll{$l \in \mathcal{L}_\mathit{out}(a)$} - \State \Call{HandleLink}{$l$,$v_e$} -\EndFor -\EndIf -\EndProcedure - \end{algorithmic} -\end{Algorithmus} - -\clearpage -And if you want to write an algorithm that goes over several pages, you can only do this with the following \textbf{dirty} hack: - -{ -\begin{minipage}{\textwidth} - \hrule height .8pt width\textwidth - \vskip.3em%\vskip\abovecaptionskip\relax - \stepcounter{Algorithmus} - \addcontentsline{alg}{Algorithmus}{\protect\numberline{\theAlgorithmus}{\ignorespaces Description \relax}} - \noindent\textbf{Algorithmus \theAlgorithmus} Description - %\stepcounter{algorithm} - %\addcontentsline{alg}{Algorithmus}{\thealgorithm{}\hskip0em Description} - %\textbf{Algorithmus \thealgorithm} Description - \vskip.3em%\vskip\belowcaptionskip\relax - \hrule height .5pt width\textwidth -\end{minipage} -%without the following line, the text is nerer at the rule -\vskip-.3em -% -code goes here\\ -test2\\ -% -\vskip-.7em -\hrule height .5pt width\textwidth -} - - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\section{Figures} -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -The \cref{fig:chor1} and \ref{fig:chor2} are important to understand this document. -In the appendix \vref{fig:AnhangsChor} shows again the complete choreography. - -%The parameters in square brackets are optional - e.g. [htb!] -%htb! means: Dear LaTeX, please place this image here first ("_h_ere"). If this does not work, place it at the "_t_op" of the page. And if this is not possible, please place it at the "_b_ottom" of the page. And please, please prefer here and above, even if it doesn't look so optimal ("!") -%These should NOT be used if possible. LaTeX's algorithm for placing the glide environment is already very good! -\begin{figure} - \centering - \includegraphics[width=\textwidth]{choreography.pdf} - \caption{Example Choreography} - \label{fig:chor1} -\end{figure} - -\begin{figure} - \centering - \includegraphics[width=.8\textwidth]{choreography.pdf} - \caption[Example Choreography]{The example choreography. Now slightly smaller to demonstrate \texttt{\textbackslash textwidth}. And also the use of alternative captions for the list of images. However, the latter is only conditionally recommended, because who reads so much text under a picture? Or is it just a matter of style?} - \label{fig:chor2} -\end{figure} - - -\begin{figure} - \hfill - \begin{subfigure}{.3\textwidth} - \includegraphics[width=\textwidth]{choreography.pdf} - \caption{Choreography 1} - \label{fig:subfigA} - \end{subfigure} - \hfill - \begin{subfigure}{.3\textwidth} - \includegraphics[width=\textwidth]{choreography.pdf} - \caption{Choreography 2} - \label{fig:subfigB} - \end{subfigure} - \hfill - \begin{subfigure}{.3\textwidth} - \includegraphics[width=.9\textwidth]{choreography.pdf} - \caption{Choreography 3} - \label{fig:subfigC} - \end{subfigure} - \caption{Example to place 3 illustrations next to each other. Further, it is possible to reference each separately.} - \label{fig:subfig_example} -\end{figure} - -\Cref{fig:subfig_example} shows the usage of the package subcaption. -It is indeed possible to reference to sub figures: \Cref{fig:subfigA}. - -It is possible to convert SVGs to PDF directly during compilation. -This is described in the source code of latex-tipps.tex, but commented out. - -\iffalse % <-- Take this away if inkscape is in the path - The SVG in \cref{fig:directSVG} is directly included, while the text in the SVG in \cref{fig:latexSVG} is set using pdflatex. - If you want to see the graphics, inkscape must be in PATH and in the text source \texttt{\textbackslash{}iffalse} and \text{\textbackslash{}iftrue} have to be commented out. - - \begin{figure} - \centering - \includegraphics{svgexample.svg} - \caption{SVG directly included} - \label{fig:directSVG} - \end{figure} - - \begin{figure} - \centering - \def\svgwidth{.4\textwidth} - \includesvg{svgexample} - \caption{Text in SVN set via \LaTeX{}} - \label{fig:latexSVG} - \end{figure} -\fi % <-- Take this away if inkscape is in the path - - - -\section{More Illustrations} -\Cref{fig:AnhangsChor,fig:AnhangsChor2} show two choreographies, which should further explain the facts. The second figure is rotated 90 degrees to demonstrate the \texttt{pdflscape} package. - -\begin{figure} - \centering - \includegraphics[width=\textwidth]{choreography.pdf} - \caption{Example Choreography I} - \label{fig:AnhangsChor} -\end{figure} - -\begin{landscape} - %sidewaysfigure - \begin{figure} - \centering - \includegraphics[width=\textwidth]{choreography.pdf} - \caption{Example Choreography II} - \label{fig:AnhangsChor2} - \end{figure} -\end{landscape} - - -\IfFileExists{pgfplots.sty}{ - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - \section{Plots with pgfplots} - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - The package pdfplots provides plotting of functions directly in \LaTeX~like with matlab or gnuplot. Some visual examples are available here\footnote{\url{http://texdoc.net/pkg/visualtikz}}. - \begin{figure}[h] - \begin{center} - \begin{tikzpicture} - \begin{axis}[xlabel=$x$, - ylabel=$\sin(x)$] - \addplot {sin(deg(x))}; % Print sine function - \end{axis} - \end{tikzpicture} - \end{center} - \caption{Plot of $\sin(x)$ direclty inside the figure environment with pgfplots.} - \end{figure} - - \begin{figure}[h] - \begin{center} - \begin{tikzpicture} - \begin{axis}[xlabel=$x$, - ylabel=$y$] - \addplot table [x=a, y=c, col sep=comma] {data/data.csv}; % Read coordinates from csv file and plot them - \end{axis} - \end{tikzpicture} - \end{center} - \caption{Coordinates $x$ and $y$ read from csv file and plotted pgfplots.} - \end{figure} - -}{} - - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\section{Figures with tikz} -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -The tikz is a package for creating graphics programmatically. With this package grids or other regular strucutres can be easliy generated. - -\begin{figure}[ht] - \begin{center} - \begin{tikzpicture} - \draw(0,0) rectangle (4,4); - \foreach \x in {0.5,1,1.5,2,2.5,3,3.5} - \foreach \y in {0.5,1,1.5,2,2.5,3,3.5} - \draw(\x,\y) circle (1pt); - \end{tikzpicture} - \end{center} - \caption{A regular grid genrated with easily with two for loops.}\label{fig:tikz_example} -\end{figure} - - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\section{UML diagrams using tikz-uml} -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -\Cref{fig:uml} presents a class diagram typeset using tikz-uml. - -\begin{center} -\begin{figure} -\begin{tikzpicture} -\begin{umlpackage}{p} -\begin{umlpackage}{sp1} -\umlclass[template=T]{A}{ - n : uint \\ t : float -}{} -\umlclass[y=-3]{B}{ - d : double -}{ - \umlvirt{setB(b : B) : void} \\ getB() : B} -\end{umlpackage} -\begin{umlpackage}[x=10,y=-6]{sp2} -\umlinterface{C}{ - n : uint \\ s : string -}{} -\end{umlpackage} -\umlclass[x=2,y=-10]{D}{ - n : uint - }{} -\end{umlpackage} - -\umlassoc[geometry=-|-, arg1=tata, mult1=*, pos1=0.3, arg2=toto, mult2=1, pos2=2.9, align2=left]{C}{B} -\umlunicompo[geometry=-|, arg=titi, mult=*, pos=1.7, stereo=vector]{D}{C} -\umlimport[geometry=|-, anchors=90 and 50, name=import]{sp2}{sp1} -\umlaggreg[arg=tutu, mult=1, pos=0.8, angle1=30, angle2=60, loopsize=2cm]{D}{D} -\umlinherit[geometry=-|]{D}{B} -\umlnote[x=2.5,y=-6, width=3cm]{B}{A note with respect to class B} -\umlnote[x=7.5,y=-2]{import-2}{A anotation} -\end{tikzpicture} -\caption{Class diagram generated with tikz-uml. Example adapted from Nicolas Kielbasiewicz.} -\label{fig:uml} -\end{figure} -\end{center} - -\section{UML diagrams using PlantUML} - -In case \lualatex{} is used and PlantUML is installed, UML diagrams can be defined using PlantUML. - -% Only works if "--shell-escape" is activated. Please activate only if you are sure, your compilation settings are correct -%\IfFileExists{plantuml.sty}{\input{latexhints-english-plantuml}}{} - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\section{Tables} -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\cref{tab:Ergebnisse} shows results and \cref{tab:Results} shows how numerical data can be represented in a table. -\begin{table} - \centering - \begin{tabular}{ccc} - \toprule - \multicolumn{2}{c}{\textbf{summed}} & \textbf{Title} \\ \midrule - Table & as & in \\ - \url{tabsatz.pdf} & recommended & gesetzt \\ - - \multirow{2}{*}{Example} & \multicolumn{2}{c}{a nice example} \\ - & \multicolumn{2}{c}{for using \qq{multirow}} \\ - \bottomrule - \end{tabular} - \caption[Example Table]{Exampe Table -- see \url{http://www.ctan.org/tex-archive/info/german/tabsatz/}} - \label{tab:Ergebnisse} -\end{table} - -\begin{table} - \centering - \begin{tabular}{l *{8}{d{3.2}}} - \toprule - - & \multicolumn{2}{c}{\textbf{Parameter 1}} & \multicolumn{2}{c}{\textbf{Parameter 2}} & \multicolumn{2}{c}{\textbf{Parameter 3}} & \multicolumn{2}{c}{\textbf{Parameter 4}} \\ - \cmidrule(r){2-3}\cmidrule(lr){4-5}\cmidrule(lr){6-7}\cmidrule(l){8-9} - - \textbf{Bedingungen} & \multicolumn{1}{c}{\textbf{M}} & \multicolumn{1}{c}{\textbf{SD}} & \multicolumn{1}{c}{\textbf{M}} & \multicolumn{1}{c}{\textbf{SD}} & \multicolumn{1}{c}{\textbf{M}} & \multicolumn{1}{c}{\textbf{SD}} & \multicolumn{1}{c}{\textbf{M}} & \multicolumn{1}{c}{\textbf{SD}} \\ - \midrule - - W & 1.1 & 5.55 & 6.66 & .01 & & & & \\ - X & 22.22 & 0.0 & 77.5 & .1 & & & & \\ - Y & 333.3 & .1 & 11.11 & .05 & & & & \\ - Z & 4444.44 & 77.77 & 14.06 & .3 & & & & \\ - \bottomrule - \end{tabular} - - \caption{Example table for 4 constraints (W-Z), each having 4 parameters with (M und SD). Note: use always the same number of decimal places.} - \label{tab:Werte} -\end{table} - -\IfFileExists{pgfplotstable.sty}{ - -\subsection{Tables with pgfplots} -With the pgfplotstable package tables can be directly generated from a csv file. - -\begin{table}[h] -\centering -\pgfplotstabletypeset[ -col sep = comma, -every head row/.style={before row=\toprule,after row=\midrule}, -every last row/.style={after row=\bottomrule}, -display columns/0/.style={string type,column name={}} -] -{data/data.csv} -\caption{Table direclty generated from the values of a csf file.} -\end{table} -}{} - - -\section{Tables spanning multiple pages} - - -\begin{longtable}{|l|l|l|} -\caption{A sample long table.} \label{tab:long} \\ - -\hline \multicolumn{1}{|c|}{\textbf{First column}} & \multicolumn{1}{c|}{\textbf{Second column}} & \multicolumn{1}{c|}{\textbf{Third column}} \\ \hline -\endfirsthead - -\multicolumn{3}{c}% -{{\bfseries \tablename\ \thetable{} -- continued from previous page}} \\ -\hline \multicolumn{1}{|c|}{\textbf{First column}} & \multicolumn{1}{c|}{\textbf{Second column}} & \multicolumn{1}{c|}{\textbf{Third column}} \\ \hline -\endhead - -\hline \multicolumn{3}{|r|}{{Continued on next page}} \\ \hline -\endfoot - -\hline \hline -\endlastfoot - -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -A & BC & D \\ -\end{longtable} - - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\section{Abbreviations} -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -At the first pass the \gls{fr} was 5. -At the second pass was \gls{fr} 3. -The plural form can be seen here: \glspl{er}. -To demonstrate what the list of abbreviations looks like for longer description texts, \glspl{rdbms} must be mentioned here. - -With \verb+\gls{...}+ you can enter abbreviations, the first time you call it, the long form is used. -When reusing \verb+\gls{..}+ the short form is automatically displayed. -The abbreviation is also automatically inserted in the abbreviation list. -With \verb+\glspl{...}+ the plural form is used. -If you want the short form to appear directly at the first use, you can use \verb+\glsunset{..}+ to mark an abbreviation as already used. -The opposite is achieved with \verb+\glsreset{..}+. - -Abbreviations are defined in \textit{content\\ausarbeitung.tex} by means of \verb+\newacronym{...}{...}{...}+. - -More information at: \url{http://tug.ctan.org/macros/latex/contrib/glossaries/glossariesbegin.pdf} -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\section{References} -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -For distant sections \qq{varioref} is recommended: -\qq{See \vref{sec:mf}}. -The command \texttt{\textbackslash{}vref} works similar to \texttt{\textbackslash{}cref} the difference beeing that a reference to the page is additionally added. -\texttt{vref}: \qq{\vref{sec:firstsectioninlatexhints}}, \texttt{cref}: \qq{\cref{sec:firstsectioninlatexhints}}, \texttt{ref}: \qq{\ref{sec:firstsectioninlatexhints}}. - -If \qq{varioref} causes difficulties, then \qq{cref} can be used instead. -This also creates the word \qq{section} automatically: \cref{sec:mf}. -This is also possible for illustrations etc. -In English please use \verb1\Cref{...}1 (with large \qq{C} at the beginning). - -%With MiKTeX installation from 2012-01-16 no longer necessary. -%If a section becomes longer than one page and you want to refer to a specific place in the section with \texttt{\textbackslash{}vref}, then you should use \texttt{\textbackslash{}phantomsection} then using \texttt{vref} will also display the correct page number. - -%%The link location will be placed on the line below. -%%Tipp von http://en.wikibooks.org/wiki/LaTeX/Labels_and_Cross-referencing#The_hyperref_package_and_.5Cphantomsection -%\phantomsection -%\label{alabel} -%View the example for \texttt{\textbackslash{}phantomsection} in the \LaTeX{} source code. - -%Here is the example: See Section \vref{hack1} and Section \vref{hack2}. -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\section{Definitions} -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\begin{definition}[Title] - \label{def:def1} - Definition Text -\end{definition} - -\Cref{def:def1} shows \ldots - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\section{Footnotes} -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -Footnotes are provided by the command \verb+\footnote{...}+\footnote{\label{fussnote}Example footnote.}. Citing footnotes is possible by provinding a label\verb+\footnote{\label{...}...}+ and cite the footnote with \verb+\cref{...}+ in the text\cref{fussnote}. -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\section{Various Things} -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\label{sec:diff} -\ifdeutsch - Numbers (123\,654\,789) are nicely set. - Either in a line or as non-lining figure. - The latter is reached by parameter \texttt{osf} at package \texttt{libertine} or.\ \texttt{mathpazo} in \text{fonts.tex}. -\fi - -\begin{filecontents*}{\democodefile} -\begin{compactenum}[I.] - \item You can also keep the numbering compact thanks to paralist - \item and switch to a different numbering -\end{compactenum} -\end{filecontents*} -\PrintDemo{style=parallel} - -The words \qq{workflow} and \qq{dwarflike} can be copied from the PDF and pasted to a text file. - -\begin{filecontents*}{\democodefile} -In case \LuaLaTeX{} is used as compiler, there is no ligature at \qq{f\/l} in the word \qq{dwarflike} (in contrast to \qq{fl} at \qq{workflow}). -In other words: \qq{dwarflike} and \qq{dwarf\/like} look the same in the PDF. -In case they do not, there is an issue with Lua\LaTeX{} and the selnolig package. -\end{filecontents*} -\PrintDemo{style=parallel} -% Meta comment: The precise form of the optimal ligation suppression command may vary depending on the character pairs involved - see https://tex.stackexchange.com/q/28437/9075 - - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\section{Closing remarks} -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -Please feel free to provide enhancements for this template and create a new ticket on GitHub (\url{https://github.com/latextemplates/uni-stuttgart-computer-science-template/issues}). diff --git a/latexhints-german-plantuml.tex b/latexhints-german-plantuml.tex deleted file mode 100644 index a22d4866..00000000 --- a/latexhints-german-plantuml.tex +++ /dev/null @@ -1,59 +0,0 @@ -\Cref{fig:umlcar} zeigt ein einfaches UML-Diagramm mittels PlantUML. - -\begin{figure} - \centering - \begin{plantuml} - @startuml - class Car - - Driver - Car : drives > - Car *- Wheel : have 4 > - Car -- Person : < owns - @enduml - \end{plantuml} - \caption{Einfaches PlantUML-Diagramm} - \label{fig:umlcar} -\end{figure} - -\Cref{fig:plantuml} zeigt das Beispiel von \cref{fig:uml} mittels PlantUML. - -\begin{figure} - \centering - \begin{plantuml} - @startuml - package "p" #DDDDDD { - package "sp1" #DDDDDD { - class A { - + n : uint - + t : float - } - class B { - + d : double - - setB(b: B): void - + getB(): B - } - note bottom of Class: A note on class B - } - package "sp2" #DDDDDD { - interface C << interface >> { - + n : uint - + s : string - } - } - class D { - + n : uint - } - - sp2 ..> sp1 : N1 - note on link: An annotation - - B <|--D - B "1 toto" --> "0..* tata" C - D "1" o-- D : tutu - D *--> "titi 0..*" C : << vector >> - } - @enduml - \end{plantuml} - \caption{PlantUML-Diagramm} - \label{fig:plantuml} -\end{figure} diff --git a/latexhints-german.tex b/latexhints-german.tex index 75f87584..82d3b438 100644 --- a/latexhints-german.tex +++ b/latexhints-german.tex @@ -102,17 +102,86 @@ \section{Quellcode} %Listing-Umgebung wurde durch \newfloat{Listing} definiert -\begin{Listing} - \begin{lstlisting}[language=XML] +\begin{lstlisting}[language=XML,caption={Langes lstlisting},label={lst:ListingANDlstlisting},numbers=left] not interesting + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \end{lstlisting} - \caption{lstlisting in einer Listings-Umgebung, damit das Listing durch Balken abgetrennt ist} - \label{lst:ListingANDlstlisting} -\end{Listing} - %TODO: Currently not shown in TOC \lstinputlisting[language=C++,label=helloworld,caption={"`hello world"' in C++.},float]{code/helloworld.cpp} diff --git a/latexhints-minted-german.tex b/latexhints-minted-german.tex deleted file mode 100644 index 5574e6d1..00000000 --- a/latexhints-minted-german.tex +++ /dev/null @@ -1,26 +0,0 @@ -% !TeX root = main-minted-german.tex - -\section{UML-Diagramme mit PlantUML} - -Falls \lualatex{} verwendet wird und PlantUML installiert ist, können UML-Diagramme mittels PlantUML erstellt werden. - -\IfFileExists{plantuml.sty}{\input{latexhints-german-plantuml}}{} - -\section{minted} - -\href{https://github.com/gpoore/minted}{minted} ist eine Alternative zum \href{https://ctan.org/pkg/listings}{lstlistings}-Paket, das erweiterte Syntax-Hervorhebungen erlaubt. -\Cref{lst:xml} zeigt ein XML-Listing. -% Cleveref and minted do not play together, so we have to use \lineref - seee https://tex.stackexchange.com/q/132420/9075 -Man kann auch direkt auf eine Zeile verweisen: \lref{commentline}. - -% Unbedingt Listing mit großem "l" benutzen, da sonst das Listing nicht im "Verzeichnis der Listings" auftaucht. -\begin{Listing}[hb] - \begin{minted}[linenos=true,escapeinside=||]{xml} -- - not interesting |\Vlabel{commentline}| - -\end{minted} - \caption{XML-Dokument gerendert mittels minted} - \label{lst:xml} -\end{Listing} diff --git a/main-english.tex b/main-english.tex deleted file mode 100644 index 2c461623..00000000 --- a/main-english.tex +++ /dev/null @@ -1,237 +0,0 @@ -% !TeX spellcheck = en-US -% !TeX encoding = utf8 -% !TeX program = lualatex -% !BIB program = biber -% -*- coding:utf-8 mod:LaTeX -*- - - -% vv scroll down to line 200 for content vv - - -\let\ifdeutsch\iffalse -\let\ifenglisch\iftrue -\input{pre-documentclass} -\documentclass[ - % fontsize=11pt is the standard - a4paper, % Standard format - only KOMAScript uses paper=a4 - https://tex.stackexchange.com/a/61044/9075 - twoside, % we are optimizing for both screen and two-side printing. So the page numbers will jump, but the content is configured to stay in the middle (by using the geometry package) - bibliography=totoc, - % idxtotoc, %Index ins Inhaltsverzeichnis - % liststotoc, %List of X ins Inhaltsverzeichnis, mit liststotocnumbered werden die Abbildungsverzeichnisse nummeriert - headsepline, - cleardoublepage=empty, - parskip=half, - % draft % um zu sehen, wo noch nachgebessert werden muss - wichtig, da Bindungskorrektur mit drin - draft=false -]{scrbook} -\input{config} - - -\usepackage[ - title={Is Oil the future?}, - author={Lars K.}, - type=bachelor, - institute=iaas, % or other institute names - or just a plain string using {Demo\\Demo...} - course={Medieninformatik}, - examiner={Prof.\ Dr.\ Uwe Fessor}, - supervisor={Dipl.-Inf.\ Roman Tiker,\\Dipl.-Inf.\ Laura Stern,\\Otto Normalverbraucher,\ M.Sc.}, - startdate={July 5, 2018}, - enddate={January 5, 2019} -]{scientific-thesis-cover} - -\input{acronyms} - -\makeindex - -\begin{document} - -%tex4ht-Konvertierung verschönern -\iftex4ht - % tell tex4ht to create picures also for formulas starting with '$' - % WARNING: a tex4ht run now takes forever! - \Configure{$}{\PicMath}{\EndPicMath}{} - %$ % <- syntax highlighting fix for emacs - \Css{body {text-align:justify;}} - - %conversion of .pdf to .png - \Configure{graphics*} - {pdf} - {\Needs{"convert \csname Gin@base\endcsname.pdf - \csname Gin@base\endcsname.png"}% - \Picture[pict]{\csname Gin@base\endcsname.png}% - } -\fi - -%\VerbatimFootnotes %verbatim text in Fußnoten erlauben. Geht normalerweise nicht. - -\input{commands} -\pagenumbering{arabic} -\Titelblatt - -%Eigener Seitenstil fuer die Kurzfassung und das Inhaltsverzeichnis -\deftripstyle{preamble}{}{}{}{}{}{\pagemark} -%Doku zu deftripstyle: scrguide.pdf -\pagestyle{preamble} -\renewcommand*{\chapterpagestyle}{preamble} - - - -%Kurzfassung / abstract -%auch im Stil vom Inhaltsverzeichnis -\ifdeutsch - \section*{Kurzfassung} -\else - \section*{Abstract} -\fi - - - -\cleardoublepage - - -% BEGIN: Verzeichnisse - -\iftex4ht -\else - \microtypesetup{protrusion=false} -\fi - -%%% -% Literaturverzeichnis ins TOC mit aufnehmen, aber nur wenn nichts anderes mehr hilft! -% \addcontentsline{toc}{chapter}{Literaturverzeichnis} -% -% oder zB -%\addcontentsline{toc}{section}{Abkürzungsverzeichnis} -% -%%% - -%Produce table of contents -% -%In case you have trouble with headings reaching into the page numbers, enable the following three lines. -%Hint by http://golatex.de/inhaltsverzeichnis-schreibt-ueber-rand-t3106.html -% -%\makeatletter -%\renewcommand{\@pnumwidth}{2em} -%\makeatother -% -\tableofcontents - -% Bei einem ungünstigen Seitenumbruch im Inhaltsverzeichnis, kann dieser mit -% \addtocontents{toc}{\protect\newpage} -% an der passenden Stelle im Fließtext erzwungen werden. - -\listoffigures -\listoftables - -%Wird nur bei Verwendung von der lstlisting-Umgebung mit dem "caption"-Parameter benoetigt -%\lstlistoflistings -%ansonsten: -\ifdeutsch - \listof{Listing}{Verzeichnis der Listings} -\else - \listof{Listing}{List of Listings} -\fi - -%mittels \newfloat wurde die Algorithmus-Gleitumgebung definiert. -%Mit folgendem Befehl werden alle floats dieses Typs ausgegeben -\ifdeutsch - \listof{Algorithmus}{Verzeichnis der Algorithmen} -\else - \listof{Algorithmus}{List of Algorithms} -\fi -%\listofalgorithms %Ist nur für Algorithmen, die mittels \begin{algorithm} umschlossen werden, nötig - -% Abkürzungsverzeichnis -\printnoidxglossaries - -\iftex4ht -\else - %Optischen Randausgleich und Grauwertkorrektur wieder aktivieren - \microtypesetup{protrusion=true} -\fi - -% END: Verzeichnisse - - -% Headline and footline -\renewcommand*{\chapterpagestyle}{scrplain} -\pagestyle{scrheadings} -\pagestyle{scrheadings} -\ihead[]{} -\chead[]{} -\ohead[]{\headmark} -\cfoot[]{} -\ofoot[\usekomafont{pagenumber}\thepage]{\usekomafont{pagenumber}\thepage} -\ifoot[]{} - - -%% vv scroll down for content vv %% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% -% Main content starts here -% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - - -\chapter{Introduction} - -This thesis tarts with \cref{chap:k2}. - -We can also typeset \verb|verbatim text|. -Backticks are also rendered correctly: \verb|`words in backticks`|. - -\chapter{Chapter Two} -\label{chap:k2} - -LaTeX hints are provided in \cref{chap:latexhints}. - -\blinddocument - - -\chapter{Conclusion and Outlook} -\label{chap:zusfas} - -\section*{Outlook} - -\printbibliography - -All links were last followed on March 17, 2018. - -\appendix -\input{latexhints-english} - -\pagestyle{empty} -\renewcommand*{\chapterpagestyle}{empty} -\Versicherung -\end{document} diff --git a/main-german.tex b/main-german.tex index e72f7113..6baf68a0 100644 --- a/main-german.tex +++ b/main-german.tex @@ -125,13 +125,7 @@ \listoftables %Wird nur bei Verwendung von der lstlisting-Umgebung mit dem "caption"-Parameter benoetigt -%\lstlistoflistings -%ansonsten: -\ifdeutsch - \listof{Listing}{Verzeichnis der Listings} -\else - \listof{Listing}{List of Listings} -\fi +\lstlistoflistings %mittels \newfloat wurde die Algorithmus-Gleitumgebung definiert. %Mit folgendem Befehl werden alle floats dieses Typs ausgegeben diff --git a/main-minted-german.tex b/main-minted-german.tex deleted file mode 100644 index 19fe22db..00000000 --- a/main-minted-german.tex +++ /dev/null @@ -1,257 +0,0 @@ -% !TeX spellcheck = de-DE -% !TeX encoding = utf8 -% !TeX program = lualatex -% !TeX TXS-program:compile = txs:///lualatex/[--shell-escape] -% !BIB program = biber -% -*- coding:utf-8 mod:LaTeX -*- - -% vv scroll down to line 200 for content vv - - -\let\ifdeutsch\iftrue -\let\ifenglisch\iffalse -\input{pre-documentclass} -\documentclass[ - % fontsize=11pt is the standard - a4paper, % Standard format - only KOMAScript uses paper=a4 - https://tex.stackexchange.com/a/61044/9075 - twoside, % we are optimizing for both screen and two-side printing. So the page numbers will jump, but the content is configured to stay in the middle (by using the geometry package) - bibliography=totoc, - % idxtotoc, %Index ins Inhaltsverzeichnis - % liststotoc, %List of X ins Inhaltsverzeichnis, mit liststotocnumbered werden die Abbildungsverzeichnisse nummeriert - headsepline, - cleardoublepage=empty, - parskip=half, - % draft % um zu sehen, wo noch nachgebessert werden muss - wichtig, da Bindungskorrektur mit drin - draft=false -]{scrbook} -\input{config} - -%%% -% EN: Syntax highligthing using pygments package -\usepackage[chapter]{minted} -% EN: line numbers within page margins -% DE: Zeilennummern innerhalb vom Rand -\setminted{numbersep=5pt, xleftmargin=12pt} -%%% - -%http://www.jevon.org/wiki/Eclipse_Pygments_Style -%\usemintedstyle{eclipse} -% -%\usemintedstyle{autumn} -%\usemintedstyle{rrt} -%\usemintedstyle{borland} -%\usemintedstyle{friendlygrayscale} -\usemintedstyle{friendly} - -%EN: compatibility of packages minted and listings with respect to the numbering of "List." caption -% source: https://tex.stackexchange.com/a/269510/9075 -\AtBeginEnvironment{listing}{\setcounter{listing}{\value{lstlisting}}} -\AtEndEnvironment{listing}{\stepcounter{lstlisting}} -%EN: We use the Listing environment to have the nice bar. So, we also have to patch the "Listing" environment for consistent counters -\AtBeginEnvironment{Listing}{\setcounter{listing}{\value{lstlisting}}} -\AtEndEnvironment{Listing}{\stepcounter{lstlisting}} - - -% EN: The package scientific-thesis-cover (https://ctan.org/pkg/scientific-thesis-cover) was added to CTAN on January 1, 2018. -% It is available in recent texlive and miktex installations -\usepackage[ -title={Förderungswürdigkeit der F\"{o}rderung von Öl}, -author={Lars K.}, -type=bachelor, -institute=iaas, % or other institute names - or just a plain string using {Demo\\Demo...} -course={Medieninformatik}, -examiner={Prof.\ Dr.\ Uwe Fessor}, -supervisor={Dipl.-Inf.\ Roman Tiker,\\Dipl.-Inf.\ Laura Stern,\\Otto Normalverbraucher,\ M.Sc.}, -startdate={5.\ Juli 2013}, % English: July 5, 2013; ISO: 2013-07-05 -enddate={5.\ Januar 2014} % English: January 5, 2014; ISO: 2014-01-05 -]{scientific-thesis-cover} - -\input{acronyms} - -\makeindex - -\begin{document} - -%tex4ht-Konvertierung verschönern -\iftex4ht - % tell tex4ht to create picures also for formulas starting with '$' - % WARNING: a tex4ht run now takes forever! - \Configure{$}{\PicMath}{\EndPicMath}{} - %$ % <- syntax highlighting fix for emacs - \Css{body {text-align:justify;}} - - %conversion of .pdf to .png - \Configure{graphics*} - {pdf} - {\Needs{"convert \csname Gin@base\endcsname.pdf - \csname Gin@base\endcsname.png"}% - \Picture[pict]{\csname Gin@base\endcsname.png}% - } -\fi - -%\VerbatimFootnotes %verbatim text in Fußnoten erlauben. Geht normalerweise nicht. - -\input{commands} -\pagenumbering{arabic} -\Titelblatt - -%Eigener Seitenstil fuer die Kurzfassung und das Inhaltsverzeichnis -\deftripstyle{preamble}{}{}{}{}{}{\pagemark} -%Doku zu deftripstyle: scrguide.pdf -\pagestyle{preamble} -\renewcommand*{\chapterpagestyle}{preamble} - - - -%Kurzfassung / abstract -%auch im Stil vom Inhaltsverzeichnis -\ifdeutsch - \section*{Kurzfassung} -\else - \section*{Abstract} -\fi - -... Short summary of the thesis ... - -\cleardoublepage - - -% BEGIN: Verzeichnisse - -\iftex4ht -\else - \microtypesetup{protrusion=false} -\fi - -%%% -% Literaturverzeichnis ins TOC mit aufnehmen, aber nur wenn nichts anderes mehr hilft! -% \addcontentsline{toc}{chapter}{Literaturverzeichnis} -% -% oder zB -%\addcontentsline{toc}{section}{Abkürzungsverzeichnis} -% -%%% - -%Produce table of contents -% -%In case you have trouble with headings reaching into the page numbers, enable the following three lines. -%Hint by http://golatex.de/inhaltsverzeichnis-schreibt-ueber-rand-t3106.html -% -%\makeatletter -%\renewcommand{\@pnumwidth}{2em} -%\makeatother -% -\tableofcontents - -% Bei einem ungünstigen Seitenumbruch im Inhaltsverzeichnis, kann dieser mit -% \addtocontents{toc}{\protect\newpage} -% an der passenden Stelle im Fließtext erzwungen werden. - -\listoffigures -\listoftables - -%Wird nur bei Verwendung von der lstlisting-Umgebung mit dem "caption"-Parameter benoetigt -%\lstlistoflistings -%ansonsten: -\ifdeutsch - \listof{Listing}{Verzeichnis der Listings} -\else - \listof{Listing}{List of Listings} -\fi - -%mittels \newfloat wurde die Algorithmus-Gleitumgebung definiert. -%Mit folgendem Befehl werden alle floats dieses Typs ausgegeben -\ifdeutsch - \listof{Algorithmus}{Verzeichnis der Algorithmen} -\else - \listof{Algorithmus}{List of Algorithms} -\fi -%\listofalgorithms %Ist nur für Algorithmen, die mittels \begin{algorithm} umschlossen werden, nötig - -% Abkürzungsverzeichnis -\printnoidxglossaries - -\iftex4ht -\else - %Optischen Randausgleich und Grauwertkorrektur wieder aktivieren - \microtypesetup{protrusion=true} -\fi - -% END: Verzeichnisse - - -% Headline and footline -\renewcommand*{\chapterpagestyle}{scrplain} -\pagestyle{scrheadings} -\pagestyle{scrheadings} -\ihead[]{} -\chead[]{} -\ohead[]{\headmark} -\cfoot[]{} -\ofoot[\usekomafont{pagenumber}\thepage]{\usekomafont{pagenumber}\thepage} -\ifoot[]{} - - -%% vv scroll down for content vv %% - - - - - - - - - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% -% Main content starts here -% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - - -\chapter{Einleitung} -In diesem Kapitel steht die Einleitung zu dieser Arbeit. -Sie soll nur als Beispiel dienen und hat nichts mit dem Buch \cite{WSPA} zu tun. -Nun viel Erfolg bei der Arbeit! - -Bei \LaTeX\ werden Absätze durch freie Zeilen angegeben. -Da die Arbeit über ein Versionskontrollsystem versioniert wird, ist es sinnvoll, pro \emph{Satz} eine neue Zeile im \texttt{.tex}-Dokument anzufangen. -So kann einfacher ein Vergleich von Versionsständen vorgenommen werden. - -Die Arbeit ist in folgender Weise gegliedert: -In \cref{chap:k2} werden die Grundlagen dieser Arbeit beschrieben. -Schließlich fasst \cref{chap:zusfas} die Ergebnisse der Arbeit zusammen und stellt Anknüpfungspunkte vor. - - -\chapter{Kapitel zwei} -\label{chap:k2} - -Hier wird der Hauptteil stehen. Falls mehrere Kapitel gewünscht, entweder mehrmals \texttt{\textbackslash{}chapter} benutzen oder pro Kapitel eine eigene Datei anlegen und \texttt{ausarbeitung.tex} anpassen. - -LaTeX-Hinweise stehen in \cref{chap:latextipps}. - -%noch etwas Fülltext -\blinddocument - - -\chapter{Zusammenfassung und Ausblick}\label{chap:zusfas} -Hier bitte einen kurzen Durchgang durch die Arbeit. - -\section*{Ausblick} -...und anschließend einen Ausblick - -\printbibliography - -Alle URLs wurden zuletzt am 17.\,03.\,2018 geprüft. - -%\renewcommand{\appendixtocname}{Anhang} -%\renewcommand{\appendixname}{Anhang} -%\renewcommand{\appendixpagename}{Anhang} -\appendix -\input{latexhints-german} -\input{latexhints-minted-german} - -\pagestyle{empty} -\renewcommand*{\chapterpagestyle}{empty} -\Versicherung -\end{document} diff --git a/main-paderborn-english.tex b/main-paderborn-english.tex deleted file mode 100644 index 286affcf..00000000 --- a/main-paderborn-english.tex +++ /dev/null @@ -1,233 +0,0 @@ -% !TeX spellcheck = en-US -% !TeX encoding = utf8 -% !TeX program = lualatex -% !BIB program = biber -% -*- coding:utf-8 mod:LaTeX -*- - - -% vv scroll down to line 200 for content vv - - -\let\ifdeutsch\iffalse -\let\ifenglisch\iftrue -\input{pre-documentclass} -\documentclass[ - % fontsize=11pt is the standard - a4paper, % Standard format - only KOMAScript uses paper=a4 - https://tex.stackexchange.com/a/61044/9075 - twoside, % we are optimizing for both screen and two-side printing. So the page numbers will jump, but the content is configured to stay in the middle (by using the geometry package) - bibliography=totoc, - % idxtotoc, %Index ins Inhaltsverzeichnis - % liststotoc, %List of X ins Inhaltsverzeichnis, mit liststotocnumbered werden die Abbildungsverzeichnisse nummeriert - headsepline, - cleardoublepage=empty, - parskip=half, - % draft % um zu sehen, wo noch nachgebessert werden muss - wichtig, da Bindungskorrektur mit drin - draft=false -]{scrbook} -\input{config} - -% Packages required for title page of Paderborn University -\usepackage{tikz} -\usepackage{eso-pic} -\usepackage{textpos} - -\usepackage[ - title={Is Oil the future?}, - author={Lars K.}, - type={Bachelor Thesis}, - institute={ - Database and Information Systems\\ - Paderborn University\\ - Warburger Str.~100\\ - 33098 Paderborn - }, - course={Informatik}, - examiner={Prof.\ Dr.\ Gregor Engels}, - supervisor={Dipl.-Inf.\ Roman Tiker,\\Dipl.-Inf.\ Laura Stern,\\Otto Normalverbraucher,\ M.Sc.}, - startdate={July 5, 2018}, - enddate={January 5, 2019} -]{scientific-thesis-cover} - -\input{acronyms} - -\makeindex - -\begin{document} - -%tex4ht-Konvertierung verschönern -\iftex4ht - % tell tex4ht to create picures also for formulas starting with '$' - % WARNING: a tex4ht run now takes forever! - \Configure{$}{\PicMath}{\EndPicMath}{} - %$ % <- syntax highlighting fix for emacs - \Css{body {text-align:justify;}} - - %conversion of .pdf to .png - \Configure{graphics*} - {pdf} - {\Needs{"convert \csname Gin@base\endcsname.pdf - \csname Gin@base\endcsname.png"}% - \Picture[pict]{\csname Gin@base\endcsname.png}% - } -\fi - -%\VerbatimFootnotes %verbatim text in Fußnoten erlauben. Geht normalerweise nicht. - -\input{commands} -\pagenumbering{arabic} - -\input{paderborn-title} - -\Titelblatt - -%Eigener Seitenstil fuer die Kurzfassung und das Inhaltsverzeichnis -\deftripstyle{preamble}{}{}{}{}{}{\pagemark} -%Doku zu deftripstyle: scrguide.pdf -\pagestyle{preamble} -\renewcommand*{\chapterpagestyle}{preamble} - - - -%Kurzfassung / abstract -%auch im Stil vom Inhaltsverzeichnis -\ifdeutsch - \section*{Kurzfassung} -\else - \section*{Abstract} -\fi - -... Short summary of the thesis ... - -\cleardoublepage - - -% BEGIN: Verzeichnisse - -\iftex4ht -\else - \microtypesetup{protrusion=false} -\fi - -%%% -% Literaturverzeichnis ins TOC mit aufnehmen, aber nur wenn nichts anderes mehr hilft! -% \addcontentsline{toc}{chapter}{Literaturverzeichnis} -% -% oder zB -%\addcontentsline{toc}{section}{Abkürzungsverzeichnis} -% -%%% - -%Produce table of contents -% -%In case you have trouble with headings reaching into the page numbers, enable the following three lines. -%Hint by http://golatex.de/inhaltsverzeichnis-schreibt-ueber-rand-t3106.html -% -%\makeatletter -%\renewcommand{\@pnumwidth}{2em} -%\makeatother -% -\tableofcontents - -% Bei einem ungünstigen Seitenumbruch im Inhaltsverzeichnis, kann dieser mit -% \addtocontents{toc}{\protect\newpage} -% an der passenden Stelle im Fließtext erzwungen werden. - -\listoffigures -\listoftables - -%Wird nur bei Verwendung von der lstlisting-Umgebung mit dem "caption"-Parameter benoetigt -%\lstlistoflistings -%ansonsten: -\ifdeutsch - \listof{Listing}{Verzeichnis der Listings} -\else - \listof{Listing}{List of Listings} -\fi - -%mittels \newfloat wurde die Algorithmus-Gleitumgebung definiert. -%Mit folgendem Befehl werden alle floats dieses Typs ausgegeben -\ifdeutsch - \listof{Algorithmus}{Verzeichnis der Algorithmen} -\else - \listof{Algorithmus}{List of Algorithms} -\fi -%\listofalgorithms %Ist nur für Algorithmen, die mittels \begin{algorithm} umschlossen werden, nötig - -% Abkürzungsverzeichnis -\printnoidxglossaries - -\iftex4ht -\else - %Optischen Randausgleich und Grauwertkorrektur wieder aktivieren - \microtypesetup{protrusion=true} -\fi - -% END: Verzeichnisse - - -% Headline and footline -\renewcommand*{\chapterpagestyle}{scrplain} -\pagestyle{scrheadings} -\pagestyle{scrheadings} -\ihead[]{} -\chead[]{} -\ohead[]{\headmark} -\cfoot[]{} -\ofoot[\usekomafont{pagenumber}\thepage]{\usekomafont{pagenumber}\thepage} -\ifoot[]{} - - -%% vv scroll down for content vv %% - - - - - - - - - - - - - - - - - - - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% -% Main content starts here -% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - - -\chapter{Introduction} - -This thesis tarts with \cref{chap:k2}. - - -\chapter{Chapter Two} -\label{chap:k2} - -\blinddocument - - -\chapter{Conclusion and Outlook} -\label{chap:zusfas} - -\section*{Outlook} - -\printbibliography - -All links were last followed on March 17, 2018. - -\appendix -\input{latexhints-english} - -\pagestyle{empty} -\renewcommand*{\chapterpagestyle}{empty} -\Versicherung -\end{document} diff --git a/main-paderborn-german.tex b/main-paderborn-german.tex deleted file mode 100644 index 0a10b08c..00000000 --- a/main-paderborn-german.tex +++ /dev/null @@ -1,252 +0,0 @@ -% !TeX spellcheck = de-DE -% !TeX encoding = utf8 -% !TeX program = lualatex -% !BIB program = biber -% -*- coding:utf-8 mod:LaTeX -*- - - -% vv scroll down to line 200 for content vv - - -\let\ifdeutsch\iftrue -\let\ifenglisch\iffalse -\input{pre-documentclass} -\documentclass[ - ngerman, - % fontsize=11pt is the standard - a4paper, % Standard format - only KOMAScript uses paper=a4 - https://tex.stackexchange.com/a/61044/9075 - twoside, % we are optimizing for both screen and two-side printing. So the page numbers will jump, but the content is configured to stay in the middle (by using the geometry package) - bibliography=totoc, - % idxtotoc, %Index ins Inhaltsverzeichnis - % liststotoc, %List of X ins Inhaltsverzeichnis, mit liststotocnumbered werden die Abbildungsverzeichnisse nummeriert - headsepline, - cleardoublepage=empty, - parskip=half, - % draft % um zu sehen, wo noch nachgebessert werden muss - wichtig, da Bindungskorrektur mit drin - draft=false -]{scrbook} -\input{config} - -% Packages required for title page of Paderborn University -\usepackage{tikz} -\usepackage{eso-pic} -\usepackage{textpos} - -\usepackage[ - title={Ist Öl die Zukunft?}, - author={Lars K.}, - type={Bachelorarbeit}, - institute={ - Database and Information Systems\\ - Universität Paderborn\\ - Warburger Str.~100\\ - 33098 Paderborn - }, - course={Informatik}, - examiner={Prof.\ Dr.\ Gregor Engels}, - supervisor={Dipl.-Inf.\ Roman Tiker,\\Dipl.-Inf.\ Laura Stern,\\Otto Normalverbraucher,\ M.Sc.}, - startdate={July 5, 2018}, - enddate={January 5, 2019} -]{scientific-thesis-cover} - -\input{acronyms} - -\makeindex - -\begin{document} - -%tex4ht-Konvertierung verschönern -\iftex4ht - % tell tex4ht to create picures also for formulas starting with '$' - % WARNING: a tex4ht run now takes forever! - \Configure{$}{\PicMath}{\EndPicMath}{} - %$ % <- syntax highlighting fix for emacs - \Css{body {text-align:justify;}} - - %conversion of .pdf to .png - \Configure{graphics*} - {pdf} - {\Needs{"convert \csname Gin@base\endcsname.pdf - \csname Gin@base\endcsname.png"}% - \Picture[pict]{\csname Gin@base\endcsname.png}% - } -\fi - -%\VerbatimFootnotes %verbatim text in Fußnoten erlauben. Geht normalerweise nicht. - -\input{commands} -\pagenumbering{arabic} - -\input{paderborn-title} - -\Titelblatt - -%Eigener Seitenstil fuer die Kurzfassung und das Inhaltsverzeichnis -\deftripstyle{preamble}{}{}{}{}{}{\pagemark} -%Doku zu deftripstyle: scrguide.pdf -\pagestyle{preamble} -\renewcommand*{\chapterpagestyle}{preamble} - - - -%Kurzfassung / abstract -%auch im Stil vom Inhaltsverzeichnis -\ifdeutsch - \section*{Kurzfassung} -\else - \section*{Abstract} -\fi - -... Short summary of the thesis ... - -\cleardoublepage - - -% BEGIN: Verzeichnisse - -\iftex4ht -\else - \microtypesetup{protrusion=false} -\fi - -%%% -% Literaturverzeichnis ins TOC mit aufnehmen, aber nur wenn nichts anderes mehr hilft! -% \addcontentsline{toc}{chapter}{Literaturverzeichnis} -% -% oder zB -%\addcontentsline{toc}{section}{Abkürzungsverzeichnis} -% -%%% - -%Produce table of contents -% -%In case you have trouble with headings reaching into the page numbers, enable the following three lines. -%Hint by http://golatex.de/inhaltsverzeichnis-schreibt-ueber-rand-t3106.html -% -%\makeatletter -%\renewcommand{\@pnumwidth}{2em} -%\makeatother -% -\tableofcontents - -% Bei einem ungünstigen Seitenumbruch im Inhaltsverzeichnis, kann dieser mit -% \addtocontents{toc}{\protect\newpage} -% an der passenden Stelle im Fließtext erzwungen werden. - -\listoffigures -\listoftables - -%Wird nur bei Verwendung von der lstlisting-Umgebung mit dem "caption"-Parameter benoetigt -%\lstlistoflistings -%ansonsten: -\ifdeutsch - \listof{Listing}{Verzeichnis der Listings} -\else - \listof{Listing}{List of Listings} -\fi - -%mittels \newfloat wurde die Algorithmus-Gleitumgebung definiert. -%Mit folgendem Befehl werden alle floats dieses Typs ausgegeben -\ifdeutsch - \listof{Algorithmus}{Verzeichnis der Algorithmen} -\else - \listof{Algorithmus}{List of Algorithms} -\fi -%\listofalgorithms %Ist nur für Algorithmen, die mittels \begin{algorithm} umschlossen werden, nötig - -% Abkürzungsverzeichnis -\printnoidxglossaries - -\iftex4ht -\else - %Optischen Randausgleich und Grauwertkorrektur wieder aktivieren - \microtypesetup{protrusion=true} -\fi - -% END: Verzeichnisse - - -% Headline and footline -\renewcommand*{\chapterpagestyle}{scrplain} -\pagestyle{scrheadings} -\pagestyle{scrheadings} -\ihead[]{} -\chead[]{} -\ohead[]{\headmark} -\cfoot[]{} -\ofoot[\usekomafont{pagenumber}\thepage]{\usekomafont{pagenumber}\thepage} -\ifoot[]{} - - -%% vv scroll down for content vv %% - - - - - - - - - - - - - - - - - - - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% -% Main content starts here -% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - - -\chapter{Einleitung} -In diesem Kapitel steht die Einleitung zu dieser Arbeit. -Sie soll nur als Beispiel dienen und hat nichts mit dem Buch \cite{WSPA} zu tun. -Nun viel Erfolg bei der Arbeit! - -Bei \LaTeX\ werden Absätze durch freie Zeilen angegeben. -Da die Arbeit über ein Versionskontrollsystem versioniert wird, ist es sinnvoll, pro \emph{Satz} eine neue Zeile im \texttt{.tex}-Dokument anzufangen. -So kann einfacher ein Vergleich von Versionsständen vorgenommen werden. - -Die Arbeit ist in folgender Weise gegliedert: -In \cref{chap:k2} werden die Grundlagen dieser Arbeit beschrieben. -Schließlich fasst \cref{chap:zusfas} die Ergebnisse der Arbeit zusammen und stellt Anknüpfungspunkte vor. - - -\chapter{Kapitel zwei} -\label{chap:k2} - -Hier wird der Hauptteil stehen. Falls mehrere Kapitel gewünscht, entweder mehrmals \texttt{\textbackslash{}chapter} benutzen oder pro Kapitel eine eigene Datei anlegen und \texttt{ausarbeitung.tex} anpassen. - -LaTeX-Hinweise stehen in \cref{chap:latextipps}. - -%noch etwas Fülltext -\blinddocument - - -\chapter{Zusammenfassung und Ausblick}\label{chap:zusfas} -Hier bitte einen kurzen Durchgang durch die Arbeit. - -\section*{Ausblick} -...und anschließend einen Ausblick - -\printbibliography - -Alle URLs wurden zuletzt am 17.\,03.\,2018 geprüft. - -%\renewcommand{\appendixtocname}{Anhang} -%\renewcommand{\appendixname}{Anhang} -%\renewcommand{\appendixpagename}{Anhang} -\appendix -\input{latexhints-german} - -\pagestyle{empty} -\renewcommand*{\chapterpagestyle}{empty} -\Versicherung -\end{document} diff --git a/paderborn-title.tex b/paderborn-title.tex deleted file mode 100644 index cf0c1cdc..00000000 --- a/paderborn-title.tex +++ /dev/null @@ -1,78 +0,0 @@ -\thispagestyle{empty} - -%margin of the title text box -\newgeometry{left=1.5cm,right=1.5cm,top=12.6cm,bottom=1.5cm} - -\definecolor{pbblue}{RGB}{35,53,107} %\definecolor{pbblue}{spotcolor}{PATNONE281PC,1.0} -\definecolor{pbgray}{RGB}{213,212,208} %\definecolor{pbgray}{spotcolor}{PATNONE420PC,1.0} - -\begin{tikzpicture}[remember picture, overlay] -% for hints on absolute positioning see https://tex.stackexchange.com/a/6821/9075 - - % blue box - \node[yshift=5mm] at (current page.south west) - {\begin{tikzpicture}[remember picture, overlay] - \fill[fill=pbblue] (5mm,0) rectangle (\paperwidth-5mm,10.2cm); - \end{tikzpicture} - }; - - % gray box - inner part - \node[yshift=10.6cm] at (current page.south west) - {\begin{tikzpicture}[remember picture, overlay] - \draw[color=pbgray!80!black,fill=pbgray!80!black] (5mm,0) rectangle (\paperwidth-5mm,6cm); - \end{tikzpicture} - }; - % gray box - outer part - \node[yshift=10.6cm] at (current page.south west) - {\begin{tikzpicture}[remember picture, overlay] - \draw[color=pbgray,fill=pbgray] (0,0) rectangle (5mm,6cm); - \draw[color=pbgray,fill=pbgray] (\paperwidth-5mm,0) rectangle (\paperwidth,6cm); - \end{tikzpicture} - }; - - % strange white box - top - \node[yshift=-3.5cm] at (current page.north west) - {\begin{tikzpicture}[remember picture, overlay] - \fill[fill=white] (13cm,0) rectangle (19.5cm,.5cm); - \end{tikzpicture} - }; - % strange white box - bottom - \node[yshift=0cm] at (current page.south west) - {\begin{tikzpicture}[remember picture, overlay] - \fill[fill=white] (13cm,0) rectangle (19.5cm,.9cm); - \end{tikzpicture} - }; -\end{tikzpicture} - -% University logo -\AddToShipoutPictureBG*{% - \AtPageUpperLeft{% - \put(\LenToUnit{13cm},\LenToUnit{-2.5cm}){% - \includegraphics[scale=.337]{logos/UPB_LOGO_GB_RGB_15.pdf} - }% - } -} - -% Background picture -\AddToShipoutPictureBG*{% - \AtPageUpperLeft{% - \put(\LenToUnit{.5cm},\LenToUnit{-13.1cm}){% - %20x10cm - \includegraphics{logos/UBP-background-picture.pdf} - }% - } -} - -\makeatletter -\noindent -{\vspace{-.1cm}\LARGE\textsf{\textcolor{white}{\MakeUppercase{\@labelType}}}\par}\bigskip - -\noindent -{\Huge\textsf{\textbf{\textcolor{pbblue}{\MakeUppercase{\MCS@title}}}}\par}\smallskip - -\noindent -{\LARGE\textsf{\textcolor{white}{\MakeUppercase{\MCS@author}}}} -\makeatother - -\restoregeometry -\clearpage