Restructure

pull/12/head
kreativmonkey 7 years ago
parent 7921a0ff6b
commit 2384c7f2f9

@ -1,29 +0,0 @@
LaTeX4EI Template Date: 2016-01-06
LICENSE:
You are allowed to create and share documents created
with this template under the following conditions:
* visible reference to www.latex4ei.de:
you have to place a "based on template from www.latex4ei.de" or similar in your documents.
* no commercial use:
you are not allowed to sell any part of this template or documents created with this template.
* limited modification:
you are allowed to modify the template for personal use.
you are NOT allowed to distribute modified versions of this template on your own.
Please push back your modifications to us so that we have the chance to integrate it.
If you want to publish your latex code you are allowed to publish the source code
of this template as well but you have to make sure that a copy of this license is included.
© 2011-2016, LaTeX4EI

@ -1,29 +0,0 @@
# LaTeX4EI Template
Write beautiful latex cheat sheets with minimal effort.
## How to use
put `latex4ei` folder in `./template-files/` into the same folder as
your latex file. Specify \documentclass{latex4ei/latex4ei_sheet} and compile your code.
See the documentation for further details.
## Permanent installation
Copy the `latex4ei` folder into your tex-distribution directory
### Windows
Copy files to `C:\texlive\XXXX\texmf-dist\tex\latex\latex4ei`
### Linux
```bash
sudo ln -s ./pkg /usr/share/texlive/texmf-dist/tex/latex/latex4ei
sudo mktexlsr
```
### Mac OS X
```bash
ln -s ./pkg /usr/local/texlive/texmf-local/tex/latex/latex4ei
```
If you want to share your documents please refer to the license.txt
Read the changelog.txt and known_bugs.txt and check [www.latex4ei.de](http://latex4ei.de) for updates.
© 2011-2016, LaTeX4EI

@ -1,29 +0,0 @@
# LaTeX4EI Template
Date: 2016-01-06
## Changelog
#### Release 1.0
* new box macros
the boxes are now implemented as environments, which allows better error tracking.
box names stayed the same, so now it is \begin{sectionbox} ... \end{sectionbox} instead of \sectionbox{ ... }
Note: the table environment is now much simpler. See documentation for details.
* better unicode support
you can now directly write math symbols such as ∫, ∈, ∞, etc. and greek symbols such as α, β, γ as unicode
characters in your tex source code. Make sure the .tex file is encoded as UTF-8 in your editor.
* language support for english and german
The language of the document can now be choosen with the template options "english" or "german".
It is also possible to define a different language for a part of a document. Use \selectlanguage{english}
to switch to english and \selectlanguage{ngerman} (the "n" in "ngerman" is important) to switch to german.
* image search-paths /img and /gfx
you can now specify image paths inside \includegraphics relative to /img or /gfx because the compiler will
automatically search for image files in these directories. Additional the compiler will recognize file
extensions automatically.
Example: use \includegraphics{diagram} if you have a file ./img/diagram.pdf
© 2011-2016, LaTeX4EI

@ -1,321 +0,0 @@
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
% LaTeX4EI Template for Cheat Sheets
%
% @encode: UTF-8, tabwidth = 4, newline = LF
% @author: LaTeX4EI - Template created by Emanuel Regnath and Martin Zellner
% @contact: info@latex4ei.de
%
% @license:
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
% Known bugs of this template:
% * sole section headings at the end of a column are not shifted to the next column
% automatically, please insert a \columnbreak before \section in this case.
% Document Class ===============================================================
% possible options: color/nocolor, english/german, legacyboxes, threecolumn
% default: color, english
\documentclass[english]{latex4ei/latex4ei_sheet}
% set document information
\title{LaTeX4EI Template \\ Documentation}
\author{LaTeX4EI} % optional, delete if unchanged
\myemail{info@latex4ei.de} % optional, delete if unchanged
\RequirePackage{latex4ei/latex4ei_unicode}
%---------------------------------------%
% LaTeX4EI template %
%~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%
% DOCUMENT_BEGIN ===============================================================
\begin{document}
% Title (needs ./img/Logo.pdf)
\maketitle
% SECTION ====================================================================================
\section{Introduction}
% ============================================================================================
\begin{sectionbox}
\subsection{Terms of use}
This template may be used only for cheat sheets that are published on the \emph{LaTeX4EI} web page. \\
A lot of effort has been put into this template and therefore all cheat sheets created with this template shall also be availible on the \emph{LaTeX4EI} project web page. \\
\textbf{\copyright LaTeX4EI, 2015}
\end{sectionbox}
\begin{sectionbox}
\subsection{Purpuse}
The purpuse of this document is to give an overview over all functions of the LaTeX4EI template with the goal to help the reader to create beautiful cheat sheets.
\end{sectionbox}
\section{Box Environments}
\label{box_useage}
\begin{sectionbox}
For the structuring of the document, the LaTeX4EI template offers different boxes.
\end{sectionbox}
\begin{sectionbox}
\subsection{Sectionbox}
The main structure is defined through the \emph{sectionbox} environment.
\begin{lstlisting}[language=tex, gobble=3]
\begin{sectionbox}
content of the sectionbox
\end{sectionbox}
\end{lstlisting}
\end{sectionbox}
\begin{sectionbox}
\subsection{Tablebox}
Tables can be set using the \emph{tablebox} or a \emph{tablebox*} environment.
The table entries are embedded within \code|\begin{tablebox*}{llll}| and
\code|\end{tablebox*}|. \\
Example for a table with \emph{tablebox}:
\begin{tablebox*}{llll}
vector & $\vec a = \vect{ 1 \\ 2}$ & matrix & $\ma M = \mat{1 & 2 \\ 3 & 4}$ \\ \cmrule
Example & of & the & tablebox \\
\end{tablebox*}
In contrast to that a normal \LaTeX table:\\
\begin{tabular}{lll} \ctrule
A & small & table\\
with & two & lines \\ \cbrule
\end{tabular}
\end{sectionbox}
\begin{sectionbox}
\subsection{Symbolbox}
A symbolbox can be used to define symbols for different values. \\
The equation is embedded within \code|\begin{symbolbox}| and
\code|\end{symbolbox}|. \\
Example of a \emph{symbolbox (to define symbols)}
\renewcommand{\arraystretch}{2.0}
\begin{symbolbox}
\begin{tabular}{lll}
Preasure & $\unitof{p}$ & $\si{\newton\per\meter\squared}$ \\
Seebeck-Ko. & $\unitof{S}$ & $\si{\micro\volt\per\kelvin}$\\
Wärmeleitf. & $\unitof{\lambda}$ & $\si{\watt\per\meter\kelvin}$
\end{tabular}
\end{symbolbox}
\end{sectionbox}
\begin{sectionbox}
\subsection{Cookbox}
a so-called cookbox can be used to set beautiful step-by-step instructions.
The items are embedded within \code|\begin{cookbox}| and
\code|\end{cookbox}|. \\
\begin{cookbox}{How to create a beautiful cheat sheet}
\item Read this manual
\item Create a beautiful cheat sheet
\end{cookbox}
\end{sectionbox}
\begin{sectionbox}
\subsection{Emphbox}
really important formulars can be set in a box with a red border. \\
The equations are embedded within \code|\begin{emphbox}| and
\code|\end{emphbox}|. \\
\begin{emphbox}
$x_{1/2}=\frac{ -b \pm \sqrt{b^2-4ac} }{ 2a }$
\end{emphbox}
\end{sectionbox}
\section{Language and Text}
\begin{sectionbox}
\subsection{Text}
The \LaTeX source code of this template is interpreted as unicode. Therefore special characters like the german umlauts (ä,ö,ü) can be used easily. \\
Also greek characters can be written as math commands (\code|$\alpha, \beta, \gamma$| $\ra \alpha, \beta, \gamma$) or as unicode ($α, β, γ$). \\
This is also vailid for the math characters: $\int, \partial, \R$ or $∫, ∂, $.
\end{sectionbox}
\begin{sectionbox}
\subsection{Language}
The language can be choosen with the options \emph{english} or \emph{german}. \\
It is also possible to define a different language for a part of a document:
\code|\EngGer{|You have chosen the language option \emph{english}\code|}{|Du hast \emph{ngerman} als Sprachoption gewählt\code|}| \\
However, you can also switch to english in a german cheat sheet using \code|\selectlanguage{english}|. This guarantees that words are hyphenated correctly.
And back to german with \code|\selectlanguage{ngerman}| (use \emph{ngerman} not \emph{german}!)
\end{sectionbox}
\section{Images}
\begin{sectionbox}
Images can be included using the \code|\includegraphics| command.\\
Do not use figure environment.
The width should be set as a fraction of \code|\columnwidth|.
\begin{lstlisting}[language=tex]
\begin{center}
\includegraphics[width = 0.5\columnwidth]{Logo}
\end{center}
\end{lstlisting}
The \emph{includegraphics} command searches for images in \code|./| and \code|./img|. The file extension is added automatically.
\end{sectionbox}
\section{Conventions}
\begin{sectionbox}
\subsection*{Why?}
Different formatting is helpful for the understanding of: variables, constants, functions, fixed units, vectors, matrices, sets, complex values, random variables \ldots
\end{sectionbox}
\begin{sectionbox}
\subsection{General conventions for cheat sheets}
\begin{itemize}
\item Always the name first and the the symbol afterwards! \\ Example: "The angular velocity $\omega$, "The angular velocity \code|\omega|"
\item Densities are always set in small letters
\item Brackets around fractions or bigger equations are set with \code|\left|( ... \code|\right|)
\end{itemize}
\end{sectionbox}
\begin{sectionbox}
\subsection{Tables}
\begin{tablebox}{lll}
Line & B/W & Colored \\
\cmrule
Line on top & \code|\trule| & \code|\ctrule| \\
Linie in the middle & \code|\mrule| & \code|\cmrule| \\
Line at bottom & \code|\brule| & \code|\cbrule|
\end{tablebox}
%\subsubsection{In Planning}
% - Physikalische Größen bekommen eigenen Befehl z.B. "\code|\Stromdichte|" schreibt schräg/setzt Link
% - Eigene Formatierung für Namen z.B. \code|\name{Gauß}|
\end{sectionbox}
\begin{sectionbox}
\subsection{Boxes}
Different topics are categorized within boxes. The following types of boxes are availible:
\emph{sectionbox}: for a topic (grey)
\emph{tablebox}: for colored tables
\emph{symbolbox}: for units and symbols (orange)
\emph{emphbox}: for very important equations (red box)
\emph{topicbox}: for important overviews about the topic
For further information on how to use the different boxes please refer to section \ref{box_useage}.
\end{sectionbox}
\begin{sectionbox}
\subsection{Vectors and matrices}
\begin{tablebox}{ll}
vector symbol & \code|\vec r| \\
vector & \code|\vect{ x \\ y \\ z}| \\
transpose & \code|\vec r^\top| \\
matrix symbol & \code|\ma M| \\
matrix & \code|\mat{ a & b \\ c & d }| \\
tensor & \code|\tensor C|
\end{tablebox}
\end{sectionbox}
\begin{sectionbox}
\subsection{Indicies and superscript}
Depending on what the index refers to it should be set differently:
\begin{itemize}
\item $E_{\ir kin}$ (\code|E_{\ir kin}|) if an index refers to a word (e.g. "kinetic"). The command name \code|\ir| is an abbriviation for "index roman".
\item $E_x$ (\code|E_x|) if the index refers to a symbol (e.g. the $x$ compontent of the electromagnetic field). \\
\end{itemize}
The same difference also applies for the superscript (\code|^|).
\end{sectionbox}
\begin{sectionbox}
\subsection{Functions}
The trigonometric functions are usually set upright. Therefore the commands \code|\exp|, \code|\sin|, \code|\cos|, \code|\sinh|, \code|\cosh| and \code|\sinc| should be used. \\
%(\code|\si| anders besetzt, vl \code|\unit = \si|?)
Similar we can set:
Differential operators: \code|\grad|, \code|\div|, \code|\rot| and \code|\lpo|
Maximum, minium and limes operators: \code|\min|, \code|\max|and \code|\lim|
Stochastic operators: \code|\E|, \code|\Var| and \code|\Cov| \\
Transformations are usually set in italic letters: \code|\FT|, \code|\LT|, \code|\DFT|, \code|\ZT| and \code|\DTFT|
\end{sectionbox}
\begin{sectionbox}
\subsection{Complex values}
Complex variable: \code|\cx z |
Complex conjugate: \code|\cxc z|
Imaginary: \code|\i| or \code|\j| or \code|\k| (hypercomplex)
\end{sectionbox}
\section{Macros}
\begin{sectionbox}
\subsection{Own Macros for cheat sheets}
Arrows: $\ra, \Ra, \upa, \downa$
\end{sectionbox}
\begin{sectionbox}
\subsection{Own Macros in the \texttt{scientific} package}
\begin{tablebox}{ll}
Vectors and Matrices: & $\vec a = \vect{ 1 \\ 2}$ \quad $\ma M = \mat{1 & 2 \\ 3 & 4}$\\
Proper delta for differential equaions: & $\diff^3 x \diff y \diff z \frac{\diff f(x)}{\diff x}$ \\ \\
Functions:
SI Units: & $G =\SI{6,67e-11}{\kilogram\per\second\squared}$\\
Sets: & $\N \R \C$\\
Random variable: & $\X \Y \Z$\\
Stochastic: & $\P(\X = 3), \E(\X), \Var(\X)$\\
\end{tablebox}
Further information about the use of the \emph{scientific} package can be found in \emph{Scientific Package Documentation.pdf}
\end{sectionbox}
% note: there is no \capter because baseclass is scrartcl. Use \part
% PART =======================================================================================
%\part{Codebeispiele} % will start new page and reset section counter
% ============================================================================================
% DOCUMENT_END =================================================================
\end{document}

@ -1,203 +0,0 @@
% Technische Formelsammlung by Emu
% Dokumenteinstellungen
\documentclass[8pt,a5paper]{scrartcl}
% Pakete laden
\usepackage[a5paper]{geometry}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel} % Deutsche Sprache und Silbentrennung
\usepackage{multicol} % ermöglicht Seitenspalten
\usepackage{booktabs} % bessere Tabellenlinien
\usepackage{enumitem} % bessere Listen
\usepackage{graphicx} % Zum Bilder einfügen benötigt
\usepackage{pbox} %Intelligent parbox: \pbox{maximum width}{blabalbalb \\ blabal}
\usepackage{hyperref}
\usepackage{../template-files/latex4ei/scientific} % Eigenes Paket
% Dokumentbeschreibung
% ======================================================================
\title{\texttt{scientific.sty}}
\author{LaTeX4EI Package}
% Layout
% ======================================================================
% 15cm Breite(148mm), Höhe (210), Referenzpunkt 2,54cm
\setlength{\oddsidemargin}{-1.0cm} %Rand zur Buchmitte von links
\setlength{\evensidemargin}{-1.6cm} %Rand zur Buchmitte von links
\setlength{\textwidth}{12.2cm} %Rand nach außen
%Überschreibungen
\renewcommand{\arraystretch}{1.2}
\renewcommand{\thesection}{}
\renewcommand{\thesubsection}{\arabic{subsection}}
% Dokumentbeginn
\begin{document}
% Titel
\maketitle
% -------------------------------------------
% | scientific.sty |
% ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
% =============================================================================================================================
\begin{quotation}
Das Paket \texttt{scientific.sty} erweitert den Funktionsumfang der Mathematikumgebung in \LaTeX.
Es läd häufig benötigte Pakete und definiert Abkürzungen und wichtige Funktionen, um den Satz bestehender Befehle wie \verb#\sin, \max, ...# zu vervollständigen.
Ziel ist es mit dem Einbinden durch \verb#\usepackage{scientific}# eine solide und einfache Grundlage für wissenschaftliche Dokumentationen zu bieten ohne
dass der Autor eigene Macros schreiben muss.
Das Paket wurde von \href{www.latex4ei.de}{LaTeX4EI} erstellt. Es besteht keine Garantie auf Kompatibilität und korrekte Funktionsweise.
\end{quotation}
\subsection{Pakete}
Das Paket \verb#scientific# läd automatisch wichtige \LaTeX-Pakete. Diese können nach einbinden der \verb#scientific.sty# direkt verwendet werden und müssen nicht explizit geladen werden.\\
\begin{tabular}{ll}
\verb#amsmath# & Für erweiterte mahtematische Funktionen\\
\verb#amssymb# & Verschiedene Symbole\\
\verb#esint# & erweiterte Integralsymbole\\
\verb#xcolor# & Ermöglicht farbigen Text und Farbdefinitionen\\
\verb#mhchem# & Darstellung von chemischen Strukturformeln\\
& Beispiel: $\ce{2H3O+}$ \verb#\ce{2H3O+}#\\
\verb#siunitx# & SI gerechte Darstellung von Einheiten\\
& Beispiel: $\SI{3.5}{\meter\per\second}$ \verb#\SI{3.5}{\meter\per\second}#\\
\end{tabular}
Für eine genaue Beschreibung der einzelnen Pakete und deren zur Verfügung gestellten Funktionen, gibt es auf \href{www.ctan.org}{www.ctan.org} die entsprechende Dokumentation zu finden.
\subsection{Einheiten}
Das Paket \verb#siunitx# stellt Zahlen und Einheiten in SI gerechter Notation dar.
Die Hauptbefehle sind \verb#\num{<Zahl>}#, \verb#\si{<Einheit>}# und \verb#\SI{<Zahl>}{<Eineit>}#.
\verb#scientific# definiert noch \verb#\unitof{<Symbol>}#
Beispiele:\\
\begin{tabular}{ll}
$\num{32334.124e-12}$ & \verb#\num{32334.124e-12}#\\
$\si{\kilogram \meter \per \ampere \second \squared }$ & \verb#\si{\kilogram \meter \per \ampere \second \squared}#\\
$\SI{3.4e2}{\mega \watt \hour}$ & \verb#\SI{3.4e2}{\mega \watt \hour}#\\
$\unitof{n_0} = \si{\per \centi \meter \cubed}$ & \verb#\unitof{n_0} = \si{\per \centi \meter \cubed}#\\
\end{tabular}\\
\\
Als Einheiten können alle SI Einheiten wie \verb#\farad, \angstrom, \day#, \ldots\ sowie alle Prefixe \verb#\kilo, \deka, \micro#, usw.
verwendet werden.
\subsection{Neue Befehle}
Warum neue Befehle?
Auch wenn viele Formatierungen recht einfach mit den \LaTeX\ Grundbefehlen erreicht werden können, ist es sinnvoll für jeden Verwendungszweck eines Symbols einen eigene Befehl anzulegen. Viele Zeichen werden mit mehreren Bedeutungen vernküpft.
Außerdem ist es dadurch einfach eine Formatierung für das ganze Dokument an einer zentralen Stelle festzulegen. Nachträgliche Anpassungen müssen nicht an jeder Stelle extra geändert werden, sondern es reicht eine Änderung des eigenen Befehls.
Sollten Sie im Paket \verb#scientific.sty# noch wichtige Funktionen/Formatierungen vermissen, dann lassen Sie es uns wissen.
\subsection{Differentielles Delta „$\mathrm{d}$}
Das differentielle Delta ist eines der am häufigsten falsch dargestellten Zeichen. Es wird aufrecht geschrieben, mit kleinem Abstand zum vorherigen Term und keinem Abstand zur Variable.
Der einfache \LaTeX\ Code: \verb#\int x^2 dx# erzeugt $\int x^2 dx$.
Das ist vielleicht noch vertretbar aber spätestens bei mehreren Variablen sieht das nicht mehr schön aus.
\verb#\int f(x,y) dx dy# erzeugt $\int f(x,y) dx dy$. Mit dem neuen Befehl \verb#\diff# wird das „d“ immer richtig dargestellt.\\
\\
Differentielles Delta \quad $\diff x$ \quad \verb#\diff x#\\
\\
Beispiel: $\diff^3 x \diff y \diff z \frac{\diff f(x)}{\diff x}$ \qquad \verb#\diff^3 x \diff y \diff z \frac{\diff f(x)}{\diff x}#\\
\subsection{Vektoren und Matrizen}
Vektoren und Matrizen werden häufig in mathematischen Formeln genutzt. Deren Symbole sollten zum besseren Verständis durch spezielle Formatierungen von Symbolen für Variablen, Mengen, usw. abgegrenzt werden.\\
\\
\begin{tabular}{lll}
Vektorsymbol & $\vec a$ & \verb#\vec a#\\[0.5em]
Vektor & $\vect{ x_1 \\ x_2 }$ & \verb#\vect{ x_1 \\ x_2 }#\\[2em]
Matrixsymbol & $\ma A$ & \verb#\ma A#\\[0.5em]
Matrix & $\mat{ 1 & 2 \\ 3 & 4}$ & \verb#\mat{ 1 & 2 \\ 3 & 4}#\\[2em]
Norm & $\norm{\vec a}$ & \verb#\norm{\vec a}#\\
Spur & $\Sp \ma A$ & \verb#\Sp \ma A#\\
Determinante & $\det \ma A$ & \verb#\det \ma A#\\
\end{tabular}
\subsection{Komplexe Zahlen}
\begin{tabular}{lll}
Menge der kompl. Zahlen & $\C$ & \verb#\C#\\
Komplexe Zahl & $\cx z$ & \verb#\cx z#\\
Hyperkomplexe Zahl & $\hx h$ & \verb#\hx h#\\
Imaginäre Einheiten & $\i \j \k$ & \verb#\i \j \k#\\
Komplex Konjugiert & $\cxc z$ & \verb#\cxc z#\\
Realteil & $\Re{a+b\i}$ & \verb#\Re{a+b\i}#\\
Imaginärteil & $\Im{a+b\i}$ & \verb#\Im{a+b\i}#\\
\end{tabular}
\subsection{Mengen}
\begin{tabular}{lll}
Natürliche Zahlen & $\N$ & \verb#\N#\\
Reele Zahlen & $\R$ & \verb#\R#\\
Komplexe Zahlen & $\C$ & \verb#\C#\\
allg. Körper & $\K$ & \verb#\K#\\
Binäre Zahlen & $\B$ & \verb#\B#\\ \\
Vereinigung/OR & $\cupplus A$ & \verb#\cuplus#\\
Schnittmenge/AND & $\capdot B$ & \verb#\capdot#\\
Komplement & $A^\complement$ & \verb#A^\complement#\\
Das Innere & $\interior{A}$ & \verb#\interior{A}#\\
Landau & $\O$ & \verb#\O#\\
\end{tabular}
\subsection{Funktionen}
\begin{tabular}{lll}
Constant & $\const$ & \verb#\const#\\
Sinus Cardinalis & $\sinc$ & \verb#\sinc#\\
Triangular & $\tri$ & \verb#\tri#\\
Rectangle & $\rect$ & \verb#\rect#\\
Dirac & $\dirac$ & \verb#\dirac#\\
Heaviside & $\heavi$ & \verb#\heavi#\\
Gradient & $\grad$ & \verb#\grad#\\
Divergenz & $\div$ & \verb#\div#\\
Rotation & $\rot$ & \verb#\rot#\\
Laplaceoperator & $\lpo$ & \verb#\lpo#\\
Wellenoperator & $\waveop$ & \verb#\waveop#\\
\end{tabular}
\subsection{Stochastik}
\begin{tabular}{lll}
Wahrscheinlichkeit & $\P$ & \verb#\P#\\
Zufallsvariablen & $\X \Y \Z$ & \verb#\X \Y \Z#\\
Erwartungswert & $\E$ & \verb#\E#\\
Varianz & $\Var$ & \verb#\Var#\\
Covarianz & $\Cov$ & \verb#\Cov#\\
\end{tabular}
\subsection{Spektralanalyse}
\begin{tabular}{lll}
Fourier-trans. & $\FT$ & \verb#\FT#\\
Zeitdiskrete FT & $\DTFT$ & \verb#\DTFT#\\
Laplace-trans. & $\LT$ & \verb#\LT#\\
Z-trans & $\ZT$ & \verb#\ZT#\\
Diskrete FT & $\DFT$ & \verb#\DFT#\\
\end{tabular}
\subsection{Sonstiges}
Römische Zahlen \quad $\rom{iv},\rom{IV}$ \quad \verb#\rom{iv},\rom{IV}#
\end{document}

