summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/cplusplus.cc19
-rw-r--r--templates/header.h17
-rw-r--r--templates/html5.html27
-rw-r--r--templates/latex/Makefile15
-rw-r--r--templates/latex/README.md3
-rw-r--r--templates/latex/article-title.tex97
-rw-r--r--templates/latex/article.tex52
-rw-r--r--templates/latex/beamer.tex162
-rw-r--r--templates/latex/dependency-tree.tex33
-rw-r--r--templates/latex/example.bib7
-rw-r--r--templates/latex/example_slides/Makefile6
-rw-r--r--templates/latex/example_slides/slides.tex51
-rw-r--r--templates/latex/invoice.tex66
-rw-r--r--templates/latex/plain-letter.tex34
-rw-r--r--templates/latex/plain.tex19
-rw-r--r--templates/latex/report.tex46
-rw-r--r--templates/latex/tfbrief.tex55
-rw-r--r--templates/latex/tightpage.tex21
-rw-r--r--templates/latex/tree.tex24
-rw-r--r--templates/latex/word-alignment-ibm.tex24
-rw-r--r--templates/latex/word-alignment.tex30
-rw-r--r--templates/plainc.c17
-rw-r--r--templates/python.py24
-rw-r--r--templates/ruby.rb23
-rw-r--r--templates/stylesheet.css30
25 files changed, 902 insertions, 0 deletions
diff --git a/templates/cplusplus.cc b/templates/cplusplus.cc
new file mode 100644
index 0000000..346f268
--- /dev/null
+++ b/templates/cplusplus.cc
@@ -0,0 +1,19 @@
+/*
+ * template.cpp
+ *
+ * Patrick Simianer <p@simianer.de>
+ * YYYY-MM-DD
+ */
+
+#include <iostream>
+
+using namespace std;
+
+
+int main(int argc, char const* argv[])
+{
+ cout << 'Hello, World!' << endl;
+
+ return 0;
+}
+
diff --git a/templates/header.h b/templates/header.h
new file mode 100644
index 0000000..7e54f02
--- /dev/null
+++ b/templates/header.h
@@ -0,0 +1,17 @@
+/*
+ * header.h
+ *
+ * Patrick Simianer <p@simianer.de>
+ * YYYY-MM-DD
+ */
+
+
+#ifndef UNTITLED_H
+#define UNTITLED_H
+
+#include <iostream>
+
+
+
+#endif
+
diff --git a/templates/html5.html b/templates/html5.html
new file mode 100644
index 0000000..71c2bfb
--- /dev/null
+++ b/templates/html5.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<!-- YYYY-MM-DD -->
+<html>
+<head>
+ <meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
+ <meta http-equiv='Content-Language' content='de_DE' />
+ <meta name='author' content='Patrick Simianer' />
+ <meta name='robots' content='index, follow' />
+ <meta name='revisit-after' content='15 days' />
+ <meta name='description' content='' />
+ <meta name='keywords' content='' />
+
+ <title>html5 template</title>
+
+ <link rel='stylesheet' type='text/css' href='stylesheets/styles.css' />
+ <link rel='shortcut icon' type='image/png' href='images/favicon.png' />
+
+ <script type='text/javascript' src='javascripts/untitled.js'></script>
+</head>
+
+<body>
+
+
+
+</body>
+</html>
+
diff --git a/templates/latex/Makefile b/templates/latex/Makefile
new file mode 100644
index 0000000..cb89f40
--- /dev/null
+++ b/templates/latex/Makefile
@@ -0,0 +1,15 @@
+beamer.pdf: beamer.tex example.bib
+ pdflatex beamer; bibtex beamer; pdflatex beamer; pdflatex beamer
+
+report.pdf: report.tex example.bib
+ pdflatex report; bibtex report; pdflatex report; pdflatex report
+
+%.pdf: %.tex
+ pdflatex $<
+
+word-alignment.pdf: word-alignment.tex
+ xelatex word-alignment.tex
+
+clean:
+ rm *.aux *.bbl *.blg *.log *.nav *.out *.snm *.toc *.pdf
+
diff --git a/templates/latex/README.md b/templates/latex/README.md
new file mode 100644
index 0000000..45f1c94
--- /dev/null
+++ b/templates/latex/README.md
@@ -0,0 +1,3 @@
+word-alignment.tex https://gist.github.com/tetsuok/2979324
+word-alignment-ibm.tex http://tex.stackexchange.com/questions/25436/any-nice-packages-for-word-alignment
+
diff --git a/templates/latex/article-title.tex b/templates/latex/article-title.tex
new file mode 100644
index 0000000..e0f1b77
--- /dev/null
+++ b/templates/latex/article-title.tex
@@ -0,0 +1,97 @@
+% article1.tex
+% Patrick Simianer <p@simianer.de>
+% YYYY-MM-DD
+\documentclass[paper=A4,
+ pagesize,
+ DIV=calc,
+ BCOR=1cm,
+ smallheadings,
+ ngerman,
+ 11pt]{scrartcl}
+\typearea{12}
+
+\usepackage[utf8]{inputenc}
+\usepackage[T1]{fontenc}
+
+\usepackage{amsmath, amssymb, latexsym}
+\usepackage{hyperref, color}
+\usepackage[pdftex]{graphicx}
+\usepackage{listings}
+\usepackage{totpages}
+\usepackage{ulem}
+\usepackage{lmodern,eulervm}
+
+\usepackage[tracking=TRUE]{microtype}
+\usepackage{babel}
+\usepackage{fixltx2e}
+\usepackage{ellipsis, ragged2e, marginnote}
+\DeclareMicrotypeSet*[tracking]{my}
+ { font = */*/*/sc/* }
+\SetTracking{ encoding = *, shape = sc }{ 45 }
+
+\usepackage{tikz}
+\usepackage{tikz-qtree}
+
+\definecolor{darkblue}{rgb}{0,0,.5}
+\hypersetup{pdftex=true, colorlinks=true, breaklinks=true, linkcolor=darkblue}
+
+\definecolor{gray}{rgb}{.5,.5,.5}
+\lstset{basicstyle=\small\ttfamily, commentstyle=\color{gray}, emphstyle=\sffamily\bfseries}
+\lstset{keywordstyle=\sffamily\bfseries, commentstyle=\color{gray}, stringstyle=\color{black}}
+\lstset{numbers=left, numberstyle=\tiny}
+
+%\parindent0pt
+
+\date{\textsf{\small{\today}}}
+\author{Patrick Simianer}
+{\title{\textbf{Titel}}}
+
+\usepackage[]{scrpage2}
+\pagestyle{scrheadings}
+\ihead[]{Patrick Simianer}
+\chead[]{}
+\ohead[]{kurzer Titel}
+\ifoot[]{}
+\cfoot[]{}
+\clearscrplain % page numbers of all pages
+\ofoot[\pagemark]{\textit{\pagemark} \tiny{\textit{\ref{TotPages}}}}
+
+\begin{document}
+
+
+\maketitle
+
+\section*{Aufgabe 1}
+\begin{equation}
+ \sum\limits_{k=1}^n k = 1+2+\hdots+n = \frac{n(n+1)}{2}
+\end{equation}
+
+\subsection*{Programm: Hello, World!}
+\lstset{language=C++, emph={main}}
+\begin{lstlisting}{Hello, World!}
+/* Ein Kommentar */
+#include <iostream>
+
+int main (int argc, char * const argv[]) {
+ // und noch einer!
+ std::cout << "Hello, World!\n";
+ return 0;
+}
+\end{lstlisting}
+
+\begin{tikzpicture}
+\Tree [.S
+ [.NP
+ [.Det \textit{The} ]
+ [.N \textit{studio} ]
+ ]
+ [.VP
+ [.V \textit{offers} ]
+ [.N \textit{sound effects} ]
+ ]
+ ]
+\end{tikzpicture}
+
+
+\end{document}
+
diff --git a/templates/latex/article.tex b/templates/latex/article.tex
new file mode 100644
index 0000000..c199be6
--- /dev/null
+++ b/templates/latex/article.tex
@@ -0,0 +1,52 @@
+% article.tex
+% Patrick Simianer <p@simianer.de>
+% YYYY-MM-DD
+\documentclass[a4paper, 11pt]{scrartcl}
+\typearea{12}
+
+\usepackage[utf8]{inputenc}
+\usepackage[T1]{fontenc}
+\usepackage[ngerman]{babel}
+
+\usepackage{amsmath, amssymb, latexsym}
+\usepackage{hyperref, color}
+\usepackage[pdftex]{graphicx}
+\usepackage{listings}
+\usepackage{ulem}
+\usepackage{microtype}
+\usepackage{lmodern,eulervm}
+
+\definecolor{darkblue}{rgb}{0,0,.5}
+\hypersetup{pdftex=true, colorlinks=true, breaklinks=true, linkcolor=darkblue}
+
+%\parindent0pt
+
+\definecolor{gray}{rgb}{.5,.5,.5}
+\lstset{basicstyle=\small\ttfamily, commentstyle=\color{gray}, emphstyle=\sffamily\bfseries}
+\lstset{keywordstyle=\sffamily\bfseries, commentstyle=\color{gray}, stringstyle=\color{black}}
+\lstset{numbers=left, numberstyle=\tiny}
+
+\begin{document}
+
+
+\begin{equation}
+ \sum\limits_{k=1}^n k = 1+2+\hdots+n = \frac{n(n+1)}{2}
+\end{equation}
+
+\section*{Aufgabe 1}
+\subsection*{Programm: Hello, World!}
+\lstset{language=C++, emph={main}}
+\begin{lstlisting}{Hello, World!}
+/* Ein Kommentar */
+#include <iostream>
+
+int main (int argc, char * const argv[]) {
+ // und noch einer!
+ std::cout << "Hello, World!\n";
+ return 0;
+}
+\end{lstlisting}
+
+
+\end{document}
+
diff --git a/templates/latex/beamer.tex b/templates/latex/beamer.tex
new file mode 100644
index 0000000..f5af46c
--- /dev/null
+++ b/templates/latex/beamer.tex
@@ -0,0 +1,162 @@
+% beamer.tex
+% Patrick Simianer <p@simianer.de>
+% YYYY-MM-DD
+\documentclass[ignorenonframetext]{beamer}
+
+\mode<presentation>
+{
+ \usecolortheme{dolphin}
+ \usefonttheme{professionalfonts}
+ \useinnertheme{circles}
+ \setbeamertemplate{sidebar right} {
+ \vskip0.1cm
+ \llap{\insertlogo\hskip0.1cm}
+ \vskip2pt
+ \vskip2pt
+ }
+ \setbeamertemplate{footline}[frame number]
+}
+
+\usepackage[utf8]{inputenc}
+\usepackage[T1]{fontenc}
+\usepackage[ngerman]{babel}
+\usepackage{framed}
+\usepackage{microtype}
+
+\AtBeginSection[] {
+ \begin{frame}
+ \tableofcontents[currentsection]
+ \end{frame}
+}
+
+\usepackage[scaled]{helvet}
+\usepackage{helvet,eulervm}
+\renewcommand{\ttdefault}{lmtt}
+
+\title[ktitel]{Autor(en)\\ Titel}
+\author{Patrick~Simianer}
+\date{Titel\\ Ort}
+
+\begin{document}
+
+
+\frame[plain]{\titlepage}
+\begin{frame}{Gliederung}\tableofcontents\end{frame}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Nur ein Test
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\section{Pause, Abblenden}
+
+
+\subsection{Pause}
+
+\begin{frame}{Test von Pause}
+
+ \begin{itemize}
+ \item Motivation
+ .....
+ \pause
+ \item Experiment
+ \begin{itemize}
+ \item Aufbau des Experiments
+ .....
+ \end{itemize}
+ \end{itemize}
+\end{frame}
+
+
+\subsection{Abblenden}
+
+\begin{frame}{Abblenden}
+
+ \begin{itemize}
+ \item<1-> Normal LaTeX class.
+ \item<2-> Easy overlays.
+ \item<3-> No external programs needed.
+ \end{itemize}
+\end{frame}
+
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Nur ein test
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\section{Nur ein Test}
+
+
+\subsection{Test Blocks}
+
+\begin{frame}{Test Blocks}
+
+ \begin{alert}{Titel des Blocks}
+ Dies steht in einem Block
+ \end{alert}
+
+ \begin{example}{Titel des 2. Blocks}
+ Dies steht in einem Block\\ Das auch ...
+ \end{example}
+
+ \begin{block}{Titel des 2. Blocks}
+ Dies steht in einem Block\\ Das auch ...
+ \end{block}
+
+ \begin{framed}
+ \begin{block}{Titel des 2. Blocks}
+ Dies steht in einem Block\\ Das auch ...
+ \end{block}
+ \end{framed}
+\end{frame}
+
+
+\subsection{Nochmal Blocks}
+
+\begin{frame}{Nochmal Blocks}
+
+ \begin{block}{Titel des Blocks}
+ Dies steht in einem Block\\ Das auch ...
+ \end{block}
+ \begin{block}{Titel des 2. Blocks}
+ Dies steht in einem Block\\ Das auch ...
+ \end{block}
+\end{frame}
+
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Verbatim
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\section{Verbatim}
+
+
+\begin{frame}[fragile]{Verbatim}
+\begin{verbatim}
+a
+b
+c
+d
+e
+f
+g
+\end{verbatim}
+\end{frame}
+
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Literatur
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\begin{frame}[allowframebreaks]
+ \frametitle{Literatur}
+ \bibliographystyle{alpha}
+ \bibliography{example}
+ \nocite{*}
+\end{frame}
+
+
+\end{document}
+
diff --git a/templates/latex/dependency-tree.tex b/templates/latex/dependency-tree.tex
new file mode 100644
index 0000000..55b4605
--- /dev/null
+++ b/templates/latex/dependency-tree.tex
@@ -0,0 +1,33 @@
+% dependency-tree.tex
+% Patrick Simianer <p@simianer.de>
+% YYYY-MM-DD
+
+\documentclass{article}
+
+\usepackage[graphics,tightpage,active]{preview}
+\usepackage{tikz}
+\PreviewEnvironment{X}
+\newlength{\imagewidth}
+\newlength{\imagescale}
+\usepackage{tikz}
+\usepackage{tikz-dependency}
+
+\begin{document}
+
+\begin{X}
+\begin{dependency}[theme = simple]
+\begin{deptext}
+ the \& boy \& will \& find \& it \& interesting \\
+\end{deptext}
+\depedge[hide label, line width=1pt]{2}{1}{}
+\depedge[hide label, line width=1pt]{4}{2}{}
+\depedge[hide label, line width=1pt]{4}{3}{}
+\depedge[hide label, line width=1pt]{4}{5}{}
+\depedge[hide label, line width=1pt]{4}{6}{}
+\end{dependency}
+\end{X}
+
+
+\end{document}
+
+
diff --git a/templates/latex/example.bib b/templates/latex/example.bib
new file mode 100644
index 0000000..b48c8df
--- /dev/null
+++ b/templates/latex/example.bib
@@ -0,0 +1,7 @@
+@booklet{goecke,
+ address = {Wiesbaden},
+ author = {Goecke, R.},
+ title = {Kommunikation von F{\"u}hrungskr{\"a}ften. Fallstudien zur Medienanwendung im oberen Management},
+ year = {1997}
+}
+
diff --git a/templates/latex/example_slides/Makefile b/templates/latex/example_slides/Makefile
new file mode 100644
index 0000000..c405d73
--- /dev/null
+++ b/templates/latex/example_slides/Makefile
@@ -0,0 +1,6 @@
+all:
+ pdflatex slides.tex; pdflatex slides.tex; pdflatex slides.tex
+
+clean:
+ rm *.aux *.bbl *.blg *.log *.nav *.out *.snm *.toc inc/*.aux
+
diff --git a/templates/latex/example_slides/slides.tex b/templates/latex/example_slides/slides.tex
new file mode 100644
index 0000000..646185d
--- /dev/null
+++ b/templates/latex/example_slides/slides.tex
@@ -0,0 +1,51 @@
+% slides.tex
+% Patrick Simianer <p@simianer.de>
+% YYYY-MM-DD
+\documentclass{beamer}
+
+\mode<presentation>
+{
+ \usecolortheme{dolphin}
+ \usefonttheme{professionalfonts}
+ \useinnertheme{circles}
+ \setbeamertemplate{sidebar right} {
+ \vskip0.1cm
+ \llap{\insertlogo\hskip0.1cm}
+ \vskip2pt
+ \vskip2pt
+ }
+ \setbeamertemplate{footline}[frame number]
+}
+
+\usepackage[utf8]{inputenc}
+\usepackage[T1]{fontenc}
+\usepackage[english]{babel}
+\usepackage{framed}
+\usepackage{microtype}
+\usepackage{hyperref}
+
+\AtBeginSection[] {
+ \begin{frame}
+ \tableofcontents[currentsection]
+ \end{frame}
+}
+
+\usepackage[scaled]{helvet}
+\usepackage{helvet,eulervm}
+\renewcommand{\ttdefault}{lmtt}
+
+\title[Example]{Example Talk}
+\author{Patrick~Simianer}
+\date{ICL, Heidelberg University, Summer Term 2011/12}
+
+\begin{document}
+
+
+\frame[plain]{\titlepage}
+\begin{frame}{Outline}\tableofcontents\end{frame}
+
+%\include{inc/TODO}
+
+
+\end{document}
+
diff --git a/templates/latex/invoice.tex b/templates/latex/invoice.tex
new file mode 100644
index 0000000..8cbd909
--- /dev/null
+++ b/templates/latex/invoice.tex
@@ -0,0 +1,66 @@
+% invoice.tex
+% Patrick Simianer <p@simianer.de>
+% YYYY-MM-DD
+\documentclass{tfbrief-invoice}
+
+\usepackage[utf8]{inputenc}
+\usepackage[T1]{fontenc}
+\usepackage{lmodern}
+\usepackage[ngerman]{babel}
+\usepackage[german]{invoice}
+\usepackage{microtype}
+
+\usepackage{color}
+\usepackage{hyperref}
+\definecolor{darkblue}{rgb}{0,0,.5}
+\hypersetup{pdftex=true, colorlinks=true, breaklinks=true, linkcolor=darkblue, menucolor=darkblue, pagecolor=darkblue, urlcolor=darkblue}
+
+\settowidth{\fromwidth}{FIXME}
+\fromname{Patrick Simianer}
+\fromstreet[]{FIXME}
+\fromcity[]{FIXME}
+\fromcitycode{FIXME}
+\frommobile{FIXME}
+\fromemail{p@simianer.de}
+
+\toname{Bundesamt für Frühstücksflocken\\ z.\,Hd. Frau Mahlzahn}
+\tostreet{An der Spree 3}
+\tocity{Berlin}
+\tocitycode{10176}
+
+\date{\today}
+\subject{Rechnungsnummer: YYYY-NN}
+\greeting{Sehr geehrte Frau Mahlzahn,}
+\leave{Vielen Dank und mit freundlichen Grüßen}
+
+\begin{document}
+
+
+\begin{letter}
+
+anbei die Rechnung f"ur das FIXME. F"ur die Versteuerung bin ich selbst verantwortlich. Ich bin Kleinunternehmer nach \S19 Umsatzsteuergesetz.\\
+Meine Steuernummer lautet \textbf{FIXME}.
+
+Bitte "uberweisen Sie die auf der n"achsten Seite aufgef"uhrte Gesamtsumme auf folgendes Konto:\\
+\vspace{.5cm}
+\begin{tabular}{ll}
+ \sffamily\small Kontoinhaber: & \sffamily\small Patrick Simianer\\
+ \sffamily\small Kontonummer: & \sffamily\small FIXME\\
+ \sffamily\small Bankleitzahl: & \sffamily\small FIXME\\
+ \sffamily\small Bankverbindung: & \sffamily\small FIXME
+\end{tabular}
+
+\vspace{-2cm}
+
+\small
+\begin{invoice}{Euro}{0}
+ \ProjectTitle{}
+ \Fee{FIXME}{25,00}{1}
+\end{invoice}
+\normalsize
+
+\end{letter}
+
+
+\end{document}
+
diff --git a/templates/latex/plain-letter.tex b/templates/latex/plain-letter.tex
new file mode 100644
index 0000000..2971021
--- /dev/null
+++ b/templates/latex/plain-letter.tex
@@ -0,0 +1,34 @@
+% plain-letter.tex
+% Patrick Simianer <p@simianer.de>
+% YYYY-MM-DD
+\documentclass{scrartcl}
+
+\usepackage[utf8]{inputenc}
+\usepackage[T1]{fontenc}
+\usepackage{lmodern,eulervm}
+\usepackage[ngerman]{babel}
+\parindent0pt
+
+\begin{document}
+
+
+Patrick Simianer\\
+FIXME\\
+FIXME
+\vspace{1.5cm}
+
+
+Sehr geehrte Damen und Herren,\\
+
+hiermit kuendige ich etwas fristgerecht zum 15.04.2012.\\
+
+Vielen Dank\\
+\vspace{2cm}
+
+
+Patrick Simianer
+
+
+
+\end{document}
+
diff --git a/templates/latex/plain.tex b/templates/latex/plain.tex
new file mode 100644
index 0000000..5ac215c
--- /dev/null
+++ b/templates/latex/plain.tex
@@ -0,0 +1,19 @@
+% plain.tex
+% Patrick Simianer <p@simianer.de>
+% YYYY-MM-DD
+\documentclass{scrartcl}
+
+\usepackage[utf8]{inputenc}
+\usepackage[T1]{fontenc}
+\usepackage{lmodern,eulervm}
+\usepackage[ngerman]{babel}
+
+
+\begin{document}
+
+
+asdf
+
+
+\end{document}
+
diff --git a/templates/latex/report.tex b/templates/latex/report.tex
new file mode 100644
index 0000000..cb7cc2e
--- /dev/null
+++ b/templates/latex/report.tex
@@ -0,0 +1,46 @@
+% report.tex
+% Patrick Simianer <p@simianer.de>
+% YYYY-MM-DD
+\documentclass[a4paper, 11pt]{scrreprt}
+%\typearea{12}
+
+\usepackage[utf8]{inputenc}
+\usepackage[T1]{fontenc}
+\usepackage{lmodern,eulervm}
+\usepackage[ngerman]{babel}
+\usepackage[numbers,square]{natbib}
+\usepackage{color}
+%\usepackage{ulem} %debug
+\usepackage{microtype}
+
+\usepackage{hyperref}
+ \definecolor{darkblue}{rgb}{0,0,.5}
+ \hypersetup{colorlinks=true, linkcolor=darkblue} %'debug'
+ %\hypersetup{colorlinks=false, pdfborder={0 0 0}}
+
+\title{\Huge Der Titel der Arbeit}
+\author{*arbeit von Patrick Simianer\\ BetreuerIn: Die Maus\\ \\ Institut für Computerlinguistik\\ \begin{small}Institut für allgemeine und angewandte Sprach- und Kulturwissenschaft\end{small}\\\begin{small}Ruprecht-Karls-Universität Heidelberg\end{small}}
+\date{\textsf{\small{\today}}}
+
+\begin{document}
+
+
+\maketitle
+
+\pagenumbering{roman}
+\tableofcontents
+\newpage
+\pagenumbering{arabic}
+
+\chapter{Chapter}
+\section{Section}
+\subsection{Subsection}
+bla bla s. \cite{goecke}
+
+\bibliographystyle{plainnat}
+\bibliography{example}
+\thispagestyle{empty}
+
+
+\end{document}
+
diff --git a/templates/latex/tfbrief.tex b/templates/latex/tfbrief.tex
new file mode 100644
index 0000000..872bdeb
--- /dev/null
+++ b/templates/latex/tfbrief.tex
@@ -0,0 +1,55 @@
+% tfbrief.tex
+% Patrick Simianer <p@simianer.de>
+% YYYY-MM-DD
+\documentclass{tfbrief}
+
+\usepackage[utf8]{inputenc}
+\usepackage[T1]{fontenc}
+\usepackage{lmodern}
+\usepackage[ngerman]{babel}
+\usepackage{microtype}
+
+\usepackage{color}
+\usepackage{hyperref}
+\definecolor{darkblue}{rgb}{0,0,.5}
+\hypersetup{pdftex=true, colorlinks=true, breaklinks=true, linkcolor=darkblue, menucolor=darkblue, pagecolor=darkblue, urlcolor=darkblue}
+
+
+\settowidth{\fromwidth}{FIXME}
+\fromname{Patrick Simianer}
+\fromstreet[]{FIXME}
+\fromcity[]{FIXME}
+\fromcitycode{FIXME}
+\frommobile{FIXME}
+\fromemail{p@simianer.de}
+
+\toname{Bundesamt für Frühstücksflocken\\ z.\,Hd. Frau Mahlzahn}
+\tostreet{An der Spree 3}
+\tocity{Berlin}
+\tocitycode{10176}
+
+\date{\today}
+\subject{Untersuchung von Frühstücksflocken\\Aktenzeichen: 58636-AZG -- HA\,3\\Bearbeiter: Frau Mahlzahn}
+\greeting{Sehr geehrte Frau Mahlzahn,}
+\leave{Mit freundlichen Grüßen}
+
+\begin{document}
+
+
+\begin{letter}
+anbei erhalten Sie wie im Schreiben vom 21.02.2006 angefragt die bisherigen Unter\-suchungs\-ergebnisse für die Frühstücksflocken der Marke \glqq{}Roter Morgen\grqq, hergestellt von den „Nahrungs\-mittel\-werke Ernst Mosch“ in Castrup-Brauxel.
+
+Nach den bisherigen Ergebnissen können die Frühstücksflocken nicht für den Verzehr empfohlen werden.
+ Die untersuchten Proben weisen einen Knusprigkeitsgrad von $1,7$ auf und liegen damit unter dem gesetzlichen Grenzwert von $3,2$.
+
+Ich hoffe, diese Informationen sind Ihnen für Ihre Arbeit behilflich.
+\end{letter}
+
+\begin{attachment}
+ \item Vorläufige Untersuchungsergebnisse (mit Durchschlag auf blauem Papier)
+ \item blubb
+\end{attachment}
+
+
+\end{document}
+
diff --git a/templates/latex/tightpage.tex b/templates/latex/tightpage.tex
new file mode 100644
index 0000000..96f7879
--- /dev/null
+++ b/templates/latex/tightpage.tex
@@ -0,0 +1,21 @@
+% tightpage.tex
+% Patrick Simianer <p@simianer.de>
+% YYYY-MM-DD
+\documentclass{article}
+
+\usepackage[graphics,tightpage,active]{preview}
+\usepackage{tikz}
+\PreviewEnvironment{X}
+\newlength{\imagewidth}
+\newlength{\imagescale}
+
+\begin{document}
+
+
+\begin{X}
+%input
+\end{X}
+
+
+\end{document}
+
diff --git a/templates/latex/tree.tex b/templates/latex/tree.tex
new file mode 100644
index 0000000..6793cd4
--- /dev/null
+++ b/templates/latex/tree.tex
@@ -0,0 +1,24 @@
+% tree.tex
+% Patrick Simianer <p@simianer.de>
+% YYYY-MM-DD
+\documentclass{article}
+
+\usepackage[graphics,tightpage,active]{preview}
+\usepackage{tikz}
+\PreviewEnvironment{tree}
+\newlength{\imagewidth}
+\newlength{\imagescale}
+\usepackage{tikz}
+\usepackage{tikz-qtree}
+
+\begin{document}
+
+
+\begin{tree}
+\Tree [.S [.S [.S [.S [.S [.S [.S [.S [.S [.X it s a ] ] [.X metaphor , the ] ] [.X [.X over and over again ] , ] ] [.X and every time , ] ] [.X it makes ] ] [.X the big picture ] ] [.X greater than the sum of ] ] [.X the ] ] [.X pieces of [.X data ] ] ]
+\end{tree}
+
+
+\end{document}
+
+
diff --git a/templates/latex/word-alignment-ibm.tex b/templates/latex/word-alignment-ibm.tex
new file mode 100644
index 0000000..dac5d6a
--- /dev/null
+++ b/templates/latex/word-alignment-ibm.tex
@@ -0,0 +1,24 @@
+\documentclass{article}
+\usepackage{pst-node}
+\def\W#1#2{\rnode{#1}{#2}\hfill}
+\begin{document}
+
+\W{a}{The} \W{b}{proposal} \W{c}{will} \W{d}{not} \W{e}{now} \W{f}{be} \W{g}{implemented}
+
+\vspace{4cm}
+\W{A}{Les} \W{B}{propositions} \W{C}{nes} \W{D}{seront} \W{E}{pas} \W{F}{mises} \W{G}{en}
+ \W{H}{application} \W{I}{maintenant}
+\psset{nodesep=5pt}
+\ncline{a}{A}\ncline{b}{B}
+\ncline{c}{D}
+\ncdiag[border=4pt,angleA=-90,angleB=90,arm=5mm]{d}{C}
+\ncput[npos=1.5]{\rnode{dC}{}}
+\ncdiag[nodesepA=0pt,armB=5mm,angleA=-55,angleB=90]{dC}{E}
+\ncdiag[angleA=-90,angleB=90,arm=5mm]{e}{I}
+\ncdiag[border=4pt,angleA=-90,angleB=90,arm=5mm]{g}{F}
+\ncput[npos=1.8]{\rnode{gF}{}}
+\ncdiag[nodesepA=0pt,armB=5mm,angleA=-75,angleB=90]{gF}{G}
+\ncdiag[nodesepA=0pt,armB=5mm,angleA=-20,angleB=90]{gF}{H}
+\ncdiagg[angleA=-90,angleB=90,nodesepB=7mm]{f}{f}
+
+\end{document}
diff --git a/templates/latex/word-alignment.tex b/templates/latex/word-alignment.tex
new file mode 100644
index 0000000..b836cfc
--- /dev/null
+++ b/templates/latex/word-alignment.tex
@@ -0,0 +1,30 @@
+% Note: works only for XeLaTeX.
+\documentclass[border=1mm]{standalone}
+\usepackage{tikz}
+\usepackage{xltxtra}
+
+\begin{document}
+\begin{tikzpicture}[scale=0.7]
+ \tikzstyle{vertex}=[rectangle,rounded corners, fill=red!80!white,draw=red!70!black,
+ minimum size=0.6cm,line width=1]
+ \draw[step=1cm,draw=gray] (0,0) grid (5,7);
+
+ \foreach \y/\f in {0/a, 1/b, 2/c, 3/d, 4/e, 5/f, 6/g} {
+ \node[left] at (-.2,6.5-\y) {{\raggedleft \f }};
+ }
+
+ \foreach \x/\e in {0/she, 1/broke, 2/the, 3/school, 4/windows} {
+ \node[rotate=60,right] at (\x+.4,7.2) {{\raggedright \e}};
+ }
+
+ % draw word alignment
+ \foreach \x/\y in {0/0, 1/6, 3/2, 4/4} {
+ \node[vertex] at (\x+.5, 6.5-\y) {};
+ }
+\end{tikzpicture}
+\end{document}
+
+%%% Local Variables:
+%%% mode: latex
+%%% TeX-master: t
+%%% End:
diff --git a/templates/plainc.c b/templates/plainc.c
new file mode 100644
index 0000000..26c7a80
--- /dev/null
+++ b/templates/plainc.c
@@ -0,0 +1,17 @@
+/*
+ * template.c
+ *
+ * Patrick Simianer <p@simianer.de>
+ * YYYY-MM-DD
+ */
+
+#include <stdio.h>
+
+
+int main(int argc, char** argv)
+{
+ printf('Hello, World!\n');
+
+ return 0;
+}
+
diff --git a/templates/python.py b/templates/python.py
new file mode 100644
index 0000000..9bba65e
--- /dev/null
+++ b/templates/python.py
@@ -0,0 +1,24 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+
+"""
+template.py
+bla bla
+
+Patrick Simianer <p@simianer.de>
+YYYY-MM-DD
+"""
+
+import sys
+
+
+def main():
+ try:
+ arg = sys.argv[1]
+ except IndexError:
+ sys.stderr.write('Usage: %s <arg>\n'%sys.argv[0])
+ sys.exit(1)
+
+if __name__ == '__main__':
+ main()
+
diff --git a/templates/ruby.rb b/templates/ruby.rb
new file mode 100644
index 0000000..dadd656
--- /dev/null
+++ b/templates/ruby.rb
@@ -0,0 +1,23 @@
+#!/usr/bin/env ruby
+
+# template.rb
+# Patrick Simianer <p@simianer.de>
+# YYYY-MM-DD
+
+STDIN.set_encoding 'utf-8'
+STDOUT.set_encoding 'utf-8'
+STDERR.set_encoding 'utf-8'
+STDOUT.sync = true
+STDERR.sync = true
+
+
+def fun(arg)
+ puts 'Hello, World!'
+end
+
+
+if __FILE__ == $0
+ arg = ARGV[0]
+ fun(arg)
+end
+
diff --git a/templates/stylesheet.css b/templates/stylesheet.css
new file mode 100644
index 0000000..dca7593
--- /dev/null
+++ b/templates/stylesheet.css
@@ -0,0 +1,30 @@
+/*
+ * template.css
+ *
+ * Patrick Simianer <p@simianer.de>
+ * YYYY-MM-DD
+ */
+
+* {
+ margin:0;
+ padding:0
+}
+
+/* by tag */
+a { text-decoration:underline }
+a:hover { text-decoration:none }
+abbr { border-bottom:1px dotted #000 }
+del { text-decoration:line-through }
+
+/* by class */
+.small { font-size:80% }
+.large { font-size:120% }
+.right { text-align:right }
+.center { text-align:center }
+.ok { color:green }
+.warn { color:yellow }
+.err { color:red }
+
+/* by id */
+
+