University of Stuttgart ISW student thesis (iswthesis)
The ISW's template for bachelor's, master's and study theses and exposés at the University of Stuttgart: a scrbook document with the iswthesis style (title page, declaration of originality, TeX Gyre fonts, biblatex), in English with German front matter options, and a sample covering figures, TikZ/pgfplots plots, tables and acronyms.
- Category
- Thesis
- Document class
scrbook(scrbook.cls) — ships with TeX Live- Workflow
- Thesis / dissertation — submissions and revision rounds
- Author
- University of Stuttgart, Institute for Control Engineering of Machine Tools and Manufacturing Units (ISW)
- Source
- University of Stuttgart, Institute for Control Engineering of Machine Tools and Manufacturing Units (ISW)
- Licence
- scrbook.cls: LaTeX Project Public License (installed with TeX). The sample text is University of Stuttgart, Institute for Control Engineering of Machine Tools and Manufacturing Units (ISW)'s, provided for authors preparing a submission.
These are the publisher’s own files. This project starts from University of Stuttgart, Institute for Control Engineering of Machine Tools and Manufacturing Units (ISW)’s package for this publication — their manuscript, their scrbook.cls, their bibliography style — so what compiles here is what they would have given you.
University of Stuttgart, Institute for Control Engineering of Machine Tools and Manufacturing Units (ISW) serves this exact file to University of Stuttgart. Check University of Stuttgart, Institute for Control Engineering of Machine Tools and Manufacturing Units (ISW)’s author pages for the current instructions.
Where this differs from the publisher’s download.
- Changed: chapters/Tooling.tex: the subsection about another online editor removed; the other tooling sections are unchanged (amend-r5.mjs)..
What you get
Name_Exposee.tex· 5 KBName_Thema.tex— the file that is compiled · 2 KBName_Thema_min.tex· 2 KBbibliography.bib· 4 KBchapters/Abstract.tex· 520 Bchapters/Acronyms.tex· 678 Bchapters/Examples.tex· 8 KBchapters/Introduction.tex· 856 Bchapters/Symbols.tex· 1 KBchapters/Tooling.tex· 3 KBexample_figures/BlockDiagram.tex· 564 Bexample_figures/PhasorDiagramAnalytical.tex· 4 KBexample_figures/matlab_plot1.tex· 40 KBexample_figures/matlab_plot2.tex· 13 KBexample_images/texstudio-languagetool-integration.png· 47 KBimages/logo-isw-uni-de-eps-converted-to.pdf· 44 KBimages/logo-isw-uni-de.eps· 1525 KBimages/logo-isw-uni-en-eps-converted-to.pdf· 26 KBimages/logo-isw-uni-en.eps· 1449 KBimages/logo-isw.pdf· 51 KBiswthesis.sty· 9 KBsettings.tex· 5 KB
These become your files. Editing them afterwards changes your project and nothing else — a project owns its files from the moment it is made.
Source
Name_Exposee.tex · 5 KB
% Beispiel für ein Projektexposé.
\documentclass[ a4paper,
toc=bibliography
]{scrartcl}
\usepackage{iswthesis}
% Path to .bib file for BibLatex
\addbibresource{bibliography.bib}
%% Einstellungen:
\usepackage[ngerman]{babel}
\usepackage{hyperref}
\usepackage[dvipsnames]{xcolor} % Farben mit Namen ansprechen
\usepackage{pgfplots} % Plot-Engine
\pgfplotsset{compat=newest}
\usepackage{pgfgantt} % Paket für Gantt-Diagramme
\author{Max Mustermann}
\title{Exposé: Name des Themas}
\date{\today}
\begin{document}
\maketitle
\section{Einleitung}
\subsection{Motivation}
Das Exposé dient dazu, die gestellte Aufgabe zu reflektieren und in eigenen Worten wiederzugeben.
Darüber hinaus soll der Stand der Technik recherchiert und analysiert werden. Basierend auf der gestellten Aufgabe und dem aus dem Stand der Technik abgeleiteten Handlungsbedarf soll eine Zeitplanung erstellt werden.
Die Gliederung dieses Dokuments gibt die Grobstruktur des Exposés vor. Jedoch gilt auch für das Exposé, dass die Kapitelüberschriften und deren Reihenfolge der jeweiligen Arbeit und dem entsprechenden Themengebiet angepasst werden müssen.
Das erste Kapitel (inkl. Unterkapitel) der Arbeit und dieses Exposé dienen dazu, folgende Fragen zu klären:
\begin{itemize}
\item In welchem Themengebiet bewegt sich die Arbeit?
\item Worin liegt das Problem? Warum muss überhaupt an dem Themengebiet gearbeitet werden?
\item Was ist meine Aufgabe? Was ist mein Beitrag zu der Lösung des Problems/der Fragestellung?
\item Was ist das Ziel der Aufgabe bzw. meiner Arbeit?
\item Wie ordnet sich das Ziel der Arbeit/die Lösung der Arbeit in die Lösung des Gesamtproblems ein?
\end{itemize}
Überlegen Sie sich eine sinnvolle Argumentationskette, die auf das Thema hinführt.
\subsection{Zielsetzung}
\subsection{Vorgehensweise}
Das hier gezeigte Beispielexposé bietet keine vollständige Vorlage für die finale Ausarbeitung. Es wird daher empfohlen, die relevanten Inhalte nach der Abgabe des Exposés in die \texttt{Name\_Thema.tex} Vorlage zu übertragen, welche auch besser strukturiert ist.
\section{Stand der Technik}
\section{Arbeitspaket- und Zeitplan}
\begin{figure*}[htbp]
\begin{center}
% Dokumentation ist unter http://mirrors.ctan.org/graphics/pgf/contrib/pgfgantt/pgfgantt.pdf einsehbar. Hier sind alle Einstellmöglichkeiten erklärt.
\begin{ganttchart}[vgrid,
y unit title = 0.7cm,
y unit chart = 0.5cm,
bar/.append style={fill=red!70},
bar incomplete/.append style={fill=black!30},
bar top shift =0.2,
bar height=.5,
group/.append style={draw=black,fill=NavyBlue!70},
group incomplete/.append style={draw=black, fill=black!50},
group left shift=0,
group right shift=0,
group height=.7,
group peaks height = 0,
milestone height = 0.7,
milestone/.append style={fill=orange},
progress=today,
progress label text={\pgfmathprintnumber[verbatim,precision=0]{#1}\% abgeschlossen}, % Anzeige des Fortschritts auf deutsch (statt "completed")
today = 4, % wenn today gesetzt ist wird eine Linie mit dem aktuellen Stand angezeigt.
today label=HEUTE, % Label des aktuellen Standes/Datums deutsch (statt "TODAY")
]{1}{30} % Zeitraum einstellen, von wann bis wann
\gantttitle{2024}{10} \gantttitle{2025}{20} \\ % wie viele Kalenderwochen in welchem Jahr
\gantttitlelist{43,...,52}{1} \gantttitlelist{1,...,20}{1} \\ % kalenderwochen durchnummerieren.
%% Hier beginnt der Inhalt der Gantt-Diagramms
\ganttgroup{Paket 1}{1}{12} \\ % Task {von}{bis} als Wochennummern
\ganttbar{Aufgabe 1}{1}{8} \\ % Subtask
\ganttlinkedbar{Aufgabe 2}{9}{12} \\ %Subtask verbunden mit letzter Aufgabe
%\ganttmilestone{Milestone}{12} \\ % Meilenstein
\ganttbar{Aufgabe 3}{13}{20}
\\ \ganttnewline[thick, black] % Trennlinien
\end{ganttchart}
\end{center}
\caption{Gantt-Diagramm des geplanten Arbeitsablaufs.}\label{fig:Gantt-chart-2}
\end{figure*}
Beschreibung des Arbeitsplans in \autoref{fig:Gantt-chart-2} \ldots
% ********************************************************************
% End of contents
% ********************************************************************
\cleardoublepage
\printbibliography
\end{document}
Name_Thema.tex — the file that is compiled · 2 KB
% !TeX document-id = {af34fc55-a85d-4a03-a739-53acda67b3be}
% !TeX TXS-program:bibliography = txs:///biber
% !TeX TXS-program:compile = txs:///lualatex
% !TEX spellcheck = de-DE
\documentclass[ a4paper,
oneside,
toc=bibliography,
toc=listof
]{scrbook}
\input{settings}
% Path to .bib file for BibLatex
\addbibresource{bibliography.bib}
% \addbibresource{someOtherBibFile}
\author{Max Mustermann}
\placeOfBirth{Stuttgart}
\address{Seidenstraße 36, 70174 Stuttgart}
\major{Mechatronics}
\title{Your paper}
\titleTranslated{Wie man einen Hamster trainiert}
\matrnr{1234567}
%\signature{example-image-a} % path to your scanned signature as image for declaration of originality
\date{\today}
\supervisor{My supervisor, M.Sc.}
\professor{Prof. Dr.-Ing. Oliver Riedel}
\begin{document}
\frontmatter
\makeISWtitle
\cleardoublepage
\setcounter{page}{1} % start at page (i) after title page
\declarationOfOriginality
% Kurzfassung/Abstract
\input{chapters/Abstract}
\cleardoublepage
\currentpdfbookmark{\contentsname}{Inhalt}
\tableofcontents
\mainmatter
% ********************************************************************
% Write your own contents here:
% ********************************************************************
% TODO: remove this \nocite{*} command. This is only to demonstrate the bibliography
\nocite{*}
\input{chapters/Introduction}
\input{chapters/Examples}
\input{chapters/Tooling}
\chapter{Conclusions}
% ********************************************************************
% End of contents
% ********************************************************************
\cleardoublepage
\printbibliography
\cleardoublepage
\input{chapters/Acronyms}
\cleardoublepage
\listoffigures
\cleardoublepage
\listoftables
\input{chapters/Symbols}
% Appendix, if needed:
\appendix
\chapter{Example appendix chapter}
\end{document}Name_Thema_min.tex · 2 KB
% !TeX document-id = {008d0029-6c34-4f4b-a204-0fb17c16c7bb}
% !TeX TXS-program:bibliography = txs:///biber
% !TeX TXS-program:compile = txs:///lualatex
% !TEX spellcheck = de-DE
\documentclass[ a4paper,
oneside,
toc=bibliography,
toc=listof
]{scrbook}
%\usepackage[ngerman, english]{babel} % If the thesis is in English
\usepackage[english, ngerman]{babel} % If the thesis is in German
% This class does the ISW styling for you (together with scrbook).
%
% It handles the following:
% - Proper input and font encoding (Just type, don't care about the LaTeX compiler you use or how to type German umlauts)
% - Fonts with ligatures and kerning (Tex Gyre fonts are used, part of every LaTeX installation, text is nice to read)
% - Bibliography styling for biblatex (declare your bibliography file and you are ready to go)
% - Provide command for title page (\makeISWtitle) and declaration of originality ( \declarationOfOriginality)
% - Loads packages "biblatex" and "graphics"
\usepackage[
type=FA, % BA, MA, FA, SA (old), bachelorproject
]{iswthesis}
%Path to .bib-File(s) for BibLatex
\addbibresource{bibliography.bib}
% \addbibresource{someOtherBibFile}
\author{Max Mustermann}
\placeOfBirth{Stuttgart}
\address{Seidenstraße 36, 70174 Stuttgart}
\major{Mechatronik}
\title{How to train a hamster}
\titleTranslated{Wie man einen Hamster trainiert}
\matrnr{1234567}
%\signature{example-image-a} % path to your scanned signature as image for declaration of originality
\date{\today}
\supervisor{My supervisor, M.Sc.}
\professor{Prof. Dr.-Ing. Oliver Riedel}
\begin{document}
\frontmatter
\makeISWtitle
\cleardoublepage
\setcounter{page}{1} % start at page (i) after title page
\declarationOfOriginality
% Kurzfassung/Abstract
\cleardoublepage
\tableofcontents
\mainmatter
% ********************************************************************
% Write your own contents here:
% ********************************************************************
% ********************************************************************
% End of contents
% ********************************************************************
\backmatter
\cleardoublepage
\printbibliography
\cleardoublepage
\listoffigures
\cleardoublepage
\listoftables
\cleardoublepage
% Acronyms
% Appendix, if needed:
\end{document}
bibliography.bib · 4 KB
% This sample bib file is taken from the "Dissertation-Template-KIT", licensed under MIT license, (c) 2019 Grinberg, Michael
%
% Source:
% https://gitlab-ext.iosb.fraunhofer.de/grinbe/Dissertation-Template-KIT/raw/5257bda3baf14443b4977ab674f9b4c3296407e2/bib/example.bib
%
% Permission is hereby granted, free of charge, to any person obtaining a copy
of this template and associated documentation files (the "Template"), to deal
in the Template without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Template, and to permit persons to whom the Template is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Template.
THE TEMPLATE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE TEMPLATE OR THE USE OR OTHER DEALINGS IN THE
TEMPLATE.
%
%
%
% This file was created with JabRef 2.10.
% Encoding: UTF8
@manual{Kohm2013,
title = {KOMA-Script -- ein wandelbares LaTeX-2-Paket},
author = {Markus Kohm and Jens-Uwe Morawski},
year = {2013},
url = {http://mirrors.ctan.org/macros/latex/contrib/koma-script/doc/scrguide.pdf},
langid = {ngerman}
}
@manual{Cubitt2013,
title = {The cleveref package},
author = {Toby Cubitt},
year = {2013},
url = {http://mirrors.ctan.org/macros/latex/contrib/cleveref/cleveref.pdf},
langid = {american}
}
@manual{Fear2005,
title = {Publication quality tables in LaTeX},
author = {Simon Fear},
year = {2005},
url = {http://mirrors.ctan.org/macros/latex/contrib/booktabs/booktabs.pdf},
langid = {american}
}
@manual{Cochran2005,
title = {The Subfig Package},
author = {Steven Cochran and Vafa Karen-Pahlav},
year = {2005},
url = {http://mirrors.ctan.org/macros/latex/contrib/subfig/subfig.pdf},
langid = {american}
}
@manual{Hoffmann2014,
title = {The Listings Package},
author = {Carsten Heinz and Brooks Moses and Jobst Hoffmann},
year = {2014},
url = {http://mirrors.ctan.org/macros/latex/contrib/listings/listings.pdf},
langid = {american}
}
@manual{Sommerfeldt2004,
title = {The rotfloat package},
author = {Axel Sommerfeldt},
year = {2004},
url = {http://mirrors.ctan.org/macros/latex/contrib/rotfloat/rotfloat.pdf},
langid = {american}
}
@manual{Tantau2013,
title = {TikZ \& PGF},
author = {Till Tantau},
year = {2013},
url = {http://mirrors.ctan.org/graphics/pgf/base/doc/pgfmanual.pdf},
langid = {american}
}
@manual{Feuersaenger2014,
title = {Manual for Package pgfplots},
author = {Christian Feuersänger},
year = {2014},
url = {http://mirrors.ctan.org/graphics/pgf/contrib/pgfplots/doc/pgfplots.pdf},
langid = {american}
}
@manual{Lehman2013,
title = {The biblatex Package},
author = {Philipp Lehman and Philip Kime and Audrey Boruvka and Joseph Wright},
year = {2013},
url = {http://mirrors.ctan.org/macros/latex/contrib/biblatex/doc/biblatex.pdf},
langid = {american}
}
@manual{May2011,
title = {An Extension of the LaTeX-Theorem Environment},
author = {Wolfgang May and Andreas Schedler},
year = {2011},
url = {http://mirrors.ctan.org/macros/latex/contrib/ntheorem/ntheorem.pdf},
langid = {american}
}
@manual{ams1999a,
title = {User’s Guide for the amsmath Package},
author = {{American Mathematical Society}},
year = {1999},
url = {http://mirrors.ctan.org/macros/latex/required/amslatex/math/amsldoc.pdf},
langid = {american}
}
@manual{ams1999b,
title = {Sample Paper for the amsmath Package},
author = {{American Mathematical Society}},
year = {1999},
url = {http://mirrors.ctan.org/macros/latex/required/amslatex/math/testmath.pdf},
langid = {american}
}
@manual{talbot2014,
title = {User Manual for glossaries.sty v4.09},
author = {Nicola Talbot},
year = {2014},
url = {http://mirrors.ctan.org/macros/latex/contrib/glossaries/glossaries-user.pdf},
langid = {american}
}chapters/Abstract.tex · 520 B
\cleardoublepage
% Start with German abstracrt
\begin{otherlanguage}{ngerman}
\chapter*{Kurzfassung}
\addcontentsline{toc}{chapter}{Kurzfassung}
Deutsche Kurzfassung hier.
\vfill
\noindent\textbf{Stichwörter:} Hamster, Training, Anleitung
\vfill
\end{otherlanguage}
% Then continue with the english one.
\begin{otherlanguage}{english}
\chapter*{Abstract}
\addcontentsline{toc}{chapter}{Abstract}
Add the english abstract here.
\vfill
\noindent\textbf{Keywords:} hamster, training, guide
\vfill
\end{otherlanguage}
chapters/Acronyms.tex · 678 B
\addchap{List of Acronyms} % Abkürzungsverzeichnis
\begin{acronym}[SPS] % longest acronym in [...] for spacing
% \acro{short}{long}
% \acroextra{...} wird nur im Abkürzungsverzeichnis ausgegeben.
\acro{ISW}{Institut für Steuerungstechnik der Werkzeugmaschinen und Fertigungseinrichtungen \acroextra{der Universität Stuttgart}}
\acro{SPS}{Speicherprogrammierbare Steuerung}
% acrodefplural, wenn eine Pluralform benötigt wird (Standard: angehängtes "s" aus dem Englischen)
% \acrodefplural{acroKey}[plural short]{plural long}
\acrodefplural{SPS}[SPS]{Speicherprogrammierbare Steuerungen}
\acro{NDA}{Non-Disclosure Agreement}
\end{acronym}chapters/Examples.tex · 8 KB
\chapter{Examples}
In the following some examples for the conversion in \LaTeX{} are listed. For formal requirements, please have a look at the guidelines for the preparation of student theses at the \ac{ISW}.
\section{Listings}
An introduction for list environments with \LaTeX{} can be found at \url{https://en.wikibooks.org/wiki/LaTeX/List_Structures}.
An unordered enumeration can look like this:
\begin{itemize}
\item Fusce tincidunt consectetur nisl a pretium. Nam sed eleifend nunc. Nulla feugiat nisl ac mauris varius, eu viverra tellus condimentum. Nullam tempus dolor a elementum con-vallis. Nam sagittis, nisi non tempor luctus, enim ex pretium nunc, lacinia suscipit arcu augue id sem.
\item Fusce tincidunt consectetur nisl a pretium. Nam sed eleifend nunc. Nulla feugiat nisl ac mauris varius, eu viverra tellus condimentum. Nullam tempus dolor a elementum con-vallis. Nam sagittis, nisi non tempor luctus, enim ex pretium nunc, lacinia suscipit arcu augue id sem.
\item Fusce tincidunt consectetur nisl a pretium. Nam sed eleifend nunc. Nulla feugiat nisl ac mauris varius, eu viverra tellus condimentum. Nullam tempus dolor a elementum con-vallis. Nam sagittis, nisi non tempor luctus, enim ex pretium nunc, lacinia suscipit arcu augue id sem.
\end{itemize}
Use the \texttt{enumerate} environment for ordered lists.
\begin{enumerate}
\item Fusce tincidunt consectetur nisl a pretium. Nam sed eleifend nunc. Nulla feugiat nisl ac mauris varius, eu viverra tellus condimentum. Nullam tempus dolor a elementum con-vallis. Nam sagittis, nisi non tempor luctus, enim ex pretium nunc, lacinia suscipit arcu augue id sem.
\item Fusce tincidunt consectetur nisl a pretium. Nam sed eleifend nunc. Nulla feugiat nisl ac mauris varius, eu viverra tellus condimentum. Nullam tempus dolor a elementum con-vallis. Nam sagittis, nisi non tempor luctus, enim ex pretium nunc, lacinia suscipit arcu augue id sem.
\item Fusce tincidunt consectetur nisl a pretium. Nam sed eleifend nunc. Nulla feugiat nisl ac mauris varius, eu viverra tellus condimentum. Nullam tempus dolor a elementum con-vallis. Nam sagittis, nisi non tempor luctus, enim ex pretium nunc, lacinia suscipit arcu augue id sem.
\end{enumerate}
Descriptions are set with the \texttt{description} environment.
\begin{description}
\item[Mosquito] Fusce tincidunt consectetur nisl a pretium. Nam sed eleifend nunc. Nulla feugiat nisl ac mauris varius, eu viverra tellus condimentum. Nullam tempus dolor a elementum con-vallis. Nam sagittis, nisi non tempor luctus, enim ex pretium nunc, lacinia suscipit arcu augue id sem.
\item[Emu] Fusce tincidunt consectetur nisl a pretium. Nam sed eleifend nunc. Nulla feugiat nisl ac mauris varius, eu viverra tellus condimentum. Nullam tempus dolor a elementum con-vallis. Nam sagittis, nisi non tempor luctus, enim ex pretium nunc, lacinia suscipit arcu augue id sem.
\item[Armadillo] Fusce tincidunt consectetur nisl a pretium. Nam sed eleifend nunc. Nulla feugiat nisl ac mauris varius, eu viverra tellus condimentum. Nullam tempus dolor a elementum con-vallis. Nam sagittis, nisi non tempor luctus, enim ex pretium nunc, lacinia suscipit arcu augue id sem.
\end{description}
\section{Cite}
Cite with the \texttt{\textbackslash cite\{\}} command \cite{Cochran2005,Cubitt2013}.
You can mention authors and titles as well with \texttt{\textbackslash citeauthor\{\}} and \texttt{\textbackslash citetitle\{\}}: E.g., \citeauthor{Feuersaenger2014} developed \texttt{pgfplots} and describes it in the documentation \textit{\citetitle{Feuersaenger2014}}.
Use tools for literature management as JabRef or Citavi.
\section{Typing math}
An introduction for typing math with \LaTeX{} can be found at \url{https://de.wikibooks.org/wiki/LaTeX-Kompendium:_F%C3%BCr_Mathematiker}.
The Wikipedia page for typesetting math is worth a visit as well (\url{https://de.wikipedia.org/wiki/Formelsatz}).
You can use \texttt{\textbackslash( \ldots \textbackslash)} to typeset fomulas in text e.g., \(\sqrt{\alpha^2}\)) or \( \bmat{a & b & c}^\T \) (\texttt{\textbackslash bmat} and \texttt{\textbackslash T} are self-defined macros from \texttt{settings.tex}).
Multiline math environments can e.g. be set with the \texttt{align} environment. A \& character helps with the vertical alignment.
\begin{align}
c^2 &= a^2 + b^2 \nonumber \\
\Leftrightarrow \quad c &= \pm \sqrt{a^2 + b^2} \label{eq:pythagoras_solution}
\end{align}
Only number equations that will be referenced later, such as \autoref{eq:pythagoras_solution}.
\texttt{\textbackslash nonumber} suppresses the generation of an equation number.
\section{Tables}
Tasbles are set in a \texttt{table} environment, as shown in \autoref{tab:animalPrices}.
They must always be referenced and explained in the previous text.
The package \href{https://ctan.kako-dev.de/macros/latex/contrib/booktabs/booktabs.pdf}{\texttt{booktabs}} faciliates the consistent use of horizontal line strenghts.
\begin{table}[htb]
\centering
\begin{tabular}{@{}llr@{}} \toprule
\multicolumn{2}{c}{Article} \\ \cmidrule(r){1-2}
Animal & Description & Price (€) \\ \midrule
Mosquito & per gramm & 13.65 \\
& per piece & 0.01 \\
Gnu & stuffed & 92.50 \\
Emu & stuffed & 33.33 \\
Armadillo& frozen & 8.99 \\ \bottomrule
\end{tabular}
\caption{Example table using the booktabs package}
\label{tab:animalPrices}
\end{table}
\section{Graphics}
Simple graphics can be integrated with \texttt{\textbackslash includegraphics}. Always use a \texttt{figure} environment for graphics. Reference graphics before they appear in the text, such as \autoref{fig:ustutt_logo}, and assign meaningful captions to them.
\begin{figure}[htb]
\centering
\includegraphics[width=0.5\textwidth]{images/logo-isw-uni-de.eps}
\caption{The logo of the \ac{ISW} at the University of Stuttgart}
\label{fig:ustutt_logo}
\end{figure}
Some graphics with TikZ and PGFplots are shown on \autoref{fig:blockDiagram}, \autoref{fig:timeseries_states}, \autoref{fig:timeseries_input} and \autoref{fig:phasenplot} which might be helpful or inspirational for your thesis.
\begin{figure}[htbp]
\centering
\input{example_figures/BlockDiagram}
\caption{A simple block diagram}
\label{fig:blockDiagram}
\end{figure}
\begin{figure}[htbp]
\centering
\begin{subfigure}[b]{0.95\textwidth}
\input{example_figures/matlab_plot1.tex}
\caption{States plotted over time}
\label{fig:timeseries_states}
\end{subfigure}
\begin{subfigure}[b]{0.95\textwidth}
\input{example_figures/matlab_plot2.tex}
\caption{Input \(u(\cdot)\) plotted over time}
\label{fig:timeseries_input}
\end{subfigure}
\caption{Example for exports from MATLAB with \texttt{matlab2tikz}}
\label{fig:timeseries}
\end{figure}
\begin{figure}[htbp]
\centering
\input{example_figures/PhasorDiagramAnalytical}
\caption{Analytical calculation of a phasor diagram with TikZ \cite{Tantau2013}}
\label{fig:phasenplot}
\end{figure}
% all floats are printed before this barrier. Use it rarely as it *may* mess with the page layout.
\FloatBarrier
\section{Code}
The \texttt{listings} package, for example, is suitable for code excerpts.
Make sure that you only include necessary code, \autoref{lst:bad_code_example} is a bad example and should not be included.
\begin{lstlisting}[language=C++, caption={This code does not provide any insights and should not be included.}, label={lst:bad_code_example}]
#include <iostream>
using namespace std;
int main(void){
cout << "Hello world." << endl;
return 0;
}
\end{lstlisting}
\section{Abbreviations}
For abbreviations you can use the package \texttt{acronym}.
The command \texttt{\textbackslash ac\{\}} introduces the abbreviation at the first use, for example \ac{ISW} and several \acp{SPS}. Then the abbreviations \ac{ISW} and \acp{SPS} will be used automatically. The definition of the abbreviations can be done in a separate file, the example document includes \texttt{chapters/Acronyms}.
We recommend resetting the acronym package after the abstract with \texttt{\textbackslash acreset}, so they will be reintroduced in the introduction chapter.
% This command is only for filling the bibliography in this example and must not be used in your thesis.
\nocite{*}chapters/Introduction.tex · 856 B
\chapter{Introduction}
The aim of student theses is to show that students are able to work on tasks from their own field independently and according to scientific methods and that they can present their results appropriately.
These objectives, defined in the examination regulations, raise a number of questions:
\begin{itemize}
\item What does ``working according to scientific methods'' actually mean?
\item What belongs to the proper presentation of results?
\item Which standards and guidelines apply at the \ac{ISW}?
\item What is to be considered in general when writing student theses at the \ac{ISW}?
\end{itemize}
Read the guidelines for the preparation of student theses at \ac{ISW}! The chapters used in this template are for inspiration only. Each thesis is different and the chapter headings and their order should be adapted accordingly.
chapters/Symbols.tex · 1 KB
\cleardoublepage
\addchap{List of Symbols}
This section is optional.
Ask your supervisor whether it is required for your thesis.
If you have more than 10 formulas involved it probably is.
There are two ways to build a list of symbols:
\begin{itemize}
\item If you just want to get it done, then use a \texttt{longtable} and fill your symbols in, see table below.
\item If you want it fancy, then package \texttt{glossaries} (maybe \texttt{glossaries-extra}) may be your way to go.
Be warned that although it automates symbol handling (e.g. sorting and referencing of symbols), it comes with some administrative overhead.
You can find a discussion on different ways to achieve this \href{https://tex.stackexchange.com/a/366282}{on https://tex.stackexchange.com/a/366282}.
\end{itemize}
\begin{center}
\begin{longtable}{@{}c l p{10cm}@{}}
\toprule
Symbol & Unit & Description \\
\midrule
\endfirsthead
\multicolumn{3}{c}{\textit{List of Symbols -- continued}}\\
\toprule
Symbol & Unit & Description \\
\midrule
\endhead
\bottomrule \multicolumn{3}{r}{\textit{Continued on next page}} \\
\endfoot
\bottomrule
\endlastfoot
% start here with your symbols:
\(\psi\) & rad & Heading angle of hamster \\
\(\dot x\) & m/s & Linear velocity of hamster \\
\(\ddot x_0\) & m/s$^2$ & Initial acceleration of hamster \\
\end{longtable}
\end{center}chapters/Tooling.tex · 3 KB
\chapter{Tooling}
\section{Recommended Editors}
There are several options for working on your LaTeX document. All of them have individual strong suits and drawbacks. For locally installed editors it is highly recommended to use version control (see \autoref{sec:version_control}).
\subsection{Visual Studio Code}
VSCode is also a valid choice for editing latex documents. Just install the \texttt{LaTex Workshop} extension. You should also consider installing the \texttt{LTex} extension for integrating LanguageTool (see \autoref{sec:spelling}).
\subsection{TexStudio}
All \ac{ISW} pool computers come with the TeXstudio\footnote{\url{https://www.texstudio.org/}} latex editor and the MiKTeX\footnote{\url{https://miktex.org/}} LaTeX distribution pre-installed. If they are missing from your \ac{ISW}-machine, you can install them using the OPSI software-on-demand utility. Remember to select both for installation.
In TeXstudio, remember to set \texttt{lualatex} as the standard compiler and \texttt{biber} as the bibtex backend.
\section{Checking of grammar, spell and style}
\label{sec:spelling}
As with all word-processing tasks, it is highly recommended to use at least some sort of spell-checking software.
For this purpose TexStudio provides integration with LanguageTool\footnote{\url{https://languagetool.org}}. LanguageTool is a java based application, so make sure to install a Java Runtime Environment. On \ac{ISW} pool-computers you can again install LanguageTool using OPSI software-on-demand. The necessary settings for \ac{ISW} pool-computers are shown in \autoref{fig:texstudio-languagetool-integration}. Further information on the integration of LanguageTool with TexStudio can be found at the LanguageTool Wiki \footnote{\url{http://wiki.languagetool.org/checking-la-tex-with-languagetool\#toc2}}.
\begin{figure}
\centering
\includegraphics[width=0.9\linewidth]{example_images/texstudio-languagetool-integration}
\caption[Settings for integrating LanguageTool with TexStudio on ISW computers]{}
\label{fig:texstudio-languagetool-integration}
\end{figure}
\section{Version control}
\label{sec:version_control}
Whenever working on a document, it is desirable to have some sort of version control. For this task, \ac{ISW} provides a gitlab server found at \url{https://git.isw.uni-stuttgart.de/}. Once you are logged in to gitlab, you can create your own repository for tracking your thesis files. A \texttt{.gitignore} file is necessary to not track all changes to automatically generated files. You may use the \texttt{.gitignore} provided by this template. Again, if \texttt{git} is not installed on your \ac{ISW}-machine, you can install it using OPSI software-on-demand.
You can achieve a rudimentary integration with TeXstudio by defining macros such as the git commit macro shown in \autoref{lst:git_commit}. Note that macros can also be called by using shortcuts.
\begin{lstlisting}[caption={\texttt{git commit} macro}, label={lst:git_commit}]
%SCRIPT
dialog = new UniversalInputDialog()
dialog.setWindowTitle("Git commit")
dialog.add("", "Message", "comment")
dialog.add(false, "Commit all files","allfiles")
if (dialog.exec() != null) {
comment = dialog.get("comment")
if ((dialog.get("allfiles")) == true){
buildManager.runCommand(
"git commit -a -m \"" + comment + "\"", editor.fileName())
}else{
buildManager.runCommand(
"git commit " + editor.fileName() + " -m \"" + comment +
"\"", editor.fileName())
}
}
\end{lstlisting}
example_figures/BlockDiagram.tex · 564 B
\begin{tikzpicture}
\node[block] (controller) {Controller\\ \(k(e)\)};
\node[block, right=2cm of controller] (plant) {Plant\\ \(\dot x = f(x,u) \)\\ \(y=h(x) \)};
\node[sum, left = of controller] (err) {};
\draw[->] (controller) -- node[above]{\(u\)} (plant);
\draw[->] (err) -- node[above]{\(e\)}(controller);
\draw[->](plant) -- node[above]{\(y\)} ++(2cm, 0);
\draw[->] (plant) -| ++(1.5cm,-1.2cm) -| node[right, pos=0.95]{\(-\)} (err);
\draw[<-] (err) -- node[left, pos=1]{\(y_\mathrm{des}\)} ++(-2cm, 0);
\end{tikzpicture}example_figures/PhasorDiagramAnalytical.tex · 4 KB
% !TeX root = ../Name_Thema.tex
\newcommand\rtheta[2]{{#1*cos(#2)},{#1*sin(#2)}}
\pgfplotsset{
every axes legend/.append style={
at={(2, 1.73)},
anchor=south
},
}
\begin{tikzpicture}[>=latex]
\begin{axis}[
name=sineIO,
height=6.6cm,
domain=0:2*pi,
legend columns = 2,
legend pos = south east,
trig format plots=rad,
samples = 100,
%xtick={0, 1.5708, 3.14159, 4.7123889, 6.28318},
%xticklabels = {$0$, $\pi/2$, $\pi$, $3\pi/2$, $2\pi$},
ticks=none,
xmin=0,
xmax=2*pi,
ymax = 1.8,
ymin = -1.5,
axis x line=center,
axis y line=center,
xlabel = Zeit $t$,
xlabel style={below right},
%ylabel style={above left},
%grid=major,
no markers,
]
\addplot[UStuttDarkOrange, thick] {sin(x-pi/2)};
\addplot[UStuttDarkBlue, thick] {1.4*sin(x)};
\draw[dotted,UStuttDarkBlue!50, very thick] (axis cs: 0.5*pi,1.5) -- (axis cs: 0.5*pi,0);
\draw[dotted,UStuttDarkOrange!50, very thick] (axis cs: pi,1.5) -- (axis cs: pi,0);
\draw[dashed,|<->|, black!60, thick] (axis cs: 0.5*pi,1.5) -- node[above,text=black]{$\phi(\omega_0)$}(axis cs: pi,1.5);
\draw[dashed,black!60, very thick] (axis cs: 0.6667*pi,1.2124) -- node[below, pos=1, black!70]{$t_1$} (axis cs: 0.6667*pi,0);
\coordinate (yAmp) at (0.6667*pi, 1.2124);
\coordinate (uAmp) at (0.6667*pi, 0.5);
\legend{$u(t) = \bar{u} \sin(\omega_0 t + \phi_u)$,$y(t) = \bar{y} \sin(\omega_0 t + \phi_y)$}
\end{axis}
\begin{axis}[name=rad, at={($(sineIO.west) + (-2cm, 0)$)}, %at={(sineIO.west)},
anchor=east,
height=6.6cm,
width=6.6cm,
ymax = 1.8,
ymin = -1.5,
xmin=-1.5,
xmax=1.8,
axis x line=center,
axis y line=center,
ticks=none,
xlabel={$\mathrm{Re}(\omega t)$},
ylabel={$\mathrm{Im}(\omega t)$},
xlabel style={below right},
ylabel style={above left},
]
\draw[dashed, thick, UStuttDarkOrange!50] (axis cs: 0,0) circle (1);
\draw[dashed, thick, UStuttDarkBlue!50] (axis cs: 0,0) circle (1.4);
\filldraw[UStuttDarkBlue, opacity=0.5] (0,0) --(\rtheta{0.3}{0}) arc (0:120:0.3) -- cycle;
\draw[->, UStuttDarkBlue, thick](\rtheta{0}{0})-- node[above, pos=1, UStuttDarkBlue!60!black]{$y(\omega_0 t_1)$} (\rtheta{1.4}{120});
\filldraw[UStuttDarkOrange, opacity=0.5] (0,0) --(\rtheta{0.5}{0}) arc (0:30:0.5) -- cycle;
\draw[->,UStuttDarkOrange, thick](\rtheta{0}{0})-- node[above, pos=1, UStuttDarkOrange!60!black]{$u(\omega_0 t_1)$} (\rtheta{1}{30});
\draw[UStuttDarkOrange, thick, ->] (\rtheta{0.5}{0}) arc (0:30:0.5) node[right]{$\phi_u$};
\draw[UStuttDarkBlue, thick, ->] (\rtheta{0.3}{0}) arc (0:120:0.3) node[above right]{$\phi_y$};
\draw[black, thick, ->] (\rtheta{0.7}{30}) arc (30:120:0.7) node[above right]{$\phi(\omega_0)$};
\draw[black!60, thick, ->] (\rtheta{1.5}{0}) arc (0:30:1.5) node[above right, text=black]{$\omega$};
\coordinate (uPtr) at (\rtheta{1}{30});
\coordinate (yPtr) at (\rtheta{1.4}{120});
\draw[|<->|, black!60, dotted, thick] (-1.4,-0.1) -- node[below, text=black]{$\bar{y}$}(0,-0.1);
\draw[|<->|, black!60, dotted, thick] (-1,-0.4) -- node[below, text=black]{$\bar{u}$}(0,-0.4);
\draw[dashed](-1, -0.4) -- (-1,0);
%\draw[->, UStuttDarkBlue, thick](\rtheta{0}{0})-- node[below, pos=.85]{$y(t_0)$} (\rtheta{1.4}{0});
\end{axis}
\draw[UStuttDarkOrange, dashed, thick](uAmp) -- (uPtr);
\draw[UStuttDarkBlue, dashed, thick](yAmp) -- (yPtr);
\end{tikzpicture}example_figures/matlab_plot1.tex · 40 KB
40 KB — too long to show here. It arrives with the project.
example_figures/matlab_plot2.tex · 13 KB
% This file was created by matlab2tikz.
%
\definecolor{mycolor1}{rgb}{0.00000,0.56863,0.86275}%
%
\begin{tikzpicture}
\begin{axis}[%
width=0.951\figurewidth,
height=\figureheight,
at={(0\figurewidth,0\figureheight)},
scale only axis,
xmin=0,
xmax=5,
xlabel={Time \(t\) [s]},
ymin=-100,
ymax=20,
ylabel={Control input},
axis background/.style={fill=white},
axis x line*=bottom,
axis y line*=left,
legend style={legend cell align=left,align=left,draw=white!15!black},
legend pos = south east
]
\addplot [color=mycolor1,solid]
table[row sep=crcr]{%
0 -95.2380952380952\\
0.01 -94.7591415972566\\
0.02 -94.1638104803569\\
0.03 -93.4053776859734\\
0.04 -92.4088916180013\\
0.05 -91.0467216037249\\
0.06 -89.0843749129154\\
0.07 -86.0461912168111\\
0.08 -80.8322220593649\\
0.09 -70.4393284658293\\
0.1 -45.7482585757933\\
0.11 3.93584975720083\\
0.12 17.4405868514476\\
0.13 17.5054039453183\\
0.14 17.2176910763124\\
0.15 16.8798952636479\\
0.16 16.540181774544\\
0.17 16.2060960178399\\
0.18 15.8786696171079\\
0.19 15.5579293857376\\
0.2 15.2437563607774\\
0.21 14.9360139049838\\
0.22 14.6345658577009\\
0.23 14.339278908652\\
0.24 14.0500228195355\\
0.25 13.7666703699997\\
0.26 13.4890972733662\\
0.27 13.2171820923006\\
0.28 12.95080615774\\
0.29 12.6898534912237\\
0.3 12.4342107304443\\
0.31 12.1837670578149\\
0.32 11.9384141318652\\
0.33 11.6980460212933\\
0.34 11.4625591415122\\
0.35 11.2318521935508\\
0.36 11.0058261051698\\
0.37 10.784383974072\\
0.38 10.5674310130927\\
0.39 10.3548744972647\\
0.4 10.1466237126601\\
0.41 9.9425899069205\\
0.42 9.74268624138728\\
0.43 9.54682774476099\\
0.44 9.3549312682102\\
0.45 9.166915441867\\
0.46 8.98270063264538\\
0.47 8.80220890331972\\
0.48 8.62536397281605\\
0.49 8.45209117765443\\
0.5 8.28231743450313\\
0.51 8.11597120379322\\
0.52 7.95298245435451\\
0.53 7.7932826290283\\
0.54 7.6368046112235\\
0.55 7.48348269237808\\
0.56 7.33325254029112\\
0.57 7.18605116829549\\
0.58 7.04181690524026\\
0.59 6.90048936625213\\
0.6 6.76200942425276\\
0.61 6.62631918220165\\
0.62 6.4933619460433\\
0.63 6.36308219833338\\
0.64 6.23542557252275\\
0.65 6.11033882787797\\
0.66 5.98776982501671\\
0.67 5.86766750204173\\
0.68 5.74998185125014\\
0.69 5.6346638964069\\
0.7 5.52166567055914\\
0.71 5.41094019437884\\
0.72 5.3024414550186\\
0.73 5.19612438546231\\
0.74 5.09194484436117\\
0.75 4.9898595963367\\
0.76 4.88982629274147\\
0.77 4.79180345286173\\
0.78 4.69575044555203\\
0.79 4.60162747128877\\
0.8 4.50939554463221\\
0.81 4.41901647708461\\
0.82 4.33045286033654\\
0.83 4.24366804988828\\
0.84 4.15862614903845\\
0.85 4.07529199322987\\
0.86 3.99363113474305\\
0.87 3.91360982772947\\
0.88 3.83519501357501\\
0.89 3.75835430658549\\
0.9 3.68305597998737\\
0.91 3.60926895223395\\
0.92 3.53696277361135\\
0.93 3.46610761313603\\
0.94 3.39667424573609\\
0.95 3.32863403971193\\
0.96 3.26195894446649\\
0.97 3.19662147850096\\
0.98 3.13259471766852\\
0.99 3.06985228368026\\
1 3.00836833285808\\
1.01 2.94811754512684\\
1.02 2.8890751132429\\
1.03 2.8312167322513\\
1.04 2.77451858916735\\
1.05 2.71895735287756\\
1.06 2.66451016425413\\
1.07 2.611154626479\\
1.08 2.55886879557266\\
1.09 2.50763117112172\\
1.1 2.45742068720282\\
1.11 2.40821670349716\\
1.12 2.35999899659125\\
1.13 2.31274775146081\\
1.14 2.26644355313269\\
1.15 2.22106737852133\\
1.16 2.1766005884357\\
1.17 2.13302491975358\\
1.18 2.09032247775844\\
1.19 2.04847572863626\\
1.2 2.00746749212818\\
1.21 1.96728093433637\\
1.22 1.92789956067866\\
1.23 1.88930720898962\\
1.24 1.85148804276488\\
1.25 1.81442654454453\\
1.26 1.77810750943441\\
1.27 1.74251603876033\\
1.28 1.70763753385421\\
1.29 1.67345768996753\\
1.3 1.63996249031121\\
1.31 1.60713820021758\\
1.32 1.57497136142279\\
1.33 1.54344878646682\\
1.34 1.51255755320877\\
1.35 1.48228499945452\\
1.36 1.45261871769475\\
1.37 1.42354654995136\\
1.38 1.39505658272878\\
1.39 1.36713714206943\\
1.4 1.33977678870998\\
1.41 1.31296431333706\\
1.42 1.28668873193995\\
1.43 1.26093928125788\\
1.44 1.23570541432118\\
1.45 1.21097679608256\\
1.46 1.18674329913833\\
1.47 1.16299499953652\\
1.48 1.13972217267044\\
1.49 1.11691528925638\\
1.5 1.09456501139267\\
1.51 1.07266218869959\\
1.52 1.05119785453719\\
1.53 1.03016322230093\\
1.54 1.00954968179177\\
1.55 0.989348795660759\\
1.56 0.969552295925535\\
1.57 0.950152080557641\\
1.58 0.931140210139291\\
1.59 0.912508904587825\\
1.6 0.894250539946878\\
1.61 0.876357645242296\\
1.62 0.858822899402264\\
1.63 0.841639128239545\\
1.64 0.824799301494981\\
1.65 0.808296529940998\\
1.66 0.792124062543667\\
1.67 0.776275283682226\\
1.68 0.760743710425132\\
1.69 0.745522989860835\\
1.7 0.730606896482917\\
1.71 0.715989329628061\\
1.72 0.701664310965655\\
1.73 0.687625982038367\\
1.74 0.673868601852328\\
1.75 0.660386544516003\\
1.76 0.647174296926884\\
1.77 0.634226456504781\\
1.78 0.621537728970971\\
1.79 0.609102926172129\\
1.8 0.596916963948222\\
1.81 0.584974860043563\\
1.82 0.573271732059729\\
1.83 0.561802795450036\\
1.84 0.550563361554357\\
1.85 0.539548835673626\\
1.86 0.528754715183119\\
1.87 0.518176587683785\\
1.88 0.507810129190851\\
1.89 0.497651102358921\\
1.9 0.487695354742935\\
1.91 0.477938817093957\\
1.92 0.468377501689519\\
1.93 0.45900750069742\\
1.94 0.449824984572593\\
1.95 0.440826200486194\\
1.96 0.432007470786338\\
1.97 0.423365191489772\\
1.98 0.414895830804013\\
1.99 0.406595927679059\\
2 0.398462090388468\\
2.01 0.390490995138713\\
2.02 0.382679384706783\\
2.03 0.37502406710496\\
2.04 0.36752191427263\\
2.05 0.360169860794242\\
2.06 0.352964902643169\\
2.07 0.345904095950765\\
2.08 0.338984555800182\\
2.09 0.332203455044392\\
2.1 0.325558023148058\\
2.11 0.319045545052552\\
2.12 0.312663360063916\\
2.13 0.306408860763033\\
2.14 0.300279491937806\\
2.15 0.294272749536707\\
2.16 0.288386179643405\\
2.17 0.282617377471914\\
2.18 0.276963986382042\\
2.19 0.271423696914454\\
2.2 0.265994245845252\\
2.21 0.260673415259463\\
2.22 0.255459031643126\\
2.23 0.250348964993644\\
2.24 0.245341127947967\\
2.25 0.240433474928269\\
2.26 0.235624001304801\\
2.27 0.230910742575504\\
2.28 0.226291773562119\\
2.29 0.22176520762241\\
2.3 0.217329195878217\\
2.31 0.212981926458942\\
2.32 0.208721623760288\\
2.33 0.204546547717791\\
2.34 0.200454993095014\\
2.35 0.196445288785907\\
2.36 0.192515797131266\\
2.37 0.188664913248831\\
2.38 0.184891064376853\\
2.39 0.181192709230826\\
2.4 0.177568337373077\\
2.41 0.174016468595056\\
2.42 0.170535652311972\\
2.43 0.167124466969558\\
2.44 0.163781519462799\\
2.45 0.160505444566211\\
2.46 0.157294904375608\\
2.47 0.154148587761066\\
2.48 0.151065209830797\\
2.49 0.148043511405822\\
2.5 0.145082258505152\\
2.51 0.142180241841286\\
2.52 0.139336276325814\\
2.53 0.136549200584953\\
2.54 0.133817876484756\\
2.55 0.131141188665884\\
2.56 0.128518044087622\\
2.57 0.125947371581139\\
2.58 0.123428121411587\\
2.59 0.120959264849064\\
2.6 0.118539793748121\\
2.61 0.116168720135709\\
2.62 0.113845075807383\\
2.63 0.111567911931597\\
2.64 0.109336298661908\\
2.65 0.107149324756982\\
2.66 0.105006097208176\\
2.67 0.102905740874602\\
2.68 0.100847398125496\\
2.69 0.0988302284897481\\
2.7 0.096853408312449\\
2.71 0.0949161304183209\\
2.72 0.0930176037818977\\
2.73 0.0911570532042792\\
2.74 0.0893337189963993\\
2.75 0.0875468566686068\\
2.76 0.0857957366264803\\
2.77 0.0840796438727254\\
2.78 0.0823978777150389\\
2.79 0.0807497514798355\\
2.8 0.0791345922316958\\
2.81 0.0775517404984347\\
2.82 0.0760005500016704\\
2.83 0.0744803873928081\\
2.84 0.0729906319942694\\
2.85 0.0715306755459594\\
2.86 0.0700999219567483\\
2.87 0.0686977870609815\\
2.88 0.0673236983798216\\
2.89 0.0659770948874071\\
2.9 0.064657426781663\\
2.91 0.0633641552597102\\
2.92 0.062096752297777\\
2.93 0.0608547004355056\\
2.94 0.0596374925645815\\
2.95 0.0584446317215979\\
2.96 0.0572756308850586\\
2.97 0.0561300127764488\\
2.98 0.0550073096652927\\
2.99 0.0539070631780957\\
3 0.0528288241111388\\
3.01 0.0517721522469892\\
3.02 0.0507366161747127\\
3.03 0.0497217931136563\\
3.04 0.0487272687407843\\
3.05 0.0477526370214512\\
3.06 0.0467975000435702\\
3.07 0.0458614678551006\\
3.08 0.0449441583047829\\
3.09 0.0440451968860661\\
3.1 0.0431642165841604\\
3.11 0.0423008577261399\\
3.12 0.0414547678340612\\
3.13 0.040625601481006\\
3.14 0.0398130201500201\\
3.15 0.0390166920958561\\
3.16 0.0382362922095046\\
3.17 0.0374715018854185\\
3.18 0.0367220088914057\\
3.19 0.0359875072411189\\
3.2 0.0352676970691027\\
3.21 0.0345622845083292\\
3.22 0.0338709815702081\\
3.23 0.0331935060269661\\
3.24 0.0325295812964106\\
3.25 0.0318789363289751\\
3.26 0.031241305497043\\
3.27 0.0306164284864676\\
3.28 0.0300040501902872\\
3.29 0.02940392060454\\
3.3 0.0288157947261856\\
3.31 0.0282394324530542\\
3.32 0.0276745984858087\\
3.33 0.0271210622318584\\
3.34 0.0265785977112032\\
3.35 0.0260469834641583\\
3.36 0.0255260024609253\\
3.37 0.0250154420129733\\
3.38 0.0245150936861919\\
3.39 0.0240247532157841\\
3.4 0.0235442204228596\\
3.41 0.0230732991326991\\
3.42 0.0226117970946497\\
3.43 0.0221595259036324\\
3.44 0.0217163009232065\\
3.45 0.021281941210184\\
3.46 0.0208562694407514\\
3.47 0.0204391118380599\\
3.48 0.0200302981012792\\
3.49 0.0196296613360577\\
3.5 0.0192370379863802\\
3.51 0.0188522677677892\\
3.52 0.0184751936019405\\
3.53 0.0181056615524671\\
3.54 0.0177435207621285\\
3.55 0.017388623391216\\
3.56 0.0170408245571934\\
3.57 0.0166999822755373\\
3.58 0.0163659574017732\\
3.59 0.0160386135746566\\
3.6 0.0157178171605058\\
3.61 0.0154034371986353\\
3.62 0.0150953453478912\\
3.63 0.0147934158342474\\
3.64 0.0144975253994576\\
3.65 0.0142075532507294\\
3.66 0.013923381011409\\
3.67 0.0136448926726471\\
3.68 0.0133719745460393\\
3.69 0.0131045152172071\\
3.7 0.0128424055003105\\
3.71 0.0125855383934713\\
3.72 0.0123338090350864\\
3.73 0.0120871146610153\\
3.74 0.011845354562626\\
3.75 0.0116084300456774\\
3.76 0.0113762443900257\\
3.77 0.0111487028101375\\
3.78 0.0109257124163902\\
3.79 0.0107071821771519\\
3.8 0.0104930228816112\\
3.81 0.0102831471033605\\
3.82 0.0100774691647005\\
3.83 0.00987590510166124\\
3.84 0.00967837262972356\\
3.85 0.00948479111022597\\
3.86 0.0092950815174411\\
3.87 0.00910916640631618\\
3.88 0.00892696988085123\\
3.89 0.00874841756311771\\
3.9 0.00857343656289033\\
3.91 0.00840195544789186\\
3.92 0.00823390421462833\\
3.93 0.00806921425981087\\
3.94 0.00790781835234767\\
3.95 0.00774965060589785\\
3.96 0.00759464645197043\\
3.97 0.00744274261356779\\
3.98 0.00729387707934992\\
3.99 0.00714798907831943\\
4 0.00700501905501185\\
4.01 0.0068649086451815\\
4.02 0.00672760065197522\\
4.03 0.00659303902258122\\
4.04 0.00646116882534562\\
4.05 0.00633193622734725\\
4.06 0.0062052884724204\\
4.07 0.00608117385961671\\
4.08 0.00595954172209951\\
4.09 0.0058403424064585\\
4.1 0.00572352725243926\\
4.11 0.00560904857307837\\
4.12 0.00549685963523515\\
4.13 0.00538691464051295\\
4.14 0.0052791687065629\\
4.15 0.00517357784876066\\
4.16 0.00507009896224974\\
4.17 0.00496868980434544\\
4.18 0.00486930897728867\\
4.19 0.00477191591134536\\
4.2 0.00467647084824569\\
4.21 0.0045829348249522\\
4.22 0.00449126965775344\\
4.23 0.00440143792667632\\
4.24 0.00431340296020999\\
4.25 0.00422712882033478\\
4.26 0.00414258028785037\\
4.27 0.00405972284799987\\
4.28 0.00397852267637707\\
4.29 0.0038989466251206\\
4.3 0.00382096220937972\\
4.31 0.00374453759405418\\
4.32 0.00366964158079713\\
4.33 0.00359624359527964\\
4.34 0.00352431367470852\\
4.35 0.00345382245559476\\
4.36 0.0033847411617664\\
4.37 0.00331704159262091\\
4.38 0.00325069611161294\\
4.39 0.00318567763497203\\
4.4 0.0031219596206461\\
4.41 0.00305951605746637\\
4.42 0.0029983214545283\\
4.43 0.00293835083078573\\
4.44 0.00287957970485265\\
4.45 0.00282198408500922\\
4.46 0.00276554045940766\\
4.47 0.00271022578647335\\
4.48 0.00265601748549963\\
4.49 0.00260289342742859\\
4.5 0.00255083192581803\\
4.51 0.002499811727988\\
4.52 0.00244981200634499\\
4.53 0.00240081234987938\\
4.54 0.00235279275583305\\
4.55 0.00230573362153386\\
4.56 0.00225961573639298\\
4.57 0.0022144202740625\\
4.58 0.00217012878475059\\
4.59 0.00212672318768897\\
4.6 0.00208418576375221\\
4.61 0.0020424991482243\\
4.62 0.00200164632370974\\
4.63 0.00196161061318666\\
4.64 0.00192237567319878\\
4.65 0.00188392548718341\\
4.66 0.00184624435893331\\
4.67 0.00180931690618881\\
4.68 0.0017731280543584\\
4.69 0.00173766303036499\\
4.7 0.00170290735661512\\
4.71 0.00166884684508866\\
4.72 0.00163546759154699\\
4.73 0.001602755969857\\
4.74 0.00157069862642819\\
4.75 0.00153928247476199\\
4.76 0.00150849469010885\\
4.77 0.00147832270423329\\
4.78 0.00144875420028302\\
4.79 0.00141977710776092\\
4.8 0.00139137959759752\\
4.81 0.00136355007732223\\
4.82 0.00133627718633075\\
4.83 0.00130954979124752\\
4.84 0.00128335698138081\\
4.85 0.00125768806426867\\
4.86 0.00123253256131391\\
4.87 0.00120788020350668\\
4.88 0.00118372092723219\\
4.89 0.00116004487016254\\
4.9 0.00113684236723084\\
4.91 0.00111410394668548\\
4.92 0.00109182032622354\\
4.93 0.00106998240920186\\
4.94 0.00104858128092291\\
4.95 0.0010276082049964\\
4.96 0.00100705461977211\\
4.97 0.000986912134845453\\
4.98 0.000967172527631786\\
4.99 0.000947827740010168\\
5 0.000928869875033615\\
};
\addlegendentry{\(u\)};
\end{axis}
\end{tikzpicture}%example_images/texstudio-languagetool-integration.png — binary, 47 KB
images/logo-isw-uni-de-eps-converted-to.pdf — binary, 44 KB
images/logo-isw-uni-de.eps — binary, 1525 KB
images/logo-isw-uni-en-eps-converted-to.pdf — binary, 26 KB
images/logo-isw-uni-en.eps — binary, 1449 KB
images/logo-isw.pdf — binary, 51 KB
iswthesis.sty · 9 KB
% iswthesis ... simplifying thesis writing in LaTeX complying with the style of ISW, University of Stuttgart
% This class does the styling for you (together with a komascript class).
%
% It handles the following:
% - Proper input and font encoding (Just type, don't care about the LaTeX compiler you use or how to type German umlauts)
% - Fonts with ligatures and kerning (Tex Gyre fonts are used, part of every LaTeX installation, text is nice to read)
% - Bibliography styling for biblatex (declare your bibliography file and you are ready to go)
% - Provide command for title page (\makeISWtitle) and declaration of originality ( \declarationOfOriginality)
% - Loads packages "biblatex" and "graphics"
%
% Package dependencies:
% - ifthen, ifpdf, ifxetex, ifluatex, iflang, kvoptions ... Options handling
% - microtype ... font kerning
% - [just pdflatex] fontenc, inputenc ... handle encodings
% - tgheros ... sans serif font for headings
% - [just luatex and xetex] fontspec ... font loading
% - mathpazo, tgpagella, textcomp ... math, serif and unicode fonts
% - csquotes ... handling quotes correctly with biblatex
% - biblatex ... bibliography
% - graphicx ... loading logo image for the titlepage
%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{iswthesis}[2024-04-02 v0.5 Basic styling for a student thesis written at ISW, University of Stuttgart.]
\providecommand{\iswthesis}{iswthesis v0.5}
\RequirePackage{ifthen}
\RequirePackage{ifpdf}
\RequirePackage{ifxetex}
\RequirePackage{ifluatex}
\usepackage{iflang}
% ********************************************************************
% Template commands (mainly used for title page)
% ********************************************************************
\providecommand{\titleTranslated}[1]{\gdef\iswt@titleTranslated{#1}}
\providecommand{\runningauthor}[1]{\gdef\iswt@runningauthor{#1}}
\providecommand{\major}[1]{\gdef\iswt@major{#1}}
\providecommand{\address}[1]{\gdef\iswt@address{#1}}
\providecommand{\placeOfBirth}[1]{\gdef\iswt@placeOfBirth{#1}}
\providecommand{\matrnr}[1]{\gdef\iswt@matrnr{#1}}
\providecommand{\signature}[1]{\gdef\iswt@signatureImage{#1}}
\signature{}
\providecommand{\supervisor}[1]{\gdef\iswt@supervisor{#1}}
\providecommand{\professor}[1]{\gdef\iswt@professor{#1}}
% ********************************************************************
% Package options
% ********************************************************************
\RequirePackage{kvoptions}
\SetupKeyvalOptions{family=iswt, prefix=iswt@}
\DeclareStringOption[bachelor]{type}[]
% Parse the given options
\ProcessKeyvalOptions{iswt}
% ********************************************************************
% Style
% ********************************************************************
% micro-typographic extensions to have a better readable text
\RequirePackage{microtype}
\ifthenelse{\boolean{xetex}\OR\boolean{luatex}}{
\relax
}{
% pdflatex needs to know the font and file formats
\PassOptionsToPackage{T1}{fontenc} % T2A for cyrillics
\RequirePackage{fontenc}
\PassOptionsToPackage{utf8}{inputenc} % directly support utf8 characters, as ä,ö,ü,Ü,ß
\RequirePackage{inputenc}
}
% Disable single lines at the start of a paragraph (Schusterjungen)
\clubpenalty = 10000
% Disable single lines at the end of a paragraph (Hurenkinder)
\widowpenalty = 10000
\displaywidowpenalty = 10000 % formulas
% load fonts with ligatures and proper kerning
\PassOptionsToPackage{osf,sc}{mathpazo}%
\RequirePackage{mathpazo} % Palatino with real small caps and old style figures
\usepackage{tgheros}
\linespread{1.05} % a bit more for Palatino
\PassOptionsToPackage{scaled=0.85}{DejaVuSansMon}%
\RequirePackage{tgpagella}% bera monospace font
\RequirePackage{textcomp}% declare missing symbols
\ifthenelse{\boolean{xetex}\OR\boolean{luatex}}
{ % use fontspec and OpenType fonts with utf8 engines
\RequirePackage{fontspec}
\defaultfontfeatures{Ligatures=TeX}
\setsansfont{Tex Gyre Heros}
\setmainfont[Numbers=OldStyle]{TeX Gyre Pagella}
\setmonofont[Scale=0.85]{DejaVu Sans Mono}
}{
\relax
}
% Bibliography
\PassOptionsToPackage{%
backend=biber,%
backref=false,%
giveninits=true,%
autocite=inline,%
sorting=none,% in order of occurence. Other option: nyt (name year title)
sortcites=true,%
mincitenames=1,%
maxcitenames=2,%
maxbibnames=10,%
doi=true,%
isbn=false,%
url=true,%
natbib=true,
style=ieee,%
}{biblatex}
\RequirePackage{csquotes}
\RequirePackage{biblatex}
\setcounter{biburlnumpenalty}{100}
\RequirePackage{graphicx}
% ********************************************************************
% Style
% ********************************************************************
% detect German language, assume English otherwise (https://tex.stackexchange.com/a/174206)
\newcommand*{\IfLangGerman}{%
% The order can be optimized by putting more often used names first.
\IfLanguageName{ngerman}\@firstoftwo{%
\IfLanguageName{german}\@firstoftwo\@secondoftwo}%
}%
% Process variables
\def\iswt@thesisType{\texttt{type}-Option invalid}
\def\iswt@aimedDegree{}
\ifthenelse{\equal{\iswt@type}{BA}}{
\def\iswt@thesisType{\IfLangGerman{Bachelorarbeit}{Bachelor's Thesis}}
\def\iswt@aimedDegree{B.\,Sc.}
}{}
\ifthenelse{\equal{\iswt@type}{MA}}{
\def\iswt@thesisType{\IfLangGerman{Masterarbeit}{Master's Thesis}}
\def\iswt@aimedDegree{M.\,Sc.}
}{}
\ifthenelse{\equal{\iswt@type}{SA}}{
\def\iswt@thesisType{\IfLangGerman{Studienarbeit}{Study Paper}}
\def\iswt@aimedDegree{M.\,Sc.}
}{}
\ifthenelse{\equal{\iswt@type}{FA}}{
\def\iswt@thesisType{\IfLangGerman{Forschungsarbeit}{Study Paper}}
\def\iswt@aimedDegree{M.\,Sc.}
}{}
\ifthenelse{\equal{\iswt@type}{bachelorproject}}{
\def\iswt@thesisType{\IfLangGerman{Bachelor-Projektarbeit}{Bachelor Project}}
\def\iswt@aimedDegree{B.\,Sc.}
}{}
\newcommand{\makeISWtitle}{%
\begin{titlepage}
\hspace*{-1.6cm} \includegraphics[height=2cm]{images/logo-isw-uni-\IfLangGerman{de}{en}}
\hfill
\raisebox{0.7\height}{\includegraphics[height = 1cm]{images/logo-isw.pdf}}\\[4em]
\centering
{\huge \iswt@thesisType\par}
\vspace{4em}
{\Huge\bfseries\sffamily \@title\par}
\vspace{8em}
\IfLangGerman{eingereicht von}{submitted by}\par
\vspace{0.45em}
{\Large\itshape \@author\par}
\vspace{0.55em}
\IfLangGerman{aus}{from} \iswt@placeOfBirth\par
\vfill
\begin{tabbing}
\IfLangGerman{Studiengang}{Degree program} \hspace*{2cm} \= \iswt@aimedDegree~\iswt@major \\
\IfLangGerman{Prüfer}{Examined by} \> \iswt@professor \\
\IfLangGerman{Betreuer}{Supervised by} \> \iswt@supervisor \\
\IfLangGerman{Eingereicht am}{Submitted on} \> \@date
\end{tabbing}
\end{titlepage}
}%
\newcommand{\declarationOfOriginality}{
\chapter*{\IfLangGerman{Eigenständigkeitserklärung}{Declaration of Originality}}
\iswt@thesisType{} \IfLangGerman{von}{of} \@author{} (\iswt@aimedDegree{} \iswt@major{})
\vspace*{1em}
\noindent
\begin{tabular}{@{}p{0.2\textwidth} p{0.78\textwidth}@{}}
\IfLangGerman{Anschrift}{Address} & \iswt@address{} \\
\IfLangGerman{Matrikelnummer}{Student number} & \iswt@matrnr{} \\
\IfLangGerman{Deutscher Titel}{English title} & \textit{\@title{}} \\
\IfLangGerman{Englischer Titel}{German title} & \textit{\iswt@titleTranslated{}}
\end{tabular}
\vspace*{1em}
\IfLangGerman{
\noindent Hiermit erkläre ich,
\begin{itemize}
\item dass ich die vorliegende Arbeit selbstständig verfasst habe,
\item dass keine anderen als die angegebenen Quellen benutzt und alle wörtlich oder sinngemäß aus anderen Werken übernommenen Aussagen als solche gekennzeichnet sind,
\item dass die eingereichte Arbeit weder vollständig noch in wesentlichen Teilen Gegenstand eines anderen Prüfungsverfahrens gewesen ist,
\item dass ich die Arbeit weder vollständig noch in Teilen bereits veröffentlicht habe und
\item dass ich mit der Arbeit keine Rechte Dritter verletze und die Universität von etwaigen Ansprüchen Dritter freistelle.
\end{itemize}
}{
\noindent I now declare,
\begin{itemize}
\item that I wrote this work independently,
\item that no sources other than those stated are used and that all statements taken from other works---directly or figuratively---are marked as such,
\item that the work submitted was not the subject of any other examination procedure, either in its entirety or in substantial parts,
\item that I have not published the work in whole or in part, and
\item that my work does not violate any rights of third parties and that I exempt the University against any claims of third parties.
\end{itemize}
}
\vfill
\ifdefempty{\iswt@signatureImage}{}{\noindent \includegraphics[height=1cm]{\iswt@signatureImage}\\}
\noindent \rule{6cm}{0.66pt}\\
Stuttgart,\IfLangGerman{ den}{} \@date
}
\endinput
settings.tex · 5 KB
% set the language here. Last language is the main language. Use `ngerman` (= new german) for German texts.
\usepackage[ngerman, english]{babel}
% \usepackage[english,ngerman]{babel} % If your text mainly is in German.
% general math support
% consider using bracket environments for inline math, i.e. \(x_2^2 + \sqrt{\gamma}\) instead of $$.
% for numbered equations in their own line, use e.g. the array environment.
\usepackage{amsmath, amssymb}
% bold math package. Set matrices and vectors with \bm{v}
\usepackage{bm}
% beautiful table environments (see https://ctan.org/pkg/booktabs)
\usepackage{booktabs}
% multi page table. Your list of symbols may need this
\usepackage{longtable}
% consistent acronym definitions and usage. You may want to use the glossaries package instead, which is more powerful, but more complex to handle.
\usepackage[printonlyused, smaller]{acronym}
% for multiple plots in one figue, e.g. Fig 1.a and Fig 1.b
% https://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions#Subfloats
\usepackage{subcaption}
% provides \FloatBarrier to prevent floats past some point.
\usepackage{placeins}
% For vector graphics and MATLAB figures, you may try TikZ:
% There is also tikz-uml for UML diagrams
\usepackage{tikz}
\usepackage{pgfplots}
\pgfplotsset{
compat = newest,
grid=major,
every axis plot/.append style={very thick},
}
% block diagrams with tikz
\usetikzlibrary{calc,fit, positioning,arrows.meta}
\tikzset{>={Latex[width=2mm,length=2mm]}} % more visible default arrow heads
\tikzstyle{block} = [draw=black, fill=white, rectangle, align=center, minimum height=2em, minimum width=3em]
\tikzstyle{sum} = [draw, circle, node distance=1cm]
% global matlab2tikz options for exporting MATLAB plots
% https://github.com/matlab2tikz/matlab2tikz
\newlength\figureheight
\newlength\figurewidth
\setlength\figureheight{3cm}
\setlength\figurewidth{0.7\textwidth}
% If you want to use colors, we already defined some for you (university corporate design)
\RequirePackage{xcolor}
\definecolor{UStuttDarkBlue}{RGB}{0,81,158}
\definecolor{UStuttLightBlue}{RGB}{0,190,255}
\definecolor{UStuttDarkGreen}{RGB}{59,140,122}
\definecolor{UStuttLightGreen}{RGB}{125,155,101}
\definecolor{UStuttDarkOrange}{RGB}{228,175,52}
\definecolor{UStuttLightOrange}{RGB}{236,218,145}
% for code listings, you can e.g. use the "listings" package (http://texdoc.net/texmf-dist/doc/latex/listings/listings.pdf):
\usepackage{listings}
\usepackage{scrhack} % if you load listings together with scrbook etc., then load this fixing package as well
\lstset{
captionpos=b,
commentstyle=\color{UStuttDarkGreen},
frame=single, % adds a frame around the code
keepspaces=true,
%keywordstyle=\color{UStuttDarkBlue},
showspaces=false,
showstringspaces=false, % underline spaces within strings only
showtabs=false,
stringstyle=\color{UStuttDarkBlue},
tabsize=2
}
% This class does the ISW styling for you (together with scrbook).
%
% It handles the following:
% - Proper input and font encoding (Just type, don't care about the LaTeX compiler you use or how to type German umlauts)
% - Fonts with ligatures and kerning (Tex Gyre fonts are used, part of every LaTeX installation, text is nice to read)
% - Bibliography styling for biblatex (declare your bibliography file and you are ready to go)
% - Provide command for title page (\makeISWtitle) and declaration of originality ( \declarationOfOriginality)
% - Loads packages "biblatex" and "graphics"
\usepackage[
type=MA, % BA, MA, FA, SA (old), bachelorproject
]{iswthesis}
% hyperref provides hyperlinks within the document, but also auto-naming.
% E.g. when referencing, instead of typing "Figure~\ref{fig:XY}" try "\autoref{fig:XY}".
% You may want to use `clevceref` instead of using \autoref in the hyperref package, which has slightly more possibilities.
\PassOptionsToPackage{pdfpagelabels}{hyperref}
\usepackage{hyperref} % backref linktocpage pagebackref
\pdfcompresslevel=9
\pdfadjustspacing=1
\hypersetup{%
%draft, % = no hyperlinking at all
%colorlinks=true,
colorlinks=false,
linktocpage=false, pdfborder={0 0 0},%
breaklinks=true, pdfpagemode=UseNone, pageanchor=true, pdfpagemode=UseOutlines,%
plainpages=false, bookmarksnumbered, bookmarksopen=true, bookmarksopenlevel=1,%
hypertexnames=true, pdfhighlight=/O,%nesting=true,%frenchlinks,%
%urlcolor=Black, linkcolor=Black, citecolor=Black, %pagecolor=Black,%
}
% Your own commands (https://en.wikibooks.org/wiki/LaTeX/Macros):
% Consider defining your own commands for often used terms, e.g.
% Real numbers symbol
\newcommand{\R}{\mathbb{R}}
% Transpose of vector or matrix (upright)
\newcommand{\T}{\mathrm{T}}
\newcommand{\mustbe}{\ensuremath{\stackrel{!}{=}}}
% short matrix environment. Instead of typing \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix} you can now use as well \bmat{1 & 2 \\ 3 & 4}
\newcommand{\bmat}[1]{ \ensuremath{\begin{bmatrix} #1 \end{bmatrix}} }
% partial derivative: \partfrac{^2}{x^2} yields ∂²/∂x²
\newcommand{\partfrac}[2]{ \ensuremath{\frac{\partial #1}{\partial #2}} }
% upright "d" for differentiation
\newcommand{\ddiff}{\ensuremath{\mathrm{d}}}
% d/dt
\newcommand{\ddt}{\ensuremath{\frac{\ddiff}{\ddiff t}}}
The first page, as this template compiles today. Click it to enlarge, and again to shrink. Open the file ↗