File diff suppressed because one or more lines are too long

@ -1,20 +0,0 @@
LaTeX4EI Template Date: 2015-04-01
Known Bugs: 1
#1 : Misplaced columnbreak between \section and \begin{sectionbox}
--------------------------------------------------------------------------------
Description: The multicolumn package inserts a column break if a section box
will not fit in the actual column. If a \section heading is placed before
that box it might remain on the previous column. The heading and the box
are split up and placed at different columns.
Work around: Insert a manual column break with "\columnbreak" BEFORE the
\section command.
© 2011-2015, LaTeX4EI

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 349 KiB

@ -1,173 +0,0 @@
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
% LaTeX4EI Example for Cheat Sheets
%
% @encode: UTF-8, tabwidth = 4, newline = LF
% @author: LaTeX4EI
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
% ======================================================================
% Document Settings
% ======================================================================
% possible options: color/nocolor, english/german, threecolumn
% default: color, english
\documentclass[english]{latex4ei/latex4ei_sheet}
% set document information
\title{Example\\ Cheat Sheet}
\author{LaTeX4EI} % optional, delete if unchanged
\myemail{info@latex4ei.de} % optional, delete if unchanged
% DOCUMENT_BEGIN ===============================================================
\begin{document}
% SECTION ====================================================================================
\section{Temporal Tests}
% ============================================================================================
Unicode Tests:\\
⊭⊨∫∬∮∯∝∂∑∑Σ∧∧„“” α $β$ a
% SECTION ====================================================================================
\section{Mathematik}
% ============================================================================================
\begin{sectionbox}
\subsection{Sinus, Cosinus}
Abstandtest
\begin{tablebox}{c|c|c|c|c||c|c|c|c}
$x$ & $0$ & $\pi / 6$ & $\pi / 4$ & $\pi / 3$ & $\frac{1}{2}\pi$ & $\pi$ & $1\frac{1}{2}\pi$ & $2 \pi$ \\
$\scriptstyle{ \varphi }$ & $\scriptstyle{0^\circ}$ & $\scriptstyle{30^\circ}$ & $\scriptstyle{45^\circ}$ & $\scriptstyle{60^\circ}$ & $\scriptstyle{90^\circ}$ & $\scriptstyle{180^\circ}$ & $\scriptstyle{270^\circ}$ & $\scriptstyle{360^\circ}$ \\ \cmrule
$\sin$ & $0$ & $\frac{1}{2}$ & $\frac{1}{\sqrt{2}}$ & $\frac{\sqrt 3}{2}$ & $1$ & $0$ & $-1$ & $0$ \\
$\cos$ & $1$ & $\frac{\sqrt 3}{2}$ & $\frac{1}{\sqrt 2}$ & $\frac{1}{2}$ & $0$ & $-1$ & $0$ & $1$ \\
$\tan$ & $0$ & $\frac{\sqrt{3}}{3}$ & $1$ & $\sqrt{3}$ & $\pm \infty$ & $0$ & $\mp \infty$ & $0$\\
\end{tablebox}
\subsection{$2 \times 2$ Matrix}
$\ma A = \mat{a & b\\ c & d}$ \quad\ $\ma A^{-1} = \frac{1}{\det \ma A} \mat{d & -b\\ -c& a}$ \quad\ \parbox{1.9cm}{ $\det(\ma A) = ad-bc$ \\[0.5em] $\Sp(\ma A) = a+d$ } \\
\\
\\
Eigenwerte $\displaystyle \lambda_{1/2} = \frac{\Sp \ma A}{2} \pm \sqrt{ \left( \frac{\Sp \ma A}{2} \right)^2 - \det \ma A }$
\begin{cookbox}{Eigenwertzerlegung}
\item Schritt 1
\item Schritt 2
\end{cookbox}
\end{sectionbox}
\begin{sectionbox}
\subsection{Fouriertransformation}
\begin{emphbox}
$\displaystyle \underset{\text{Zeitbereich}}{\large f(t)} \FT \underset{\text{Frequenzspektrum}}{\large F(\omega)} := \int\limits_{-\infty}^\infty f(t) \exp(-\i \omega t) \diff t$
\end{emphbox}
Anmerkung: Es gibt unterschiedliche Normungen ($1, \frac{1}{\sqrt{2\pi}}$)\\
\end{sectionbox}
% SECTION ====================================================================================
\section{Physik}
% ============================================================================================
\begin{symbolbox}
\renewcommand{\arraystretch}{1.5}
\begin{tabular}{rl}
\textbf{Naturkonstanten} & \\ \mrule
Lichtgeschwindigkeit & $\mathrm{c}_0 \equiv \frac{1}{\sqrt{\varepsilon_0 \mu_0}} := \SI{299 792 458}{\meter\per\second}$\\
Elementarladung & $\mathrm{e} \approx \SI{1.602 177e-19}{\coulomb}$\\
\textsc{Planck}-Konst. & $h \approx \SI{6,626 069 57e-34}{\joule\second}$\\
& $\hbar \equiv \frac{h}{2 \pi} \approx \SI{1.05457e-34}{\joule\second}$ \\
Elektr. Feldkonst. & $\varepsilon_0 = \SI{8.854 188e-12}{\farad\per\meter}$\\ % \equiv \frac{1}{\mu_0 c_0^2}
Magn. Feldkonst. & $\mu_0 := 4\pi \times \SI{e-7}{\henry\per\meter}$\\
\textsc{Avogadro}-Konst. & $\NA \approx \SI{6.022 141e23}{\per\mole}$\\
Atomare Masse & $\mathrm{u} \approx \SI{1.660 539e-27}{\kilogram}$\\
Elektronenmasse & $m_{\ir e} \approx \SI{9,109 383e-31}{\kilogram}$\\
Protonenmasse & $m_{\ir p} \approx \SI{1,674 927e-27}{\kilogram}$\\
Neutronenmasse & $m_{\ir n} \approx \SI{1,672 622e-27}{\kilogram}$\\
Gravitationskonst. & $\mathrm{G} \approx \SI{6,673 84e-11}{\kilogram\per\second\squared}$\\
\textsc{Boltzmann}-Konst. & $\kB \approx \SI{1.380 655e-23}{\joule\per\kelvin}$\\
\end{tabular}
\end{symbolbox}
\begin{sectionbox}
\subsection{Einheitpräfixe}
\begin{tablebox}{l | ccccccccc}
$10^\pm$ & $21$ & $18$ & $15$ & $12$ & $9$ & $6$ & $3$ & $2$ & $1$ \\ \cmrule
$+$ & $\underset{\ir zetta}{\si{\zetta}}$ & $\underset{\ir exa}{\si{\exa}}$ & $\underset{\ir peta}{\si{\peta}}$ & $\underset{\ir tera}{\si{\tera}}$ & $\underset{\ir giga}{\si{\giga}}$ & $\underset{\ir mega}{\si{\mega}}$ & $\underset{\ir kilo}{\si{\kilo}}$ & $\underset{\ir hecto}{\si{\hecto}}$ & $\underset{\ir deca}{\si{\deca}}$ \\
$-$ & $\underset{\ir zepto}{\si{\zepto}}$ & $\underset{\ir atto}{\si{\atto}}$ & $\underset{\ir femto}{\si{\femto}}$ & $\underset{\ir pico}{\si{\pico}}$ & $\underset{\ir nano}{\si{\nano}}$ & $\underset{\ir micro}{\si{\micro}}$ & $\underset{\ir milli}{\si{\milli}}$ & $\underset{\ir centi}{\si{\centi}}$& $\underset{\ir deci}{\si{\deci}}$
\end{tablebox}
\end{sectionbox}
\begin{sectionbox}
\subsection{Maxwellsche Gleichungen (Naturgesetze)}
\begin{emphbox}
\begin{tabular}{ll}
Gaußsches Gesetz: & Faradaysches ind. Gesetz\\
\large $\div \vec D = \varrho $ & \large $\rot \vec E + \frac{\partial \vec B}{\partial t} = 0$ \\[1em]
Quellfreiheit des magn. Feldes & Ampèrsches Gesetz\\
\large $\div \vec B = 0$ & \large $\rot \vec H = \vec j + \frac{\partial \vec D}{\partial t}$\\[0.3em]
\end{tabular}
\end{emphbox}
\end{sectionbox}
% SECTION ====================================================================================
\section{Informatik}
% ============================================================================================
\begin{sectionbox}
\subsection{c Programming Language}
% gobble indicates leading spaces. 1 tab = 4 spaces
\begin{lstlisting}[language=C, gobble=4]
#include <stdio.h>
int main(int argc, char *argv[]){
// global variables
float percent = 0.0f;
}
// custom functions
int readIntFromFile(path){
FILE *fp;
int i;
fp=fopen(path,"rb");
fscanf(fp, "%d\n", &i);
return i
}
\end{lstlisting}
\end{sectionbox}
% SECTION ====================================================================================
\section{Chemie}
% ============================================================================================
% latex4ei uses the "mhchem" package version 3. Use the \ce{...} command to typeset chemical equations
\begin{sectionbox}
\subsection{Bleibatterie}
\subsubsection{Reaktion an der positiven Elektrode}
\begin{center}
\boxed{$\ce{PbO2 + 3H+ +HSO4- +2e- <=>[\text{disch.}][\text{charge}] PbSO4 + 2H2O}$}
\end{center}
$\ce{O2}$ Entwicklung (Selbstentladung): $\ce{H2O -> 1/2O2 + 2H+ +2e-}$\\
Korrosion $\ce{Pb}$ (Alterung): $\ce{Pb + 2H2O -> PbO2 + 4H+ +4e-}$
\end{sectionbox}
% DOCUMENT_END =================================================================
\end{document}

