From 60c1b9387cd98b3ba875bddb13c86e9e090cb1f1 Mon Sep 17 00:00:00 2001
From: Patrick Simianer <p@simianer.de>
Date: Sun, 10 Aug 2014 12:21:13 +0100
Subject: init

---
 templates/latex/article-title.tex | 97 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 97 insertions(+)
 create mode 100644 templates/latex/article-title.tex

(limited to 'templates/latex/article-title.tex')

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}
+
-- 
cgit v1.2.3

