|
| 1 | +%%---Main Packages---------------------------------------------------------------------- |
| 2 | + |
| 3 | +\usepackage[english, ngerman]{babel} %Multilingual support for Plain TeX or LaTeX |
| 4 | +\usepackage[T1]{fontenc} %Standard package for selecting font encodings |
| 5 | +\usepackage[utf8]{inputenc} %Accept different input encodings |
| 6 | +\usepackage{graphicx} %Enhanced support for graphics |
| 7 | +\usepackage{float} %Improved interface for floating objects |
| 8 | + |
| 9 | + |
| 10 | +%%---Optional Packages------------------------------------------------------------------ |
| 11 | + |
| 12 | +\usepackage[pdftex,dvipsnames,table]{xcolor}%Driver-independent color extensions for LaTeX |
| 13 | +\usepackage[hidelinks]{hyperref} %Extensive support for hypertext in LaTeX |
| 14 | +\usepackage{amsmath} %AMS mathematical facilities for LaTeX |
| 15 | +%\usepackage{amsthm} %Typesetting theorems (AMS style) |
| 16 | +%\usepackage{amssymb} %Typesetting theorems (AMS style) |
| 17 | +\usepackage{pdfpages} %Include PDF documents in LaTeXmns |
| 18 | +\usepackage{todonotes} %Marking things to do in a LaTeX document |
| 19 | +%\usepackage{siunitx} %A comprehensive (SI) units package |
| 20 | +\usepackage{listings} %Typeset source code listings using LaTeX |
| 21 | +%\usepackage{pdflscape} %Make landscape pages display as landscape |
| 22 | +%\usepackage{array} %Extending the array and tabular environments |
| 23 | +%\usepackage{imakeidx} %A package for producing multiple indexes |
| 24 | +\usepackage{subfigure} %Figures divided into subfigures |
| 25 | +%\usepackage{booktabs} %Publication quality tables in LaTeX |
| 26 | +%\usepackage{multirow} %Create tabular cells spanning multiple rows |
| 27 | +%\usepackage{multicol} %Intermix single and multiple columns |
| 28 | +\usepackage{tabularx} %Tabulars with adjustable-width columns |
| 29 | +%\usepackage{xargs} %Define commands with many optional arguments |
| 30 | +%\usepackage{cite} %Improved citation handling in LaTeX |
| 31 | +\usepackage{setspace} %Set space between lines |
| 32 | +%\usepackage{textgreek} %Upright greek letters in text |
| 33 | +%\usepackage[bottom]{footmisc} %A range of footnote options |
| 34 | +%\usepackage{footnote} %Improve on LaTeX's footnote handling |
| 35 | +%\usepackage{verbatim} %Reimplementation of and extensions to LaTeX verbatim |
| 36 | +\usepackage{textcomp} %LaTeX support for the Text Companion fonts |
| 37 | +%\usepackage[pagesize]{typearea} %Set page margins |
| 38 | +%\usepackage{xspace} |
| 39 | +%\usepackage{courier} %Monospaced font for listings package |
| 40 | + |
| 41 | + |
| 42 | +%%---My Packages------------------------------------------------------------------------ |
| 43 | + |
| 44 | +\usepackage[left=2cm, right=2cm, bottom=2cm, headsep=1.5cm]{geometry} % Einstellung Seitenränder |
| 45 | +\usepackage{lmodern} |
| 46 | +\usepackage{scrpage2} %Kopf- und Fusszeile |
| 47 | +\usepackage{lscape} |
| 48 | +\usepackage{tikz} %Organigramm |
| 49 | +\usetikzlibrary{trees} |
| 50 | +\usetikzlibrary{mindmap} |
| 51 | +\usetikzlibrary{positioning} |
| 52 | +\usepackage{abstract} |
| 53 | +\usepackage{etoolbox} |
| 54 | + |
| 55 | + |
| 56 | +%%---Definitions----------------- ------------------------------------------------------ |
| 57 | + |
| 58 | +%%Tabel-Definitions: (requires \usepackage{tabularx}) |
| 59 | +%\newcolumntype{L}[1]{>{\raggedright\arraybackslash}p{#1}} %column-width and alignment |
| 60 | +%\newcolumntype{C}[1]{>{\centering\arraybackslash}p{#1}} |
| 61 | +%\newcolumntype{R}[1]{>{\raggedleft\arraybackslash}p{#1}} |
| 62 | + |
| 63 | + |
| 64 | +%%---Settings--------------------------------------------------------------------------- |
| 65 | + |
| 66 | +\bibliographystyle{IEEEtran} %Defines the Bib. Style (Harvard, IEEE etc.) |
| 67 | +\graphicspath{{./images/}} %Defines the graphicspath |
| 68 | +%\geometry{twoside=false} %twoside=false disables the "bookstyle" => one sided document |
| 69 | +\setlength{\marginparwidth}{2cm} |
| 70 | +\overfullrule=5em %Creates a black rule if text goes over the margins => debugging |
| 71 | +\setlength{\parindent}{0pt} |
| 72 | +\pagestyle{scrheadings} |
| 73 | +\clearscrheadfoot |
| 74 | +\ohead{\headmark} |
| 75 | +\automark[section]{chapter} |
| 76 | +\setheadsepline{0.4pt} |
| 77 | + |
| 78 | +%%Listings-Settings: (requires \usepackage{listings}) |
| 79 | +% Example with Matlab Code: |
| 80 | +%\lstset{language=Matlab,% |
| 81 | +% basicstyle=\footnotesize\ttfamily, |
| 82 | +% breaklines=false,% |
| 83 | +% morekeywords={matlab2tikz}, |
| 84 | +% keywordstyle=\color{blue},% |
| 85 | +% tabsize=4, |
| 86 | +% morekeywords=[2]{1}, keywordstyle=[2]{\color{black}}, |
| 87 | +% identifierstyle=\color{black},% |
| 88 | +% stringstyle=\color{mylilas}, |
| 89 | +% commentstyle=\color{mygreen},% |
| 90 | +% showstringspaces=false,%without this there will be a symbol in the places where there is a space |
| 91 | +% numbers=left,% |
| 92 | +% numberstyle={\tiny \color{black}},% size of the numbers |
| 93 | +% numbersep=9pt, % this defines how far the numbers are from the text |
| 94 | +% emph=[1]{switch, case, otherwise, for,end,break},emphstyle=[1]\color{red}, %some words to emphasise |
| 95 | +% %emph=[2]{word1,word2}, emphstyle=[2]{style}, |
| 96 | +%} |
| 97 | + |
| 98 | +\definecolor{mGreen}{rgb}{0,0.6,0} |
| 99 | +\definecolor{mGray}{rgb}{0.5,0.5,0.5} |
| 100 | +\definecolor{mPurple}{rgb}{0.58,0,0.82} |
| 101 | +\definecolor{backgroundColour}{rgb}{0.95,0.95,0.92} |
| 102 | + |
| 103 | +\lstdefinestyle{CStyle}{ |
| 104 | + backgroundcolor=\color{backgroundColour}, |
| 105 | + commentstyle=\color{mGreen}, |
| 106 | + keywordstyle=\color{magenta}, |
| 107 | + numberstyle=\tiny\color{mGray}, |
| 108 | + stringstyle=\color{mPurple}, |
| 109 | + basicstyle=\footnotesize\ttfamily, |
| 110 | + breakatwhitespace=false, |
| 111 | + breaklines=true, |
| 112 | + captionpos=b, |
| 113 | + keepspaces=true, |
| 114 | + numbers=left, |
| 115 | + numbersep=5pt, |
| 116 | + showspaces=false, |
| 117 | + showstringspaces=false, |
| 118 | + showtabs=false, |
| 119 | + tabsize=2, |
| 120 | + language=C |
| 121 | +} |
0 commit comments