@ -1,65 +0,0 @@
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
% LaTeX4EI Template for Cheat Sheets Version 1.0
%
% Authors: Emanuel Regnath, Martin Zellner
% Contact: info@latex4ei.de
% Encode: UTF-8, tabwidth = 4, newline = LF
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
% ======================================================================
% Document Settings
% ======================================================================
% possible options: color/nocolor, english/german, threecolumn
% defaults: color, english
\documentclass[english]{latex4ei/latex4ei_sheet}
% set document information
\title{LaTeX4EI \\ Cheat Sheet}
\author{LaTeX4EI} % optional, delete if unchanged
\myemail{info@latex4ei.de} % optional, delete if unchanged
\mywebsite{www.latex4ei.de} % optional, delete if unchanged
% ======================================================================
% Begin
% ======================================================================
\begin{document}
% Title
% ----------------------------------------------------------------------
\maketitle % requires ./img/Logo.pdf
% Section
% ----------------------------------------------------------------------
\section{Math}
\begin{sectionbox}
\subsection{Sinus}
Text goes here ...
\end{sectionbox}
\begin{sectionbox}
\subsection{Cosinus}
Text goes here ...
\end{sectionbox}
% ======================================================================
% End
% ======================================================================
\end{document}

@ -1,84 +0,0 @@
% document settings
\documentclass{latex4ei/latex4ei_report} % article
% fonts
%\renewcommand{\rmdefault}{cmr} % cmr, ptm, ppl, pnc, pbk
%\renewcommand{\sfdefault}{cmss} % cmss, phv pag
%\renewcommand{\familydefault}{\rmdefault} % set main font
\title{Assignment 2 Report}
\studentemail{myemail@server.com}
\author{John Smith}
\matrikelnr{03678902}
\setlength{\parindent}{0pt} % indent at new line
% document begin
\begin{document}
\maketitle
\begin{abstract}
The number of communication interfaces within modern vehicles are increasing and manufactures are replacing more and more mechanical solutions for control by electronics and software \cite{alarm}.
People want to access information from the internet while driving. While this could have a lot of benefits, it also has to be investigated whether these additional interfaces of a wireless car could open opportunities for hackers to attack the internal control systems of the car via the intra-vehicle communication protocols.
In this report I have summarized the concept and vulnerabilities of the FlexRay protocol which is considered as successor of CAN for safety critical components.
\end{abstract}
\vspace{1cm}
\section{Introduction}
% -------------------------------------------------
The number of communication interfaces for cars are continously increasing. Among them are cellular connectivity, wireless internet access and remote diagnostic. Also vehicle-to-vehicle and vehicle-to-infrastructure will probabliy cause a large scale of cyber attacks against modern vehicles \cite{safe}. If one of the ECUs is captured by an attacker, the question is whether he can gain access to more safety-critical components of the car. This question can be answered by investigating on the security features of todays in-vehicle communication protocols.
At first a short overview of the different protocols and their features is given. Table \ref{tab_protocols} summarizes the main properties of these protocols.
\subsection{CAN}
The Controler Area Network (CAN) is the a very common bus protocol in automotives and was developed in the 1980s. It is an event triggered protocol that sends the messages to all nodes. Each node decides according to the message ID if it wants to receive and read the message or not . The message ID is also used to indicate the priority to ensure the important messages are always transmitted first. CAN is quite robost against electromagnetic noise by using its differntial wiring combined with mechanisms to detect transmission errors. Additional it features fault localization and the ability to disconnect a fault controller \cite{wolf}.
\subsection{LIN}
The Local Interconnect Network (LIN) is a newer protocol, published in 2002 as version 1.3 and intended for a lower cost, single wire implementation. It is based on the on the Enhanced ISO9141 standard. There is one master and up to 16 slaves with dynamic address assignment. The data is transmitted serial with a data rate up to $\SI{20}{kbp/s}$. It also offers time synchronization for nodes that do not have a stable time basis \cite{edn}.
\section{Conclusion}
% -------------------------------------------------
Since FelxRay was designed for reliability and not especially for security it does not address most of the security properties. Therefore any device on the bus can listen to all messages that are sent between other devices and analyze the content. It was shown by several research groups that attacks exploiting FlexRay protocol are realistic and could be used to create unintended behavior of the vehicle.
With mechanisms already applied to many internet services the security of the FlexRay bus could be increased. These mechanisms include encryption, authentication signatures or special detection units that observe the bus traffic.
\begin{thebibliography}{1}
\bibitem{edn}
\url{http://www.edn.com/design/test-and-measurement/4391269/Debugging-automotive-serial-buses--CAN--LIN-and-FlexRay-exposed}, Accessed on 15/10/2015
\bibitem{nilsson}
Dennis K. Nilsson, Ulf E. Larson, Francesco Picasso, and Erland Jonsson -- \emph{A First Simulation of Attacks in the Automotive Network Communications Protocol FlexRay}, Springer-Verlag Berlin Heidelberg, 2009
\bibitem{attacker}
Nilsson, D.K., Larson, U.E. -- \emph{Simulated Attacks on CAN Buses: Vehicle virus.}, Proceedings of the Fifth IASTED Asian Conference on Communication Systems and Networks, 2008
\bibitem{alarm}
Sabarathinam Chockalingam and Harjinder S. Lallie -- \emph{Alarming! Security Aspects of the Wireless Vehicle: Review}, International Journal of Cyber-Security and Digital Forensics, 2014
\bibitem{safe}
Gang Han, Haibo Zeng, Yaping Li, and Wenhua Dou -- \emph{SAFE: Security-Aware FlexRay Scheduling Engine}, IEEE, 2014
\bibitem{specs}
\emph{FlexRay Communications System}, Protocol Specification, Version 3.0.1
\bibitem{wolf}
Marko Wolf, André Weimerskirch, and Christof Paar -- \emph{Security in Automotive Bus Systems}, Proceedings of the Workshop on Embedded Security in Cars (escar)04, 2004
\bibitem{fujitsu}
Fujitsu Microelectronics \emph{Next Generation Car Network - FlexRay}, 2006
\end{thebibliography}
\end{document}

Binary file not shown.

@ -35,12 +35,10 @@
% Section
% ----------------------------------------------------------------------
\input{themen/Mengenlehre/main.tex}
\section{Mengenlehre}
\input{themen/Mengenlehre/definition.tex}
\input{themen/Mengenlehre/operations.tex}
% ======================================================================

@ -0,0 +1,331 @@
%
% Macros for LaTeX4EI
%
% Authors: Emanuel Regnath, Martin Zellner
% Contact: info@latex4ei.de
% Version: 1.0
% License: TBD
%
% © 2011-2015, LaTeX4EI
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{latex4ei}[2013/05/06 Macros for LaTeX4EI]
% Options
% ----------------------------------------------------------------------
\newif\ifcolor\colortrue
\def\thelanguage{english}
\DeclareOption{color}{\colortrue}
\DeclareOption{nocolor}{\colorfalse}
\DeclareOption{german}{\def\thelanguage{ngerman}}
\DeclareOption{english}{\def\thelanguage{english}}
\ProcessOptions\relax
% ======================================================================
% Basic Settings
% ======================================================================
% Identify Compiler
% ----------------------------------------------------------------------
\RequirePackage{ifxetex}
% Check compiler. Hint: delete aux files if changing the compiler
\ifxetex%
%\@namedef{ver@fixltx2e.sty}{9999/12/31}%
%XeLaTeX
\PassOptionsToPackage{no-math}{fontspec}
\RequirePackage{xltxtra}
\defaultfontfeatures{Scale=MatchLowercase,Mapping=tex-text}
% for unicode decalarations
%\let\DeclareUnicodeCharacter\newunicodechar
\setmainfont{Times New Roman}
\setromanfont{Times New Roman}
\setsansfont{Helvetica}
% some hacking for scientific.sty
\AtBeginDocument{
\renewcommand{\C}{\mathbb C}
\renewcommand{\B}{\mathbb B}
}
\else
% pdfLaTeX
\RequirePackage[utf8]{inputenc} % UTF-8 input
\RequirePackage{latex4ei/latex4ei_unicode} % UTF-8 input of math symbols
\InputIfFileExists{glyphtounicode}{\pdfgentounicode=1}{} % Glyph-to-Unicode Translation (needs PdfTex >=1.4)
%\RequirePackage{textcomp} % get rid of font warnings
%\pdfminorversion=6 % for 3D Objects
%\RequirePackage[osf]{mathpazo} % old style numbering
\fi
% Basic LaTeX Settings
% ----------------------------------------------------------------------
\pretolerance=60
\tolerance=2000
\doublehyphendemerits=10000 % No consecutive line hyphens.
\brokenpenalty=10000 % No broken words across columns/pages.
\widowpenalty=9999 % Almost no widows at bottom of page.
\clubpenalty=9999 % Almost no orphans at top of page.
\interdisplaylinepenalty=100
\interfootnotelinepenalty=9999 % Almost never break footnotes.
% Save \title, \author, \date before \maketitle
\RequirePackage[pagebackref=true,pdfpagelabels]{hyperref}
% Title
\makeatletter
\renewcommand{\title}[1]{%
\gdef\@title{#1}%
\gdef\thetitle{#1}
\pdfstringdef{\@pdftitle}{\@title}%
\hypersetup{pdftitle=\@pdftitle}%
}
% Institution
\providecommand{\institution}[1]{
\gdef\theinstitution{#1}
}
% Author
\renewcommand{\author}[1]{%
\gdef\@author{#1}%
\gdef\theauthor{#1}
\pdfstringdef{\@pdfauthor}{\@author}%
\hypersetup{pdfauthor=\@pdfauthor}%
}
% Date
\global\let\thedate\@date
\renewcommand{\date}[1]{%
\gdef\@date{#1}%
\gdef\thedate{#1}
}
\makeatother
% Email
\providecommand{\myemail}[1]{\gdef\theemail{#1}}
% Web page
\providecommand{\mywebsite}[1]{\gdef\thewebsite{#1}}
% Date with git commit number
\providecommand{\mydate}[1]{\gdef\themydate{#1}}
% set defaults
\author{LaTeX4EI}
\title{A LaTeX4EI Document}
\myemail{info@latex4ei.de}
\mywebsite{www.latex4ei.de}
\mydate{\today}
\AtBeginDocument{
% set pdfoptions
\hypersetup{
pdftitle={\thetitle},
pdfauthor={\theauthor},
pdfcreator={LaTeX4EI template (www.latex4ei.de)},
pdfkeywords={latex4ei}
}
}
% Language
% ----------------------------------------------------------------------
\RequirePackage[english, ngerman]{babel}
\RequirePackage{iflang}
\providecommand{\EngGer}[2]{\IfLanguageName{english}{#1}{#2}}
\expandafter\selectlanguage\expandafter{\thelanguage}
\AtBeginDocument{\expandafter\selectlanguage\expandafter{\thelanguage}}
% Graphics
% ----------------------------------------------------------------------
\RequirePackage{graphicx} % for including images
\graphicspath{ {img/} {gfx/} } % set default search paths for figures
%\RequirePackage{tikz} % tikz graphics
%\RequirePackage{multirow} % multirow text
% ======================================================================
% Colors
% ======================================================================
\RequirePackage{latex4ei/latex4ei_colors}
\ifcolor
\colorlet{col_chapter_num}{tum_gray}
\colorlet{col_chapter}{tum_blue_dark}
\colorlet{col_section}{tum_blue_dark}
\colorlet{col_subsection}{tum_blue_dark}
\colorlet{col_subsubsection}{black}
\colorlet{col_paragraph}{black}
\colorlet{col_link}{tum_blue_dark}
\colorlet{col_table}{tum_blue_dark}
\colorlet{col_figure}{tum_blue_dark}
\colorlet{col_itemize}{tum_blue_dark}
\colorlet{col_lst}{tum_blue_dark}
\colorlet{col_lst_keyword}{tum_blue}
\colorlet{col_lst_comment}{tum_green_leaf}
\colorlet{col_lst_string}{tum_orange}
\colorlet{col_lst_number}{tum_gray_dark}
\else
\colorlet{col_chapter_num}{tum_gray}
\colorlet{col_chapter}{black}
\colorlet{col_section}{black}
\colorlet{col_subsection}{black}
\colorlet{col_subsubsection}{black}
\colorlet{col_paragraph}{black}
\colorlet{col_ref}{black}
\colorlet{col_link}{black}
\colorlet{col_table}{black}
\colorlet{col_figure}{black}
\colorlet{col_itemize}{black}
\colorlet{col_lst}{black}
\colorlet{col_lst_keyword}{black}
\colorlet{col_lst_comment}{tum_gray}
\colorlet{col_lst_string}{black}
\colorlet{col_lst_number}{tum_gray_dark}
\fi
\hypersetup{
colorlinks=true,
linkcolor=col_link,
urlcolor=col_link,
citecolor=col_link,
}
% ======================================================================
% Macros
% ======================================================================
% Formatting adjustments
% ----------------------------------------------------------------------
\RequirePackage{accents} % accent dots for derivation
% Thicker dots for derivatives
\renewcommand*{\dot}[1]{\accentset{\mbox{\textrm{\large\bfseries .}} }{#1}}
\renewcommand*{\ddot}[1]{\accentset{\mbox{\textrm{\large\bfseries .\hspace{-0.25ex}.}}}{#1}}
\renewcommand*{\dddot}[1]{\accentset{\mbox{$\overset{\textrm{\large\bfseries .}}{\textrm{\large\bfseries.\hspace{-0.25ex}.}}$}}{#1}}
% Shortcuts for symbols
% ----------------------------------------------------------------------
\providecommand{\ul}[1]{\ensuremath{\underline{#1}}} % Underline
\providecommand{\ol}[1]{\ensuremath{\overline{#1}}} % Overline
\providecommand{\bs}[1]{\ensuremath{\boldsymbol{#1}}} % Bold and italic in mathmode
\providecommand{\Ra}{\ensuremath{\Rightarrow}} % Rightarrow
\providecommand{\ra}{\ensuremath{\rightarrow}} % Rightarrow
\providecommand{\lra}{\ensuremath{\longrightarrow}} % Longrightarrow
\providecommand{\upa}{\ensuremath{\uparrow}}
\providecommand{\downa}{\ensuremath{\downarrow}}
\providecommand{\bdot}{\ensuremath{\boldsymbol \cdot}} % Thick dot for vector product
\providecommand{\svdots}{\ensuremath{\olddot :}} % Small vertical dots
\providecommand{\shdots}{\ensuremath{\!\cdot \!\cdot\!\cdot\!}} % Small horizontal dots
% Terms and definitions
% ----------------------------------------------------------------------
% Define BibTeX command
\def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
% ToDo Command
\makeatletter
\providecommand{\todo}[1]{%
\textcolor{red}{\bf ToDo:\@ifundefined{@captype}{\marginpar{\color{red}\bf ToDo!}}{\relax} #1} %check for float environments
}
\makeatother
% Special term
\providecommand{\term}[1]{\textit{#1}}
% Related work
\providecommand{\work}[1]{\textit{#1}}
% Email
\providecommand{\email}[1]{\href{mailto:#1}{\nolinkurl{#1}}}
% References and Links
% ----------------------------------------------------------------------
% several ref macros
\providecommand\figureref[1]{\hyperref[#1]{\figurename~\ref*{#1}}}
\providecommand\figurepageref[1]{\figureref{#1}(p.~\pageref{figure:#1})}
\providecommand\tableref[1]{\hyperref[#1]{\tablename~\ref*{#1}}}
\providecommand\tablepageref[1]{\tableref{#1}(p.~\pageref{table:#1})}
\providecommand\sourcecoderef[1]{\hyperref[#1]{\lstlistingname~\ref*{#1}}}
\providecommand\sourcecodepageref[1]{\sourcecoderef{#1}(p.~\pageref{sourcecode:#1})}
\providecommand\chapterref[1]{\chaptername~\ref*{\chaptername:#1}(p.~\pageref{chapter:#1})}
\providecommand\sectionref[1]{\textsection~\ref*{section:#1}(p.~\pageref{section:#1})}
\providecommand\appendixref[1]{\appendixname~\ref*{appendix:#1}(p.~\pageref{appendix:#1})}
% break also on hyphens inside the \url command
\def\UrlBreaks{\do\.\do\@\do\\\do\/\do\!\do\_\do\|\do\;\do\>\do\]%
\do\)\do\,\do\?\do\'\do+\do\=\do\#\do-} % \do- is new!
% ======================================================================
% Environments
% ======================================================================
\RequirePackage{caption}
% Tables
% ----------------------------------------------------------------------
\captionsetup[table]{labelfont={color=col_table,sf},textfont={sf,small}}
% table rules
\def\trule{\noalign{\vspace{1pt}\hrule\hrule\vspace{2pt}}} % top rule
\def\mrule{\noalign{\vspace{1pt}\hrule\vspace{2pt}}} % middle rule
\def\brule{\noalign{\vspace{2pt}\hrule\hrule\vspace{1pt}}} % bottom rule
% colored table rules
%\def\ctrule{\noalign{{\color{col_table}\hrule\hrule}\vspace{2pt}}} % colored top rule
%\def\cmrule{\noalign{\vspace{1pt}{\color{col_table}\hrule}\vspace{2pt}}} % colored middle rule
%\def\cbrule{\noalign{\vspace{2pt}{\color{col_table}\hrule\hrule}}} % colored bottom rule
% TDB
\def\ctrule{\noalign{\vspace{1pt}\begingroup\color{col_table}\hrule\hrule\endgroup\vspace{2pt}}} % colored top rule
\def\cmrule{\noalign{\vspace{1pt}\begingroup\color{col_table}\hrule\endgroup\vspace{2pt}}} % colored middle rule
\def\cbrule{\noalign{\vspace{2pt}\begingroup\color{col_table}\hrule\hrule\endgroup\vspace{1pt}}} % colored bottom rule
% Figures
% ----------------------------------------------------------------------
\captionsetup[figure]{labelfont={color=col_figure,sf},textfont={sf,small}}
% Sourcecode listings
% ----------------------------------------------------------------------
\RequirePackage{listings}
\lstset{
basicstyle=\normalsize\tt\lst@ifdisplaystyle\small\fi,
tabsize=4,
%gobble=auto, % skip initial tabs %not supported yet
numbers=none, % switch numbers on: left
numberstyle=\tiny\sf\color{col_lst_number},
numbersep=1em,
keepspaces=true,
keywordstyle=\color{tum_blue_dark},
commentstyle=\color{col_lst_comment},
stringstyle=\color{col_lst_string},
captionpos = t,
frame = tb,
%framextopmargin={\smallskipamount},
%framexbottommargin={\smallskipamount},
framerule=1pt,
rulecolor = \color{col_lst},
}
\captionsetup[lstlisting]{labelfont={color=col_figure,sf},textfont={sf,small}}
% Inline code listings
\let\code\lstinline

@ -0,0 +1,186 @@
%
% Boxes for LaTeX4EI
%
% Authors: Emanuel Regnath, Martin Zellner
% Contact: info@latex4ei.de
% Version: 1.0
% License: TBD
%
% © 2011-2015, LaTeX4EI
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{latex4ei_boxes}[2015/02/06 Boxes for LaTeX4EI]
% Packages
% ----------------------------------------------------------------------
\RequirePackage{mdframed} % package to make frames for exaples, definitions and theorems
\RequirePackage{enumitem}
\RequirePackage{latex4ei/latex4ei_colors} % color definitions
% ======================================================================
% Styles
% ======================================================================
% Basic box
% ----------------------------------------------------------------------
\mdfdefinestyle{specialbox}{
% Outer Margins
leftmargin=0mm,
rightmargin=0mm,
startcode={\vspace{0.4em}}, % FIX: spacing bug on nested frames
endcode={\vspace{0.4em}}, % FIX: spacing bug on nested frames
skipabove=0mm, % FIX: spacing bug on nested frames
skipbelow=0mm, % FIX: spacing bug on nested frames
% inner margins
innertopmargin=1mm,
% frame
linewidth=0.3mm
}
% Sectionbox: provides grey boxes for better readablitity of sections
% ----------------------------------------------------------------------
\global\mdfdefinestyle{sectionbox}{
startcode={\makeatother\if@nobreak\vspace{3cm}\null\vspace{-3cm}\fi\makeatletter}, % FIX: breaks 3cm after section
nobreak=true, % FIX: unwanted behavior with multicolumn
% Margin left, right, bottom and top of the boxes (-1 mm for higher width)
leftmargin=-1mm,
rightmargin=-1mm,
skipbelow=1mm,
skipabove=1mm,
% Inner margin of the content of the box
innerleftmargin=1mm,
innerrightmargin=1mm,
innertopmargin=1mm,
% Colors of lines and background
backgroundcolor=col_sectionbox!3,
linecolor=col_sectionbox
}
% Emphbox: box with red line around for important definitions
% ----------------------------------------------------------------------
\global\mdfdefinestyle{emphbox}{
% basic style
style=specialbox,
align=center,
% background color
backgroundcolor=lightyellow,
% frame color
linecolor=col_emphbox
}
% Symbolbox
% ----------------------------------------------------------------------
\global\mdfdefinestyle{symbolbox}{
% basic style
style=specialbox,
% background color
backgroundcolor=col_symbolbox!5,
% orange outer line
linecolor=col_symbolbox
}
% Bluebox
% ----------------------------------------------------------------------
\global\mdfdefinestyle{bluebox}{
% basic style
style=specialbox,
% show only top and bottom line
hidealllines=true,
topline=true,
bottomline=true,
% background
backgroundcolor=col_cookbox!5,
% Line color
linecolor=col_cookbox,
% Title
frametitlerule=true,
frametitlebackgroundcolor=col_cookbox!5,
frametitlealignment=\centering,
frametitleaboveskip=1mm,
frametitlebelowskip=1mm
}
% Tablebox
% ----------------------------------------------------------------------
\global\mdfdefinestyle{tablebox}{
% basic style
style=specialbox,
% show only top and bottom line
hidealllines=true,
topline=true,
bottomline=true,
% inner margin
innerleftmargin=0em,
innerrightmargin=0em,
% Color
backgroundcolor=col_table!5,
% Title
frametitlerule=true,
frametitlebackgroundcolor=col_table!5,
frametitleaboveskip=1mm,
frametitlebelowskip=1mm,
% line color
linecolor=col_table
}
% ======================================================================
% Environments
% ======================================================================
% sectionbox
% ----------------------------------------------------------------------
\newmdenv[style=sectionbox]{sectionbox}
% bluebox
% ----------------------------------------------------------------------
\newmdenv[style=bluebox]{bluebox}
% emphbox
% ----------------------------------------------------------------------
\newmdenv[style=emphbox, startinnercode={\centering}]{emphbox}
\newmdenv[style=emphbox]{emphbox*}
% symbolbox
% ----------------------------------------------------------------------
\newmdenv[style=symbolbox]{symbolbox}
% tablebox
% ----------------------------------------------------------------------
\newmdenv[style=tablebox]{tableboxframe}
\newenvironment{tablebox}[1]{
% beginning
\setlength{\tabcolsep}{4pt}
\begin{tableboxframe}%[frametitle=\begin{tabular*}{\columnwidth}{@{\extracolsep\fill}#1@{}}#2\end{tabular*}]
\begin{tabular*}{\columnwidth}{@{\extracolsep\fill}#1@{}}%
}{
%ending
\end{tabular*}%
\end{tableboxframe}
}
\newenvironment{tablebox*}[1]{
% beginning
\setlength{\tabcolsep}{4pt}
\begin{tableboxframe}
\centering
\begin{tabular}{@{}#1@{}}%
}{
%ending
\end{tabular}%
\end{tableboxframe}
}
% cookbox
% ----------------------------------------------------------------------
\newenvironment{cookbox}[1]{
\begin{bluebox}[frametitle=#1]
\begin{enumerate}[label=\bfseries\arabic*.]
}{
\end{enumerate}
\end{bluebox}
}
% Ende von \input
\endinput

@ -0,0 +1,85 @@
%
% latex package with color scheme
%
% Authors: Emanuel Regnath, Martin Zellner
% Contact: info@latex4ei.de
% Version: 1.0
% License: TBD
%
% © 2011-2015, LaTeX4EI
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{latex4ei_colors}[2015/03/30 Colors for LaTeX4EI]
% Packages
% ----------------------------------------------------------------------
\RequirePackage{xcolor}
% Own Macros
% ----------------------------------------------------------------------
% define command to provide colors
\makeatletter
\providecommand{\providecolor}[2]{%
\@ifundefinedcolor{#1}{\colorlet{#1}{#2}}{}}
\makeatother
% ======================================================================
% Color Scheme
% ======================================================================
% TUM Color Palette
% ----------------------------------------------------------------------
% Note: The following color definitions are copied
% from the official TUM Styleguide
% the tum logo color
\definecolor{col_tum_logo}{RGB}{0, 101, 189} % Pantone 300
% additional blue colors
\definecolor{tum_blue_dark2}{RGB}{0, 51, 89} % Pantone 540
\definecolor{tum_blue_dark}{RGB}{0, 82, 147} % Pantone 301
\definecolor{tum_blue}{RGB}{0, 115, 207} % Pantone 285
\definecolor{tum_blue_light}{RGB}{100, 160, 200} % Pantone 542
\definecolor{tum_blue_light2}{RGB}{152, 198, 234} % Pantone 283
% emphasize colors
\definecolor{tum_green}{RGB}{162, 173, 0} % Pantone 383
\definecolor{tum_orange}{RGB}{227, 114, 34} % Pantone 158
\definecolor{tum_elfenbein}{RGB}{218, 215, 203} % Pantone 7527
% gray colors
\definecolor{tum_gray_dark}{RGB}{88, 88, 90}
\definecolor{tum_gray}{RGB}{156, 157, 159}
\definecolor{tum_gray_light}{RGB}{217, 218, 219}
% advanced colors
\definecolor{tum_purple}{RGB}{105, 8, 90}
\definecolor{tum_purple_dark}{RGB}{15, 27, 95}
\definecolor{tum_blue_ocean}{RGB}{0, 119, 138}
\definecolor{tum_green_leaf}{RGB}{0, 124, 48}
\definecolor{tum_green_grass}{RGB}{103, 154, 029}
\definecolor{tum_yellow}{RGB}{255, 220, 0}
\definecolor{tum_yellow_dark}{RGB}{249, 186, 0}
\definecolor{tum_orange_dark}{RGB}{214, 76, 19}
\definecolor{tum_red}{RGB}{196, 7, 27}
\definecolor{tum_red_dark}{RGB}{156, 13, 22}
% Own colors (deprecated)
% ----------------------------------------------------------------------
\definecolor{lightblue}{RGB}{235,235,255}
\definecolor{lightred}{RGB}{255,240,240}
\definecolor{lightgreen}{RGB}{240,255,240}
\definecolor{lightyellow}{RGB}{255,255,240}
\definecolor{lightblue}{RGB}{220, 240, 247}
\definecolor{darkblue}{RGB}{23,110,138}
\definecolor{notsodarkblue}{RGB}{119,193,214}
\definecolor{tablecolor}{RGB}{0,128,0}
\definecolor{lila}{RGB}{128,0,128}
\definecolor{latex4eiblau}{RGB}{86,124,136}
\definecolor{latex4eigruen}{RGB}{150,163,110}

@ -0,0 +1,297 @@
%
% Report class from LaTeX4EI
%
% Authors: Emanuel Regnath, Martin Zellner
% Contact: info@latex4ei.de
% Version: 1.0
% License: TBD
%
% © 2011-2015, LaTeX4EI
\NeedsTeXFormat{LaTeX2e}[1996/12/01]
\ProvidesClass{latex4ei_report}[2015/03/15]
% ======================================================================
% Options
% ======================================================================
% forward options to latex4ei package
\DeclareOption{color}{\PassOptionsToPackage{color}{latex4ei/latex4ei}}
\DeclareOption{nocolor}{\PassOptionsToPackage{nocolor}{latex4ei/latex4ei}}
% define baseclass
\def\baseclass{scrartcl}
% set default options for base class
\PassOptionsToClass{a4paper, 11pt}{\baseclass}
% pass unknown options to base class
\DeclareOption*{%
\PassOptionsToClass{\CurrentOption}{\baseclass}%
}
% process options
\ProcessOptions\relax
% load baseclass
\LoadClass{\baseclass}
% ======================================================================
% Packages
% ======================================================================
% pass options to packages
\PassOptionsToPackage{table}{xcolor}
% load latex4ei packages
\RequirePackage{latex4ei/scientific} % scientific macros for LaTeX4EI
\RequirePackage{latex4ei/latex4ei} % base definitions for LaTeX4EI (privat)
\RequirePackage{abstract}
% ======================================================================
% Color Scheme
% ======================================================================
% Set Color Scheme
% ----------------------------------------------------------------------
\definecolor{url}{gray}{0.6}
% ======================================================================
% Fonts
% ======================================================================
% Font Settings
% ----------------------------------------------------------------------
% font
%\RequirePackage[osf]{mathpazo} % old style numbering
\renewcommand{\rmdefault}{ppl} % cmr, ptm, ppl, pnc, pbk
%\renewcommand{\sfdefault}{cmss} % cmss, phv pag
\shorthandoff{"} % don't convert "A to Ä!
% calculate linespacing based on font size
% char per line: 85
\RequirePackage{setspace}
\linespread{1.3}\selectfont
%\usepackage{microtype} % Verbesserung des Kernings, Achtung kompilezeit!
% ======================================================================
% Title
% ======================================================================
\newcommand*{\@chair}{}
\newcommand*{\chair}[1]{\gdef\@chair{#1}}
\newcommand*{\@university}{}
\newcommand*{\university}[1]{\gdef\@university{#1}}
\newcommand*{\@professor}{}
\newcommand*{\professor}[1]{\gdef\@professor{#1}}
\newcommand*{\@supervisors}{}
\newcommand*{\supervisors}[1]{\gdef\@supervisors{#1}}
\newcommand*{\@startdate}{}
\newcommand*{\startdate}[1]{\gdef\@startdate{#1}}
\newcommand*{\@finaldate}{}
\newcommand*{\finaldate}[1]{\gdef\@finaldate{#1}}
\newcommand*{\@matrikelnr}{}
\newcommand*{\matrikelnr}[1]{\gdef\@matrikelnr{#1}}
\newcommand*{\@studentemail}{}
\newcommand*{\studentemail}[1]{\gdef\@studentemail{#1}}
\def\maketitle{%
\begin{centering}
\vspace{1cm}
\begin{huge}
\textbf{\sffamily\@title}
\end{huge}\\[2em]
{\large \@author} \\[1em]
Registration no. \@matrikelnr \\
E-mail: \email{\@studentemail} \\[2em]
\end{centering}
\thispagestyle{empty}
}
% ======================================================================
% Layout
% ======================================================================
% Page Layout
% ----------------------------------------------------------------------
\RequirePackage{geometry}
\geometry{hmargin=2.5cm, top=3cm, bottom=3.2cm}
\def\mparsetup{%
\sffamily\scriptsize %
\linespread{0.9}\selectfont%
\parindent=0pt \lineskip=0pt \lineskiplimit=0pt %
\tolerance=2000 \hyphenpenalty=300 \exhyphenpenalty=300%
\doublehyphendemerits=100000%
\finalhyphendemerits=\doublehyphendemerits}
\let\oldmarginpar\marginpar % save old command
\renewcommand{\marginpar}[1]{\oldmarginpar[\mparsetup\raggedleft\hspace{0pt}{#1}]{\mparsetup\raggedright\hspace{0pt}{#1}}}
% Footnotes
% ----------------------------------------------------------------------
\long\def\@makefntext#1{%
\leftskip 0pt
\parindent 0pt
\everypar{\parindent 0pt}%
\leavevmode\llap{\@thefnmark\hskip\marginparsep}#1} % footnote number in margin
\renewcommand\footnoterule{%
\kern-3\p@
\hrule\@width \columnwidth
\kern2.6\p@}
\skip\@mpfootins=4pt
% Sections
% ----------------------------------------------------------------------
\RequirePackage{titlesec}
%\titleformat{ command }[ shape ]{ format }{ label }{ sep }{ before }[ after ]
%\titlespacing*{ command }{ left }{ beforesep }{ aftersep }[ right ]
\titleformat{\section}{\sf\bfseries\LARGE\color{col_section}}{\thesection.\ }{0em}{}
\titleformat{\subsection}{\sf\bfseries\Large\color{col_subsection}}{\thesubsection.\ }{0em}{}
\titleformat{\subsubsection}{\scshape\large\color{col_subsubsection}}{\thesubsubsection.\ }{0em}{}
% ======================================================================
% Lists & Equations
% ======================================================================
%\setlength{\itemsep}{\baselineskip}
\setlength{\itemsep}{0pt}
\RequirePackage{enumitem}
\setitemize{itemsep=0pt}
\setenumerate{itemsep=0pt}
% ======================================================================
% Float Environments
% ======================================================================
\RequirePackage{caption}
% Idea: short caption (for LOF) in bold, rest of caption as normal text
% Figures
% ----------------------------------------------------------------------
\RequirePackage{graphicx} % for different input formats
\RequirePackage{pdfpages}
%\RequirePackage{media9} % for flash and 3D Objects
\RequirePackage[sf,SF]{subfigure} % Subfigures, sans-serif counters
\makeatletter
\renewcommand\p@subfigure{\thefigure}
\renewcommand{\thefigure}{\@arabic\c@figure}
\renewcommand{\thesubfigure}{\alph{subfigure})}
\makeatother
\captionsetup[figure]{labelfont={color=col_figure,sf},textfont={sf,small}}
% ======================================================================
% Macros
% ======================================================================
% Names
\providecommand{\name}[1]{\mbox{\textsc{#1}}}
\providecommand{\Prof}{Prof.~}
\providecommand{\Dr}{Dr.~}
\providecommand{\DiplIng}{Dipl.-Ing.~}
\providecommand{\MSc}{M.~Sc.~}
\providecommand{\habil}{habil.~}
\providecommand{\PD}{PD~}
% Abbreviations
%\newcommand{\cf}{cf.\@\xspace}
\newcommand{\ea}{\& al.\@\xspace}
\newcommand{\eg}{e.\,g.\@\xspace}
\newcommand{\etc}{etc.\@\xspace}
\renewcommand{\iff}{if and only if\xspace}
\newcommand{\ie}{i.\,e.\@\xspace}
\newcommand{\wrt}{with respect to\xspace}
\newcommand{\wlg}{without loss of generality\xspace}
\newcommand{\Wlg}{Without loss of generality\xspace}
% ======================================================================
% Others
% ======================================================================
% References and Links
% ----------------------------------------------------------------------
\hypersetup{
pdfcreator={LaTeX2e},
pdfborder=0 0 0,
breaklinks=true,
bookmarksopen=true,
bookmarksnumbered=true,
linkcolor=col_link,
urlcolor=col_link,
citecolor=col_link,
colorlinks=true
}
% backref style
\renewcommand*{\backref}[1]{(cited on p. #1)}
% Sourcecode listings
% ----------------------------------------------------------------------
\RequirePackage{listings}
\lstset{
basicstyle=\normalsize\tt\lst@ifdisplaystyle\small\fi,
tabsize=4,
%gobble=auto, % skip initial tabs %not supported yet
numbers=none, % switch numbers on: left
numberstyle=\tiny\sf\color{col_lst_number},
numbersep=1em,
keepspaces=true,
keywordstyle=\color{tum_blue_dark},
commentstyle=\color{col_lst_comment},
stringstyle=\color{col_lst_string},
captionpos = t,
frame = tb,
%framextopmargin={\smallskipamount},
%framexbottommargin={\smallskipamount},
framerule=1pt,
rulecolor = \color{col_lst},
}
\captionsetup[lstlisting]{labelfont={color=col_figure,sf},textfont={sf,small}}
% Inline code listings
\let\code\lstinline
\endinput

@ -0,0 +1,242 @@
%
% Layout, Macros for LaTeX4EI
%
% Authors: Emanuel Regnath, Martin Zellner
% Contact: info@latex4ei.de
% Version: 1.0
% License: CC-BY-NC-SA
%
% © 2011-2015, LaTeX4EI
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{latex4ei_sheet}[2014/03/30 Cheet Sheet Template from LaTeX4EI]
% ======================================================================
% Options
% ======================================================================
% forward options to latex4ei package
% ----------------------------------------------------------------------
\newif\ifcolor\colortrue
\DeclareOption{color}{\colortrue\PassOptionsToPackage{color}{latex4ei}}
\DeclareOption{nocolor}{\colorfalse\PassOptionsToPackage{nocolor}{latex4ei}}
\DeclareOption{german}{\colorfalse\PassOptionsToPackage{german}{latex4ei}}
\DeclareOption{english}{\colorfalse\PassOptionsToPackage{english}{latex4ei}}
% make three column design possible
% ----------------------------------------------------------------------
\newcounter{columnnumber}
\setcounter{columnnumber}{4}
\DeclareOption{threecolumn}{\setcounter{columnnumber}{3}}
% mobile version
% ----------------------------------------------------------------------
\newif\ifmobile\mobilefalse
\DeclareOption{mobile}{\mobiletrue\setcounter{columnnumber}{0}}
% defaults
% ----------------------------------------------------------------------
% define baseclass
\def\baseclass{scrartcl}
% set default options for base class
\PassOptionsToClass{6pt, a4paper, landscape}{\baseclass}
% forward unknown options to class
% ----------------------------------------------------------------------
\DeclareOption*{%
\PassOptionsToClass{\CurrentOption}{\baseclass}%
}
% process options
% ----------------------------------------------------------------------
\ProcessOptions\relax
% load baseclass
\LoadClass{\baseclass}
% ======================================================================
% Packages
% ======================================================================
% load latex4ei packages
\RequirePackage{latex4ei/scientific} % scientific macros for LaTeX4EI
\RequirePackage{latex4ei/latex4ei} % base definitions for LaTeX4EI
\RequirePackage{latex4ei/latex4ei_boxes} % section boxes
% ======================================================================
% Layout
% ======================================================================
% Geometry
% ----------------------------------------------------------------------
\RequirePackage{geometry}
\geometry{a4paper,landscape, left=6mm,right=6mm, top=6mm, bottom=5mm,includefoot, footskip=1.7em}
% Multicolumn
% ----------------------------------------------------------------------
\ifmobile\else
\RequirePackage{multicol} % for columns
% start multicolumn
\AtBeginDocument{
\begin{multicols*}{\value{columnnumber}}
}
\AtEndDocument{
\label{LastPage}
\end{multicols*}
}
\fi
% Header and Footer
% ----------------------------------------------------------------------
\RequirePackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\AtBeginDocument{
\fancyfoot[C]{\EngGer{from}{von} \theauthor\ -- Mail: \email{\theemail}}
}
\renewcommand{\headrulewidth}{0.0pt} %obere Linie ausblenden
\renewcommand{\footrulewidth}{0.1pt} %obere Linie ausblenden
\fancyfoot[R]{\EngGer{Last revised}{Stand}: \themydate \qquad \thepage/\pageref{LastPage}}
\fancyfoot[L]{Homepage: \url{\thewebsite} -- \EngGer{Please report mistakes \emph{immediately}}{Fehler bitte \emph{sofort} melden}.}
% Title
% ----------------------------------------------------------------------
\providecommand{\fstitle}[1]{
\vspace{-20mm}{
\parbox{2.3cm}{
\includegraphics[height=1.4cm]{Logo.pdf}
}
\parbox{4cm}{
\huge\textbf{#1}
}}
}
\renewcommand{\maketitle}{\fstitle{\thetitle}}
% Chapters and Sections
% ----------------------------------------------------------------------
\RequirePackage{titlesec}
%\titleformat{ command }[ shape ]{ format }{ label }{ sep }{ before-code }[ after-code ]
%\titlespacing*{ command }{ left }{ beforesep }{ aftersep }[ right ]
\makeatletter
\@addtoreset{section}{part}
\makeatother
\titleformat{\part}{\pagebreak\huge \bfseries}{}{0em}{\huge \bfseries}
%\providecommand{\chapter}[1]{\vspace{0.5em}\noindent\textbf{\huge{#1}}\vspace{0.5em}}
%\titleformat{\chapter}{\huge \bfseries}{\thechapter}{0em}{\huge \bfseries}
\titleformat{\section}{\Large\bfseries\color{col_section}}{\thesection .}{0.5em}{\color{col_section}}%[\color{col_section} \hrule \hrule]
\titleformat{\subsection}{\large\bfseries\color{col_subsection}}{\thesubsection .}{0.3em}{}
\titleformat{\subsubsection}{\bfseries\color{col_subsubsection}}{\thesubsubsection .}{0.2em}{}
\titleformat{\paragraph}{\bfseries\color{col_paragraph}}{\theparagraph .}{0.2em}{}
%\titlespacing{Überschriftart}{keine Ahnung}{Abstand oberhalb}{Abstand unterhalb}
\titlespacing{\section}{0em}{1.0em}{0.1em}
\titlespacing{\subsection}{0em}{0.2em}{-0.2em}
\titlespacing{\subsubsection}{0em}{0em}{-0.3em}
\titlespacing{\paragraph}{0em}{0em}{-0.3em}
% Paragraphs
% ----------------------------------------------------------------------
\RequirePackage{parskip} % prevents intend on new paragraph
\setlength{\parskip}{1pt}
% Font Settings
% ----------------------------------------------------------------------
% set sans as default font family
\renewcommand{\familydefault}{\sfdefault}
% stretch linespace in arrays and tables
\renewcommand{\arraystretch}{1.2}
% ======================================================================
% Environments
% ======================================================================
\setlength{\itemindent}{0em}
\setlength\leftmargini{1.7em}
\setlength\itemsep{0em}
% ======================================================================
% Other
% ======================================================================
% SI-Units Settings
% ----------------------------------------------------------------------
\sisetup{per-mode=fraction}
\sisetup{sticky-per=true}
\AtBeginDocument{\sisetup{math-rm=\mathrm, text-rm=\rmfamily}}
% ======================================================================
% Color Scheme
% ======================================================================
\ifcolor
\colorlet{col_section}{tum_blue_dark}
\colorlet{col_subsection}{black}
\colorlet{col_subsubsection}{black}
\colorlet{col_sectionbox}{gray}
\colorlet{col_emphbox}{tum_red}
\colorlet{col_topicbox}{tum_blue_dark}
\colorlet{col_symbolbox}{tum_orange}
\colorlet{col_cookbox}{tum_blue_dark}
\colorlet{col_table}{tum_blue_dark}
\else
\colorlet{col_section}{black}
\colorlet{col_subsection}{black}
\colorlet{col_subsubsection}{black}
\colorlet{col_sectionbox}{gray}
\colorlet{col_emphbox}{black}
\colorlet{col_topicbox}{black}
\colorlet{col_symbolbox}{black}
\colorlet{col_cookbox}{black}
\colorlet{col_table}{black}
\fi
% Color for listings
\lstset{
backgroundcolor=\color{col_lst!5},
}
% ======================================================================
% Mobile Version
% ======================================================================
\ifmobile
\geometry{
paperwidth=7.3cm,
paperheight=20cm,
portrait,
left=1em,right=1em, top=1em, bottom=1em,
noheadfoot, footskip=0em
}
% title
\renewcommand{\maketitle}{
\fstitle{\thetitle}
\setcounter{tocdepth}{2}
\tableofcontents
\pagebreak
}
\pagestyle{empty}
\newcommand{\columnbreak}{\relax}
\fi

@ -0,0 +1,278 @@
%
% Unicode for LaTeX4EI packages
%
% Authors: Emanuel Regnath, Martin Zellner
% Contact: info@latex4ei.de
% Version: 1.0
% License: TBD
%
% © 2011-2015, LaTeX4EI
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{latex4ei_unicode}[2013/05/01 Unicode Symbols]
% Already defined via textcomp:
% „“”äüö
% Greek, small, capital, variants
\DeclareUnicodeCharacter{2014}{\ensuremath{\dash}}
\DeclareUnicodeCharacter{03B1}{\ensuremath{\alpha}} % α
\DeclareUnicodeCharacter{03B2}{\ensuremath{\beta}} % β
\DeclareUnicodeCharacter{03B3}{\ensuremath{\gamma}} % γ
\DeclareUnicodeCharacter{03B4}{\ensuremath{\delta}} % δ
\DeclareUnicodeCharacter{03B5}{\ensuremath{\varepsilon}} % ε
\DeclareUnicodeCharacter{03B6}{\ensuremath{\zeta}} % ζ
\DeclareUnicodeCharacter{03B7}{\ensuremath{\eta}} % η
\DeclareUnicodeCharacter{03B8}{\ensuremath{\theta}} % θ
\DeclareUnicodeCharacter{03B9}{\ensuremath{\iota}} % ι
\DeclareUnicodeCharacter{03BA}{\ensuremath{\kappa}} % κ
\DeclareUnicodeCharacter{03BB}{\ensuremath{\lambda}} % λ
\DeclareUnicodeCharacter{03BC}{\ensuremath{\mu}} % μ
\DeclareUnicodeCharacter{00B5}{\ensuremath{\mu}} %micro -- geht nicht!
\DeclareUnicodeCharacter{03BD}{\ensuremath{\nu}} % ν
\DeclareUnicodeCharacter{03BE}{\ensuremath{\xi}} % ξ
\DeclareUnicodeCharacter{03C0}{\ensuremath{\pi}} % π
\DeclareUnicodeCharacter{03C1}{\ensuremath{\rho}} % ρ
\DeclareUnicodeCharacter{03C3}{\ensuremath{\sigma}} % σ
\DeclareUnicodeCharacter{03C4}{\ensuremath{\tau}} % τ
\DeclareUnicodeCharacter{03C5}{\ensuremath{\upsilon}} % υ
\DeclareUnicodeCharacter{03C6}{\ensuremath{\varphi}} % φ
\DeclareUnicodeCharacter{03C7}{\ensuremath{\chi}} % χ
\DeclareUnicodeCharacter{03C8}{\ensuremath{\psi}} % ψ
\DeclareUnicodeCharacter{03C9}{\ensuremath{\omega}} % ω
\DeclareUnicodeCharacter{0393}{\ensuremath{\Gamma}} % Γ
\DeclareUnicodeCharacter{0394}{\ensuremath{\Delta}} % Δ
\DeclareUnicodeCharacter{0398}{\ensuremath{\Theta}} % Θ
\DeclareUnicodeCharacter{039B}{\ensuremath{\Lambda}} % Λ
\DeclareUnicodeCharacter{039E}{\ensuremath{\Xi}} % Ξ
\DeclareUnicodeCharacter{03A0}{\ensuremath{\Pi}} % Π
\DeclareUnicodeCharacter{03A3}{\ensuremath{\Sigma}} % Σ
\DeclareUnicodeCharacter{03A6}{\ensuremath{\Phi}} % Φ
\DeclareUnicodeCharacter{03A8}{\ensuremath{\Psi}} % Ψ
\DeclareUnicodeCharacter{03A9}{\ensuremath{\Omega}} % Ω
\DeclareUnicodeCharacter{03C2}{\ensuremath{\varsigma}} % ς
\DeclareUnicodeCharacter{03D1}{\ensuremath{\vartheta}} % ϑ
\DeclareUnicodeCharacter{03D2}{\ensuremath{\Upsilon}} % ϒ
\DeclareUnicodeCharacter{03D5}{\ensuremath{\phi}} % ϕ
\DeclareUnicodeCharacter{03D6}{\ensuremath{\varpi}} % ϖ
\DeclareUnicodeCharacter{03F0}{\ensuremath{\varkappa}} % ϰ in package of ams
\DeclareUnicodeCharacter{03F1}{\ensuremath{\varrho}} % ϱ
\DeclareUnicodeCharacter{03F5}{\ensuremath{\epsilon}} % ϵ
% Symbols
\DeclareUnicodeCharacter{2020}{\ensuremath{\dagger}} % †
\DeclareUnicodeCharacter{2021}{\ensuremath{\ddagger}} % ‡
\DeclareUnicodeCharacter{2113}{\ensuremath{\ell}} %
\DeclareUnicodeCharacter{2202}{\ensuremath{\partial}} % ∂
\DeclareUnicodeCharacter{2205}{\ensuremath{\emptyset}} % ∅
\DeclareUnicodeCharacter{2207}{\ensuremath{\nabla}} % ∇
\DeclareUnicodeCharacter{220F}{\ensuremath{\prod}} % ∏
\DeclareUnicodeCharacter{2211}{\ensuremath{\sum}} % ∑
\DeclareUnicodeCharacter{222B}{\ensuremath{\int}} % ∫
\DeclareUnicodeCharacter{222C}{\ensuremath{\iint}} % ∬
\DeclareUnicodeCharacter{222D}{\ensuremath{\iiint}} % ∭
\DeclareUnicodeCharacter{221D}{\ensuremath{\propto}} % ∝
\DeclareUnicodeCharacter{221E}{\ensuremath{\infty}} % ∞
\DeclareUnicodeCharacter{222E}{\ensuremath{\oint}} % ∮
\DeclareUnicodeCharacter{222F}{\ensuremath{\oiint}} % ∯
\DeclareUnicodeCharacter{2230}{\ensuremath{\oiiint}} % ∰
\DeclareUnicodeCharacter{2A0C}{\ensuremath{\iiiint}}
% Double-struck
\DeclareUnicodeCharacter{2102}{\ensuremath{\mathbb{C}}} %
\DeclareUnicodeCharacter{210D}{\ensuremath{\mathbb{H}}} %
\DeclareUnicodeCharacter{2115}{\ensuremath{\mathbb{N}}} %
\DeclareUnicodeCharacter{2119}{\ensuremath{\mathbb{P}}} %
\DeclareUnicodeCharacter{211A}{\ensuremath{\mathbb{Q}}} %
\DeclareUnicodeCharacter{211D}{\ensuremath{\mathbb{R}}} %
\DeclareUnicodeCharacter{2124}{\ensuremath{\mathbb{Z}}} %
\DeclareUnicodeCharacter{1D53C}{\ensuremath{\mathbb{E}}} % 𝔼
\DeclareUnicodeCharacter{1D542}{\ensuremath{\mathbb{K}}} % 𝕂
\DeclareUnicodeCharacter{1D54A}{\ensuremath{\mathbb{S}}} % 𝕊
\DeclareUnicodeCharacter{1D54B}{\ensuremath{\mathbb{T}}} % 𝕋
\DeclareUnicodeCharacter{1D54C}{\ensuremath{\mathbb{U}}} % 𝕌
\DeclareUnicodeCharacter{1D7D9}{\ensuremath{\mathbbm{1}}} % 𝟙
% sub and super script
\DeclareUnicodeCharacter{2070}{\ensuremath{^0}}
\DeclareUnicodeCharacter{00B9}{\ifmmode^1\else\textonesuperior\fi}
\DeclareUnicodeCharacter{00B2}{\ifmmode^2\else\texttwosuperior\fi}
\DeclareUnicodeCharacter{00B3}{\ifmmode^3\else\textthreesuperior\fi}
\DeclareUnicodeCharacter{2074}{\ensuremath{^4}}
\DeclareUnicodeCharacter{2075}{\ensuremath{^5}}
\DeclareUnicodeCharacter{2076}{\ensuremath{^6}}
\DeclareUnicodeCharacter{2077}{\ensuremath{^7}}
\DeclareUnicodeCharacter{2078}{\ensuremath{^8}}
\DeclareUnicodeCharacter{2079}{\ensuremath{^9}}
\DeclareUnicodeCharacter{207A}{\ensuremath{^+}} % ⁺
\DeclareUnicodeCharacter{207B}{\ensuremath{^-}} % ⁻
\DeclareUnicodeCharacter{207C}{\ensuremath{^=}}
\DeclareUnicodeCharacter{207D}{\ensuremath{^(}}
\DeclareUnicodeCharacter{207E}{\ensuremath{^)}}
\DeclareUnicodeCharacter{2080}{\ensuremath{_0}}
\DeclareUnicodeCharacter{2081}{\ensuremath{_1}}
\DeclareUnicodeCharacter{2082}{\ensuremath{_2}}
\DeclareUnicodeCharacter{2083}{\ensuremath{_3}}
\DeclareUnicodeCharacter{2084}{\ensuremath{_4}}
\DeclareUnicodeCharacter{2085}{\ensuremath{_5}}
\DeclareUnicodeCharacter{2086}{\ensuremath{_6}}
\DeclareUnicodeCharacter{2087}{\ensuremath{_7}}
\DeclareUnicodeCharacter{2088}{\ensuremath{_8}}
\DeclareUnicodeCharacter{2089}{\ensuremath{_9}}
\DeclareUnicodeCharacter{208A}{\ensuremath{_+}}
\DeclareUnicodeCharacter{208B}{\ensuremath{_-}}
% superscript
\DeclareUnicodeCharacter{1D43}{^a}
\DeclareUnicodeCharacter{1D47}{^b}
\DeclareUnicodeCharacter{1D9C}{^c}
\DeclareUnicodeCharacter{1D48}{^d}
\DeclareUnicodeCharacter{1D49}{^e}
\DeclareUnicodeCharacter{1DA0}{^f}
\DeclareUnicodeCharacter{1D4D}{^g}
\DeclareUnicodeCharacter{02B0}{^h}
\DeclareUnicodeCharacter{2071}{^i}
\DeclareUnicodeCharacter{02B2}{^j}
\DeclareUnicodeCharacter{1D4F}{^k}
\DeclareUnicodeCharacter{02E1}{^l}
\DeclareUnicodeCharacter{1D50}{^m}
\DeclareUnicodeCharacter{207F}{^n}
\DeclareUnicodeCharacter{1D52}{^o}
\DeclareUnicodeCharacter{1D56}{^p}
\DeclareUnicodeCharacter{02B3}{^r}
\DeclareUnicodeCharacter{02E2}{^s}
\DeclareUnicodeCharacter{1D57}{^t}
\DeclareUnicodeCharacter{1D58}{^u}
\DeclareUnicodeCharacter{1D5B}{^v}
\DeclareUnicodeCharacter{02B7}{^w}
\DeclareUnicodeCharacter{02E3}{^x}
\DeclareUnicodeCharacter{02B8}{^y}
\DeclareUnicodeCharacter{1DBB}{^z}
\DeclareUnicodeCharacter{1D2C}{^A}
\DeclareUnicodeCharacter{1D2E}{^B}
\DeclareUnicodeCharacter{1D30}{^D}
\DeclareUnicodeCharacter{1D31}{^E}
\DeclareUnicodeCharacter{1D33}{^G}
\DeclareUnicodeCharacter{1D34}{^H}
\DeclareUnicodeCharacter{1D35}{^I}
\DeclareUnicodeCharacter{1D36}{^J}
\DeclareUnicodeCharacter{1D37}{^K}
\DeclareUnicodeCharacter{1D38}{^L}
\DeclareUnicodeCharacter{1D39}{^M}
\DeclareUnicodeCharacter{1D3A}{^N}
\DeclareUnicodeCharacter{1D3C}{^O}
\DeclareUnicodeCharacter{1D3E}{^P}
\DeclareUnicodeCharacter{1D3F}{^R}
\DeclareUnicodeCharacter{1D40}{^T}
\DeclareUnicodeCharacter{1D41}{^U}
\DeclareUnicodeCharacter{1D42}{^W}
% Quantifiers
\DeclareUnicodeCharacter{2200}{\ensuremath{\forall}} %∀
\DeclareUnicodeCharacter{2203}{\ensuremath{\exists}} %∃
\DeclareUnicodeCharacter{2204}{\ensuremath{\nexists}} %∄
\DeclareUnicodeCharacter{2208}{\in} % ∈
\DeclareUnicodeCharacter{2209}{\notin} % ∉
\DeclareUnicodeCharacter{220B}{\ni} % ∋
\DeclareUnicodeCharacter{220B}{\notni} % ∌ only in package txfonts/pxfonts
% Roots
\DeclareUnicodeCharacter{221A}{\ensuremath{\sqrt}}
\DeclareUnicodeCharacter{221B}{\ensuremath{\sqrt[3]}}
\DeclareUnicodeCharacter{221C}{\ensuremath{\sqrt[4]}}
% Relations
\DeclareUnicodeCharacter{2264}{\leq} % ≤
\DeclareUnicodeCharacter{2265}{\geq} % ≥
\DeclareUnicodeCharacter{226A}{\ll} % ≪
\DeclareUnicodeCharacter{226B}{\gg} % ≫
\DeclareUnicodeCharacter{2A7D}{\leqslant} % ⩽
\DeclareUnicodeCharacter{2A7E}{\geqslant} % ⩾
\DeclareUnicodeCharacter{2248}{\approx} % ≈
\DeclareUnicodeCharacter{2260}{\neq} % ≠
\DeclareUnicodeCharacter{2261}{\equiv} % ≡
\DeclareUnicodeCharacter{2262}{\nequiv} % ≢ only in package txfonts/pxfonts/MnSymbol
%\DeclareUnicodeCharacter{27C2}{\perp} % ⟂
\DeclareUnicodeCharacter{22A5}{\perp} % ⊥ downtack
\DeclareUnicodeCharacter{2282}{\subset} % ⊂
\DeclareUnicodeCharacter{2283}{\supset} % ⊃
% Operations
\DeclareUnicodeCharacter{2229}{\cap} % ∩
\DeclareUnicodeCharacter{222A}{\cup} %
\DeclareUnicodeCharacter{2227}{\ensuremath{\wedge}} % ∧
\DeclareUnicodeCharacter{2228}{\ensuremath{\vee}} %
\DeclareUnicodeCharacter{00D7}{\times} % ×
\DeclareUnicodeCharacter{00F7}{\div} % ÷
\DeclareUnicodeCharacter{2212}{-} %
\DeclareUnicodeCharacter{221A}{\sqrt} % √
\DeclareUnicodeCharacter{2295}{\oplus} % ⊕
\DeclareUnicodeCharacter{2297}{\otimes} % ⊗
\DeclareUnicodeCharacter{229B}{\circledast} % ⊛
\DeclareUnicodeCharacter{2A01}{\bigoplus} % ⨁
\DeclareUnicodeCharacter{2A02}{\bigotimes} % ⨂
\DeclareUnicodeCharacter{2218}{\circ} % ∘
\renewcommand{\textperiodcentered}{\cdot} % · Unicode character already defined via textcomp
% Modifiers
\providecommand{\textlnot}{\ensuremath{\neg}} % ¬ Unicode character already defined via textcomp
\renewcommand{\textlnot}{\ensuremath{\neg}} % ¬ Unicode character already defined via textcomp
\DeclareUnicodeCharacter{00AC}{\ensuremath{\lnot}} % ¬
\DeclareUnicodeCharacter{00B1}{\ensuremath{\pm}} % ±
\DeclareUnicodeCharacter{2213}{\ensuremath{\mp}} % ∓
% Arrows
\DeclareUnicodeCharacter{2190}{\ensuremath{\leftarrow}} % ←
\DeclareUnicodeCharacter{2191}{\ensuremath{\uparrow}} % ↑
\DeclareUnicodeCharacter{2192}{\ensuremath{\to}} % →
\DeclareUnicodeCharacter{2191}{\ensuremath{\downarrow}} % ↓
\DeclareUnicodeCharacter{21A6}{\ensuremath{\mapsto}} % ↦
\DeclareUnicodeCharacter{21D0}{\ensuremath{\Leftarrow}} % ⇐
\DeclareUnicodeCharacter{21D2}{\ensuremath{\Rightarrow}} % ⇒
\DeclareUnicodeCharacter{21D4}{\ensuremath{\Leftrightarrow}} % ⇔
\DeclareUnicodeCharacter{22A8}{\ensuremath{\models}}% ⊨
\DeclareUnicodeCharacter{22AD}{\ensuremath{\not\models}}% ⊭
%\DeclareUnicodeCharacter{2220}{\ensuremath{}}% % ∠
%\DeclareUnicodeCharacter{2221}{\ensuremath{}}% % ∡
%\DeclareUnicodeCharacter{2222}{\ensuremath{}}% % ∢
%\DeclareUnicodeCharacter{22B6}{\ensuremath{\fouriersymbol}}% % ⊶
%\DeclareUnicodeCharacter{22B7}{\ensuremath{}}% % ⊷
%\DeclareUnicodeCharacter{}{\ensuremath{}}%
%\DeclareUnicodeCharacter{}{\ensuremath{}}%
%\DeclareUnicodeCharacter{}{\ensuremath{}}%
%\DeclareUnicodeCharacter{}{\ensuremath{}}%
%\DeclareUnicodeCharacter{}{\ensuremath{}}%
%\DeclareUnicodeCharacter{}{\ensuremath{}}%

@ -0,0 +1,247 @@
%
% latex package with useful macros for scientific documents
%
% Authors: Emanuel Regnath, Martin Zellner
% Contact: info@latex4ei.de
% Version: 1.0
% License: TBD
%
% © 2011-2015, LaTeX4EI
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{scientific}[2015/03/30 Scientific Macros for LaTeX4EI]
% ======================================================================
% Basic
% ======================================================================
% Identify Compiler
\RequirePackage{ifxetex}
\ifxetex%
\relax
\else%
% load following packages if and only if compiler is pdflatex
\fi
% load packages, order matter
\RequirePackage{amsmath} % math symbols and \DeclareMathOperator
\RequirePackage{esint} % more integral symbols
%\RequirePackage{accents} % accents such as \vec and \ddot
% additional packages
\RequirePackage{amssymb} % additional math
% save old commands
\let\oldvec = \vec
\let\olddot = \dot
\let\diameter = \O
% formating indices
\newcommand{\ir}[1]{\sf #1} % index roman
% differential delta
\newcommand{\diff}{\mathop{}\!\mathrm{\vphantom( d}}
% ======================================================================
% SI Units
% ======================================================================
\RequirePackage{siunitx} % SI package
\sisetup{per-mode=reciprocal} % use ^-1 instead of fractals
\sisetup{sticky-per=true} % every unit behind "per" is reciprocal
\newcommand{\unitof}[1]{\ensuremath{\left[#1\right]}} % unit of
% ======================================================================
% Vectors and Matrices
% ======================================================================
% Define \utilde: from package undertilde.sty
\newlength\knuthian@fdfive
\def\mathpal@save#1{\let\was@math@style=#1\relax}
\def\utilde#1{\mathpalette\mathpal@save
{\setbox124=\hbox{$\was@math@style#1$}%
\setbox125=\hbox{$\fam=3\global\knuthian@fdfive=\fontdimen5\font$}
\setbox125=\hbox{$\widetilde{\vrule height 0pt depth 0pt width \wd124}$}%
\baselineskip=1pt\relax
\vtop{\copy124\copy125\vskip -\knuthian@fdfive}}}
% vectors and matrices
\newcommand{\ma}[1]{\ensuremath{\utilde{\boldsymbol {#1}}}} % Matrixsymbol
\newcommand{\mat}[1]{\ensuremath{\arraycolsep=0.5em \begin{bmatrix} #1 \end{bmatrix}}} % Matrix
\newcommand{\tma}[3]{\ensuremath{{}_{#1} \ma #2_#3 }} % Trafomatrix
%\renewcommand{\vec}[1]{\ensuremath{\underline{\boldsymbol \begingroup#1\endgroup}}} % Vector bold and underlined
\newcommand{\vect}[1]{\ensuremath{\begin{pmatrix} #1 \end{pmatrix}}} % Vector
\newcommand{\mvect}[1]{\ensuremath{\left.\begin{matrix} #1 \end{matrix}\right]}}% Matrixvector
\newcommand{\tensor}[1]{\ensuremath{\underline{\underline{\boldsymbol #1}}}} % Tensor
\DeclareMathOperator{\diag}{diag} % diagonal matrix
% vector operations
\newcommand{\norm}[1]{\ensuremath{\left\|#1\right\|}} % Norm
\DeclareMathOperator{\Sp}{Sp} % Spur (german for trace \tr)
% ======================================================================
% Misc
% ======================================================================
% basic math
\providecommand{\hateq}{\ensuremath{\stackrel{\wedge}{=}}} % Entspricht
\providecommand{\floor}[1]{\ensuremath{\left\lfloor#1\right\rfloor}} % Abrunden
\providecommand{\ceil}[1]{\ensuremath{\left\lceil {#1} \right\rceil}} % Aufrunden
\providecommand{\sprod}[2]{\ensuremath{\left\langle #1, #2 \right\rangle }} % scalar product
\providecommand{\abs}[1]{\ensuremath{\left\vert#1\right\vert}} % absolute value)
\DeclareMathOperator{\const}{const.} % constant
\DeclareMathOperator{\sgn}{sgn} % signum
\DeclareMathOperator{\ld}{ld} % log_2
\DeclareMathOperator{\ggT}{ggT} % ggT (german for gcd)
% chemistry
\newcommand{\chem}[1]{\ensuremath{\displaystyle{\mathrm{#1}}}} % chemistry with \chem (simple)
\RequirePackage[version=3]{mhchem} % chemistry with \ce (advanced)
\newcommand{\rom}[1]{\ensuremath{\underline{\overline{\textsc{#1}}}}} % roman numbers
% ======================================================================
% Important Constants
% ======================================================================
% math
\providecommand{\e}{\mathrm{e}}
% physical
\providecommand{\kB}{\ensuremath{\mathrm{k}_{\text{B}}}} % Boltzman
\providecommand{\Rgas}{\ensuremath{\mathrm{R}}} % Allg. Gaskonstante
\providecommand{\NA}{\ensuremath{\mathrm{N}_{\text{A}}}} % Avogadro
% ======================================================================
% Complex and Hyper-complex Numbers
% ======================================================================
\newcommand{\cx}[1]{\boldsymbol{#1}} % complex number
\newcommand{\cxc}[1]{\ensuremath{\boldsymbol #1^*}} % Konjugiert complex number
\newcommand{\hx}[1]{\ensuremath{\mathfrak #1}} % hyper-complex number
\renewcommand{\i}{\ensuremath{\mathrm{i}}} % imaginary unit
\renewcommand{\j}{\ensuremath{\mathrm{j}}} % imaginary unit
\renewcommand{\k}{\ensuremath{\mathrm{k}}} % imaginary unit
% real and imaginary part
\renewcommand{\Re}[1]{\ensuremath{\operatorname{Re}\left\{#1\right\}}}
\renewcommand{\Im}[1]{\ensuremath{\operatorname{Im}\left\{#1\right\}}}
% ======================================================================
% Sets
% ======================================================================
% define sets
\newcommand{\iset}[2]{\ensuremath{\bigl\{ \bigl. #1 \, \bigr| \, #2 \bigr\}}} % intensional set
\newcommand{\eset}[1]{\ensuremath{\bigl\{#1\bigr\}}} % extensional set
% abbreviations for important sets
\DeclareMathOperator{\N}{\mathbb N} % Natürliche Zahlen
\DeclareMathOperator{\R}{\mathbb R} % Reele Zahlen
\DeclareMathOperator{\C}{\mathbb C} % Komplexe Zahlen
\DeclareMathOperator{\K}{\mathbb K} % Reele oder komplexe Zahlen
\def\B{\operatorname{\mathbb B}} % Binäre Zahlen 1,0
\def\O{\operatorname{\mathcal O}} % Landau
% set operations
\let\cupplus\uplus % Vereinigunsmenge bzw. OR
\newlength{\caplength}
\setlength{\caplength}{\widthof{$\cap$}}
\DeclareMathOperator{\capdot}{\cap\hspace{-0.7\caplength}\text{\textperiodcentered}\hspace{0.4\caplength}} % Schnittmenge bzw. AND
% topology
\newcommand{\interior}[1]{\ensuremath{\overset{{}_\circ}{#1}}} % Das Innere
% ======================================================================
% Frequency Transformations (Fourier, Laplace, etc.)
% ======================================================================
% Define symbol for Transformations. Source: trfsigns.sty
\newcommand{\ftsymbol}{\mbox{\setlength{\unitlength}{0.1em}
\begin{picture}(25,4)
\put(3,3){\circle{4}} % empty
\put(5,3){\line(1,0){13}}
\put(19,3){\circle*{4}} % filled
\end{picture}}}
% Define Transformations
\DeclareMathOperator{\FT}{\overset{\scriptscriptstyle\mathcal{F}}{\ftsymbol}} % Fourier Transform
\DeclareMathOperator{\LT}{\overset{\scriptscriptstyle\mathcal{L}}{\ftsymbol}} % Laplace Transform
\DeclareMathOperator{\DFT}{\overset{\scriptscriptstyle\mathcal{DF}}{\ftsymbol}} % Discrete Fourier Transform
\DeclareMathOperator{\DTFT}{\overset{\scriptscriptstyle\mathcal{DTF}}{\ftsymbol}} % Discrete Time Fourier Transform
\DeclareMathOperator{\ZT}{\overset{\scriptscriptstyle\mathcal{Z}}{\ftsymbol}} % Z-Transform
% ======================================================================
% Differential Geometry
% ======================================================================
\DeclareMathOperator{\grad}{grad} % Gradient
\def\div{\operatorname{div}} % Divergence
\DeclareMathOperator{\rot}{rot} % rotation
\DeclareMathOperator{\lpo}{\Delta} % laplace operator
\DeclareMathOperator{\laplace}{\Delta} % laplace operator
\DeclareMathOperator{\waveop}{\square} % wave operator
% ======================================================================
% Signals
% ======================================================================
\DeclareMathOperator{\dirac}{\ensuremath{\delta}} % Dirac Distribution
\DeclareMathOperator{\heavi}{\ensuremath{\theta}} % Heaviside Step Function
\DeclareMathOperator{\sinc}{sinc} % Sinus Cardinalis
\DeclareMathOperator{\rect}{rect} % Rectangular
\DeclareMathOperator{\tri}{tri} % Triangular
\DeclareMathOperator{\erf}{erf} % Error Function
\DeclareMathOperator{\erfc}{erfc} % Error Function
\providecommand{\SNR}{\mathrm{SNR}} % Signal Noise Ratio
\providecommand{\ACF}{\ensuremath{\varphi}} % autocorrelation function
\providecommand{\PSD}{\ensuremath{\Phi}} % Power-Spectral-Density
% ======================================================================
% Stochastic
% ======================================================================
\renewcommand{\P}{\operatorname{\textsf{P}}} % Wahrscheinlichkeitsmaß
\DeclareMathOperator{\F}{\mathbb F} % Ereignisalgebra
\DeclareMathOperator{\X}{\textsf{\textit{X}}} % Zufallsvariable X
\DeclareMathOperator{\Y}{\textsf{\textit{Y}}} % Zufallsvariable Y
\DeclareMathOperator{\Z}{\textsf{\textit{Z}}} % Zufallsvariable Z
\DeclareMathOperator{\E}{\textsf{E}} % Erwartungswert
\newcommand{\ew}[1]{\textit{E} \left[ #1 \right]} % Erwartungswert (mit Parameter)
\DeclareMathOperator{\Var}{\textsf{Var}} % Varianz
\DeclareMathOperator{\Cov}{\textsf{Cov}} % Kovarianz
% ======================================================================
% Logic
% ======================================================================
\renewcommand{\implies}{\ensuremath{\rightarrow}} % →
\let\limplies\implies
\providecommand{\lequiv}{\ensuremath{\leftrightarrow}} % ↔
\providecommand{\lnand}{\ensuremath{|}}
\providecommand{\lxor}{\ensuremath{\downarrow}}
\providecommand{\ltrue}{w}
\providecommand{\lfalse}{f}
% Ende von \input
\endinput

@ -1,6 +0,0 @@
\section{Mengenlehre}
\input{devinition.tex}
\input{operations.tex}
Loading…
Cancel
Save