pull/12/head
kreativmonkey 7 years ago
commit ef3e3822ff

220
.gitignore vendored

@ -0,0 +1,220 @@
## Core latex/pdflatex auxiliary files:
*.aux
*.lof
*.log
*.lot
*.fls
*.out
*.toc
*.fmt
*.fot
*.cb
*.cb2
## Intermediate documents:
*.dvi
*-converted-to.*
# these rules might exclude image files for figures etc.
# *.ps
# *.eps
# *.pdf
## Generated if empty string is given at "Please type another file name for output:"
.pdf
## Bibliography auxiliary files (bibtex/biblatex/biber):
*.bbl
*.bcf
*.blg
*-blx.aux
*-blx.bib
*.run.xml
## Build tool auxiliary files:
*.fdb_latexmk
*.synctex
*.synctex(busy)
*.synctex.gz
*.synctex.gz(busy)
*.pdfsync
## Auxiliary and intermediate files from other packages:
# algorithms
*.alg
*.loa
# achemso
acs-*.bib
# amsthm
*.thm
# beamer
*.nav
*.pre
*.snm
*.vrb
# changes
*.soc
# cprotect
*.cpt
# elsarticle (documentclass of Elsevier journals)
*.spl
# endnotes
*.ent
# fixme
*.lox
# feynmf/feynmp
*.mf
*.mp
*.t[1-9]
*.t[1-9][0-9]
*.tfm
#(r)(e)ledmac/(r)(e)ledpar
*.end
*.?end
*.[1-9]
*.[1-9][0-9]
*.[1-9][0-9][0-9]
*.[1-9]R
*.[1-9][0-9]R
*.[1-9][0-9][0-9]R
*.eledsec[1-9]
*.eledsec[1-9]R
*.eledsec[1-9][0-9]
*.eledsec[1-9][0-9]R
*.eledsec[1-9][0-9][0-9]
*.eledsec[1-9][0-9][0-9]R
# glossaries
*.acn
*.acr
*.glg
*.glo
*.gls
*.glsdefs
# gnuplottex
*-gnuplottex-*
# gregoriotex
*.gaux
*.gtex
# hyperref
*.brf
# knitr
*-concordance.tex
# TODO Comment the next line if you want to keep your tikz graphics files
*.tikz
*-tikzDictionary
# listings
*.lol
# makeidx
*.idx
*.ilg
*.ind
*.ist
# minitoc
*.maf
*.mlf
*.mlt
*.mtc[0-9]*
*.slf[0-9]*
*.slt[0-9]*
*.stc[0-9]*
# minted
_minted*
*.pyg
# morewrites
*.mw
# nomencl
*.nlo
# pax
*.pax
# pdfpcnotes
*.pdfpc
# sagetex
*.sagetex.sage
*.sagetex.py
*.sagetex.scmd
# scrwfile
*.wrt
# sympy
*.sout
*.sympy
sympy-plots-for-*.tex/
# pdfcomment
*.upa
*.upb
# pythontex
*.pytxcode
pythontex-files-*/
# thmtools
*.loe
# TikZ & PGF
*.dpth
*.md5
*.auxlock
# todonotes
*.tdo
# easy-todo
*.lod
# xindy
*.xdy
# xypic precompiled matrices
*.xyc
# endfloat
*.ttt
*.fff
# Latexian
TSWLatexianTemp*
## Editors:
# WinEdt
*.bak
*.sav
# Texpad
.texpadtmp
# Kile
*.backup
# KBibTeX
*~[0-9]*
# auto folder when using emacs and auctex
/auto/*
# expex forward references with \gathertags
*-tags.tex

Binary file not shown.

@ -0,0 +1,121 @@
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
% 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[german]{latex4ei/latex4ei_sheet}
% set document information
\title{Mathematik \\ Cheat Sheet}
\author{Sebastian Preisner} % optional, delete if unchanged
\myemail{wbh@calyrium.org} % optional, delete if unchanged
\mywebsite{www.calyrium.org} % optional, delete if unchanged
% ======================================================================
% Begin
% ======================================================================
\begin{document}
% Title
% ----------------------------------------------------------------------
\maketitle % requires ./img/Logo.pdf
% Section
% ----------------------------------------------------------------------
\section{Mengen}
\begin{sectionbox}
\subsection{Definizion}
Ist $E$ eine Eigenschaft, die ein Element haben kann oder auch nicht, so beschreibt man die Menge der $E$ erfüllenden Elemente durch:
A = $\lbrace x \vert x $ hat Eigenschaft $ E \rbrace$
\end{sectionbox}
\begin{sectionbox}
\subsection{Operationen}
\begin{tablebox}{lll}
$A \subseteq B$ & & A ist Teilmenge von B \\
$A \cup B$ & A vereinigt B & $A \cup B = \lbrace x \vert x \in A$ oder $x \in B \rbrace$ \\
$A \cap B$ & A geschnitten B & $A \cap B = \lbrace x \vert x \in A$ und $x \in B \rbrace$ \\
$A \setminus B$ & A ohne B & $A \cup B = \lbrace x \vert x \in A$ und $x \notin B \rbrace$ \\
$\mathcal{P}(A)$ & Potenzmenge A & Potenzmenge der Menge A\\
$A \in B$ & A Element von B & A ist ein Element von B\\
$A \notin B$ & A kein Element von B & A ist nicht in B enthalten \\
\end{tablebox}
\subsection{Teilmengen}
Sind A und B Mengen, so heißt A Teilmenge oder auch Untermenge von B, wenn jedes Element von A auch Element von B ist.
\begin{cookbox}{Merke zu Teilmengen}
\item Jede Menge A ist Teilmenge von sich selbst, das heißt $A \subset A$
\item Jede Menge A hat die leere Menge als Teilmenge, das heißt: $\emptyset \subset A$
\item Ist $A \subseteq B$ und $B \subseteq C$, so folgt $A \subseteq C$
\item Aus $A \subseteq B$ und $B \subseteq A$ folgt $A = B$
\end{cookbox}
\subsection{Potenzmenge}
Es sei A eine Menge. Dann versteht man unter der Potenzmenge $\mathcal{P}(A)$ der Menge A die Menge aller Teilmengen von A. Auch die Menge $\emptyset$ hat eine Teilmenge es gilt: $\mathcal{P}(\emptyset) = \lbrace \emptyset \rbrace$.\\
Berechnet wird die Potenzmenge mit Hilfe von $2^{\vert A \vert}$ (Zwei hoch Kardinalität von A)
\subsection{Kardinalität}
Es sei A eine endliche Menge. Dann versteht man unter der Kardinalität oder auch Mächtigkeit von A die Anzahl der Elemente von A und schreibt dafür $\vert A \vert$, manchmal auch $\#A$. Hat A unendlich viele Elemente, so sagt man, A hat die Kardinalität unendlich, und schreibt $\vert A \vert = \infty$
\subsection{Komplement}
Das Komplement ist die Differenz zwischen gegebener Menge und Grundmenge.
\begin{cookbox}{Komplement Operationen}
\item $A \cap \overline{A} = \emptyset$
\item $A \cup \overline{A} = M$
\item $A \cap \emptyset = \emptyset$
\item $\overline{\overline{A}} = A$
\item $\overline{A \cap B} = \overline{A} \cup \overline{B}$
\item $\overline{A \cup B} = \overline{A} \cap \overline{B}$
\item \begin{align*}\overline{A \cap B} =& M \setminus \left( A \cap B \right) \\
=& \left( M \setminus A \right) \cup \left( M \setminus B \right) \\
=& \overline{A} \cup \overline{B}
\end{align*}
\end{cookbox}
\end{sectionbox}
\begin{sectionbox}
\subsection{Regeln}
\begin{cookbox}{Für zwei Mengen A und B gelten:}
\item $A \cup A = A$
\item $A \cap A = A$
\item $A \cap (A \cup B) = A$
\item $A \cup (A \cap B) = A$
\end{cookbox}
\begin{tablebox}{ll}
Kommutativgesetz & $A \cup B = B \cup A$\\
& $A \cap B = B \cap A$ \\
\ctrule
Assoziativgesetze & $A \cap \left( B \cap C \right) = \left( A \cap B \right) \cap C$ \\
& $A \cup \left( B \cup C \right) = \left( A \cup B \right) \cup C$ \\
\ctrule
de Morganschen Regeln & $A \setminus \left( B \cap C \right) = \left( A \setminus B \right) \cup \left( A \setminus C \right)$ \\
& $A \setminus \left( B \cup C \right) = \left( A \setminus B \right) \cap \left( A \setminus C \right)$
\end{tablebox}
\end{sectionbox}
% ======================================================================
% End
% ======================================================================
\end{document}

File diff suppressed because one or more lines are too long

Binary file not shown.

@ -0,0 +1,9 @@
# Formelsammlung
Diese Formelsammlung ist eine Zusammenstellung der wichtigsten Eckpunkte des ersten und zweiten Semesters.
Sie enthält die Formeln für Mathe 1 und 2 für Informatik und zusätzlich einige Hilfreiche Tipps und Tricks.
In den Matheklausuren sind (stand 2017) jegliches gedrucktes und handgeschriebenes Material erlaubt.
## Quelle
* Das Theme stammt von (LaTeX4Ei)[http://www.latex4ei.de/]

Binary file not shown.

@ -0,0 +1,304 @@
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
%
% LaTeX-Einführung von Emanuel Regnath Stand: 01.01.12
%
%
%
% Allgemeine LaTeX - Hinweise:
% ======================================================================
% LaTeX Code besteht aus 3 Dingen: Text, Befehlen und Formatierungszeichen.
% Befehle haben immer die Form: \Befehl[optionaler Parameter]{Parameter}
% Formatierungszeichen sind: % \ [ ] { } # & $
% % kennzeichnet Kommentare
% \ leitet einen Befehl ein
% {} umklammern logisch zusammengehörige Blöcke
% die Restlichen werden später erklärt
%
% Minimales LaTeX Grundgerüst:
% \dokumentclass{scrartcl}
% \begin{document}
% ...textetxtext...
% \end{document}
%
% Tipp: am besten kompiliert man den Code und vergleicht ihn immer wieder mit der PDF-Ausgabe.
% Und Los gehts!??? Noch nicht; bevor man Text schreiben kann, muss einiges definiert werden:
%
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
% Dokumenteinstellungen
% ======================================================================
% Die Dokumentklasse definiert die Art des Dokuments
% und seine Grundeigenschaften
\documentclass[10pt,a4paper]{scrartcl} % [Schriftgröße 10, Textbereich Din A4] {Dokumentart Artikel}
% Zusätzliche (aber sinnvolle) Pakete laden
% ======================================================================
% Pekete fügen verschiedene Funktionen zu LaTeX hinzu.
% ganz ohne Pakete wäre Latex gerade mal etwas besser als notepad...
\usepackage[a4paper]{geometry} % DIN-A4 Größe des Papiers; sollte mit der Ausdehnung des Textes in documetnclass übereinstimmen.
\usepackage[utf8]{inputenc} % Zeichenkodierung UTF-8 falls Probleme wegen utf8 auftreten, utf8 durch utf8x ersetzen
\usepackage[ngerman]{babel} % Deutsche Sprache und Silbentrennung
\usepackage{amsmath} % erlaubt mathematische Formeln
\usepackage{amssymb} % Verschiedene Symbole
\usepackage{graphicx} % Zum Bilder einfügen benötigt
\usepackage{hyperref} % Sprunglinks für Überschriften, Fußnoten und Weblinks
% Eigene Befehle und Befehlsanpassungen (optional)
% ======================================================================
% Form: \newcommand{\neuerBefehl}[Anzahl Parameter]{ Befehlsreihe oder Text #n } n = 1,2,...
% #n repräsentiert den übergebenen Parameter
\newcommand{\norm}[1]{ \| #1 \| } %Vektornorm
\newcommand{\chem}[1]{\ensuremath{\displaystyle{ \mathrm{#1}}}} %chemische Formeln die gut aussehen ;)
% Überschreibungen
\renewcommand{\arraystretch}{1.4} % Vergrößert Abstände in Tabellen
% Dokumentbeschreibung
% ======================================================================
\title{LaTeX-Einführung für Artikel}
\author{Emanuel Regnath}
% Dokumentbeginn
% ======================================================================
% Ab hier beginnt das eigentliche Dokument.
% Alles was danach folgt wird im fertigen PDF angezeigt.
\begin{document}
% Titel (Titel, Autor, Erstellungsdatum)
% ===========================================
\maketitle
% Vertikaler Abstand
% ===========================================
\vspace{4.0cm} % Gültige Einheiten für Längenangaben: pt, px, mm, cm, em
% Inhaltsverzeichnis (Überschriften werden automatisch in das Inhaltsverzeichnis aufgenommen.)
% ===========================================
\tableofcontents
% Neue Seite
% ===========================================
\newpage
% -------------------------------------------
% | E I N L E I T U N G | (Kommentare zur Übersicht sind wichtig!)
% ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
% ======================================================================================================
\section{Einleitung} % \section{Überschrift}
In Latex kann Text einfach geschrieben werden. Auch Umlaute wie ä, ö, ü oder ß sind mit dem UTF-8 package kein Problem.
Einrückung, viele Leerzeichen oder Absätze im Editor
haben keine Auswirkung auf den Textfluss.
Erst ein Doppelbackslash\\ % oder \newline aber \\ ist kürzer ;)
erzeugt einen Zeilenumbruch. Ein doppelter Absatz im Editor % oder \par aber doppel-Enter ist kürzer :)
bewirkt einen eingerückten Absatz im Latex-PDF.
Will man eine Leerzeile erreichen, bedient man sich folgender Methode:\\
\\
Nun ist eine Leerzeile entstanden ohne Einrückung.
Verschiedene Einrückungen oder Abstände erreicht man so\,so\;so\ so\quad so\qquad so \hspace{2.0cm}so. Negativen Abstand s\!o s\!\!o bzw. \ s\!\!\!\!\!o \par
Da folgende Zeichen Befehle oder Formatierungszeichen darstellen, müssen sie im Text etwas aufwendiger geschrieben werden: \textbackslash \$ \{ \} \& \% \#
% -------------------------------------------
% | B E F E H L E |
% ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
% ======================================================================================================
\section{Befehle}
... beginnen in \LaTeX{} \emph{immer} mit einem Backslash. \\ % Form: \Befehl[optionaler Parameter]{Parameter}
Textformatierungen: normal, \underline{unterstrichen}, \textbf{fett}, \textit{kursiv}, \textsl{schräg} ,\textsc{Großbuchstaben} \\
Drei Schriftarten: \textnormal{normal}, \textsf{seriflos}, \texttt{typewriter}\\
% Das gleiche bewirken \rmfamily, \sffamily und \ttfamily, allerdings bis zum Ende eines Blockes{} oder bis \normalfont
{Geschweifte \sffamily Klammern { } kennzeichen {\ttfamily logische Blöcke}, werden aber nicht gerendert.} \\[5pt] %Neue Zeile mit zusätzlichem Abstand
Fußnoten\footnote{Ich bin eine Fußnote} sind total einfach\footnote{Automatische Nummerierung und Formatierung}.
Es gibt drei Arten von Bindestrichen: - -- ---
% -------------------------------------------
% | G L I E D E R U N G |
% ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
% ======================================================================================================
\section{Gliederung: Mächtige Überschrift}
% ======================================================================================================
\subsection{Unterüberschrift}
% ------------------------------------------------------------------
\subsubsection{Kleinlaute Überschrift}
\paragraph{Paragraph 1} % Wird nicht ins Inhaltsverzeichnis aufgenommen
Text bla bla bla. Weiter Gliederungsmöglichkeiten sind Listen. Auf alle Fälle sollte \textbf{Fettschrift} nicht zur Gliederung verwendet werden.
% Anmerkung in der Dokumentclass "book" gibt es über \section noch das \chapter
% -------------------------------------------
% | U M G E B U N G E N |
% ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
% ======================================================================================================
\section{Umgebungen}
Es gibt verschiedene Umgebungen in Latex, die sich vom normalen Text und Befehlen abgrenzen.
Zum Beispiel Tabellen, Formeln oder Zitate. Sie werden mit ``begin\{ Umgebung \}'' und ``end\{ Umgebung \}'' gekennzeichnet.
Zum Beispiel die quote-Umgegbung:
\begin{quote}
\glqq Ich weiß, dass ich nichts weiß.\grqq \ --\ \textsc{Sokrates} %Anführungszeichen deutsch: \glqq,\grqq englisch: ``,''
\end{quote}
Auch wenn man diese Formatierung anders ereichen könnte,
ist es sinnvoll und guter Stil ein Zitat in eine quote-Umgebung zu packen,
da man eigene Formatierungen für Umgebungen festlegen kann und so alle Zitate auf einmal richtig formatiert werden.
\subsection{Tabellen}
% ------------------------------------------------------------------
sind auch leicht:\\
\begin{tabular}{l||lc|r} %{lclr} gibt die Anzahl(4) und die Ausrichtung der Spalten an. | bedeutet eine vertikale Trennlinie.
links & links & zentriert & rechts\\ % ein & trennt Spalten \\ beginnt eine neue Zeile
etwas Mathe & $3 \cdot 5 + \frac{1}{2}$ & $\ne 0$ & $\Rightarrow$ Ich weiß doch was\\ \hline % \hline erzeugt eine horizontale Linie
leere Spalten & & & \\
\end{tabular}
\subsection{Formeln}
% ------------------------------------------------------------------
Kleine mathematische Ausdrücke wie $f(x) = a \cdot x^2 + 2x$, chemische Formeln $H_3O^+$ oder Symbole $\Rightarrow$, können in den Textfluss
mit Dollarzeichen eingebunden werden, größere Formeln werden mit der equation-Umgebung abgesetzt und nummeriert:
\begin{equation}
\lambda := \lim\limits_{x_1 \rightarrow \infty} \int\limits_{x_0}^{x_1} \frac{ f(t) }{ \sqrt{t^2 + \sin^2(t) } } \; \mathrm dt \stackrel{!}\ge 1
% Diese Formel dient lediglich als Beispiel wie man einige mathematische Ausdrücke am besten in LaTeX umsetzt
\end{equation}
Will man in Formeln Text einfügen, muss man diesen extra kennzeichen:\\
$\text{falls } v \in \mathbb R^n,\ \lambda \in \mathbb R \text{ so gilt } \forall v \exists \lambda: \norm{ \lambda \cdot \vec v } = 1, denn so gehts nicht$\\
\\
Innerhalb von Formeln gibt es wiederum eigene Umgebungen wie Arrays oder Matrizen. Sie werden wie Tabellen formatiert:
\begin{equation}
\text{Matrix: } A^\top = \begin{bmatrix} a_{11} & \hdots & a_{1n} \\ \vdots & \ddots & \vdots \\ a_{m1} & \hdots & a_{mn} \end{bmatrix} \in \mathbb C^{m \times n} \qquad
\text{Vektor: } \vec v = \begin{pmatrix} v_1 \\ v_2 \\ v_3 \end{pmatrix}
\end{equation}
\\
Man kann Formeln auch Einrahmen: \boxed{ f:D \subseteq \mathbb R^n \rightarrow \mathbb R^m ,\, x \mapsto f(x) } \\
Positionierung in Formeln: $m^{hoch} \quad m_{tief} \quad \overset{oben}{mitte} \quad \underset{unten}{mitte}$ \qquad speziell: $\xrightarrow{a \ne 0}$ und $\stackrel{!}\le$\\
% Eine vollständige Liste von mathematischen Ausdrücken findet man im Internet.
\subsubsection{Beispielformeln}
Physik: $v = \frac{\partial s}{\partial t} = 3.14 \mathrm{\frac{m}{ s}}$\\
Chemische Formeln: $\chem{2H_2O \rightleftharpoons H_3 O^{+} + OH^-}$\\
Strahlungsphysik: $\chem{ ^{14}_{\ 6} C \rightarrow {}^{14}_{\ 7} N + e^- + \overline \nu_e}$
\subsection{Listen}
% ------------------------------------------------------------------
Es gibt drei Arten von Listen(itemize, enumerate, description) die mit der Erklärung über guten LaTeX Stil veranschaulicht werden.
Damit ein LaTeX Dokument % Mit \itemsep4pt nach \begin{...} kann man den Abstand anpassen
\begin{itemize}\itemsep-2pt
\item übersichtlich bleibt,
\item für sich und Andere später noch nachvollziehbar ist
\item und eventuelle Nachbesserungen einfach sind,
\end{itemize}
sollte man ein paar Regeln beachten:
\begin{enumerate}
\item Einrücken und Kommentare im Quellcode
\item Dokumentweite Einstellungen und eigene Befehle immer vor \textbackslash begin\{document\} schreiben
\item Befehle nicht zweckentfremden\\
$\Rightarrow$ Die von LaTeX vorgesehenen Befehle anpassen oder eigene erstellen. %Es gibt für alles den richtigen LaTeX-Befehl, man muss ihn nur finden
\end{enumerate}
Zum Beispiel bewirken \emph{Hervorhebung} und \textit{kursiv} zunächst das selbe.
Will man aber Hervorhebungen fett geschrieben haben so überschreibt man einfach den Befehl \textbackslash emph:
\renewcommand{\emph}[1]{\textbf{#1}} %\renewcommand{\Befehl}[Anzahl der Parameter]{ Neuer Befehl {#Parameternummer} }
Somit bleiben \textbf{fett} und \textit{kursiv} unverändert und \emph{Hervorhebungen} sind flexibel anpassbar.\\
% Will man einen Befehl mit sich selbst überschreiben, muss man ihn zuerst mit \let kopieren.
% Beispiel: Vektoren fett schreiben:
% \let\oldvec = \vec \renewcommand{\vec}[1]{\oldvec{\boldsymbol{#1}}}
\subsubsection{Querverweise} werden durch labels gesetzt.\label{hier} Es gibt drei Arten von Verweisen:
\begin{description}
\item[Verweis] mit ref \ref{hier}
\item[Seitenverweis] wird mittels pageref \pageref{hier} eingefügt
\item[Literaturverweise:] Eine Tatsache aus einem Buch \cite{bowie}
\end{description}
% -------------------------------------------
% | B I L D E R |
% ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
% ======================================================================================================
\section{Bilder}
Bilder können mit dem Befehl \textbackslash includegraphics[width = ?, height = ?]\{ Pfad zum Bild.pdf\} eingebunden werden. % Beispiel: \includegraphics[height = 3.0cm]{./vektor.pdf}
Allerdings unterstützt LaTeX nur wenig Formate: .pdf .jpg .png .gif.
Nur .pdf kann Vektorgrafiken enthalen. % Vektorgrafiken sind leichter zu erstellen, verlustfrei, und klein. :)
% .:: Wie Latex funktioniert
% ======================================================================================================
\section{Wie LaTeX funktioniert}
Grob gesagt macht \LaTeX{} um jedes Zeichen eine Box: \fbox{H}, dann um jedes Wort: \fbox{ \fbox{H}\fbox{a}\fbox{l}\fbox{l}\fbox{o} }, dann um jede Zeile, usw.
Will man große Objekte und einen Text nebeneinander haben, muss man um beides eine Box bauen, denn in einer Zeile dürfen nur Boxen nebeneinander aber niemals übereinander stehen.
Dies erreicht man am besten mit parbox oder pbox:\\
\parbox{3.0cm}{
\begin{tabular}{l||l|l}
a & b & c \\ \hline \hline
1 & 2 & 4 \\
4 & 5 & 6 \\
\end{tabular}
}
\parbox{10cm}{So hier ist ein ganz normaler Text, der allerdings über mehrere Zeilen neben der Tabelle erscheint. Text und Tabelle sind sozusagen zwei \glqq große\grqq\ Wörter innerhalb einer Zeile.}
% .:: Literaturverzeichnis
% ======================================================================================================
\begin{thebibliography}{------}
\bibitem[Bowie87]{bowie} %[name]{label}
J. U. Bowie, R. L\"uthy and D. Eisenberg.
{\em A Method to Identify Protein Sequences That Fold
into a Known Three-Dimensional Structure}.
Science, 1991 (253), pp 164-170
\end{thebibliography}
% Geschafft!
% Nun liegt es an dir, dein eigenes LaTeX Dokument zu erstellen
% Vorsicht!!! hier endet das Dokument.
% Der Rand der sichtbaren Welt, danach hat nichts mehr etwas zu suchen.
% ==============================================================================================================
\end{document}
haaaallo? ließt mich jemand?
ich bin ein kleiner verirrter Text, der nirgends zu sehen ist.
Was soll ich jetzt bloß machen? Ich will zurück zu meiner Mama!!! *schluchtz*

@ -0,0 +1,29 @@
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

@ -0,0 +1,29 @@
# 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

@ -0,0 +1,29 @@
# 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

@ -0,0 +1,321 @@
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
% 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}

@ -0,0 +1,203 @@
% 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

@ -0,0 +1,20 @@
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

After

Width:  |  Height:  |  Size: 349 KiB

@ -0,0 +1,173 @@
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
% 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}

@ -0,0 +1,65 @@
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
% 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}

@ -0,0 +1,84 @@
% 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}
Loading…
Cancel
Save