From 60c1b9387cd98b3ba875bddb13c86e9e090cb1f1 Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Sun, 10 Aug 2014 12:21:13 +0100 Subject: init --- templates/cplusplus.cc | 19 ++++ templates/header.h | 17 ++++ templates/html5.html | 27 +++++ templates/latex/Makefile | 15 +++ templates/latex/README.md | 3 + templates/latex/article-title.tex | 97 ++++++++++++++++++ templates/latex/article.tex | 52 ++++++++++ templates/latex/beamer.tex | 162 ++++++++++++++++++++++++++++++ templates/latex/dependency-tree.tex | 33 ++++++ templates/latex/example.bib | 7 ++ templates/latex/example_slides/Makefile | 6 ++ templates/latex/example_slides/slides.tex | 51 ++++++++++ templates/latex/invoice.tex | 66 ++++++++++++ templates/latex/plain-letter.tex | 34 +++++++ templates/latex/plain.tex | 19 ++++ templates/latex/report.tex | 46 +++++++++ templates/latex/tfbrief.tex | 55 ++++++++++ templates/latex/tightpage.tex | 21 ++++ templates/latex/tree.tex | 24 +++++ templates/latex/word-alignment-ibm.tex | 24 +++++ templates/latex/word-alignment.tex | 30 ++++++ templates/plainc.c | 17 ++++ templates/python.py | 24 +++++ templates/ruby.rb | 23 +++++ templates/stylesheet.css | 30 ++++++ 25 files changed, 902 insertions(+) create mode 100644 templates/cplusplus.cc create mode 100644 templates/header.h create mode 100644 templates/html5.html create mode 100644 templates/latex/Makefile create mode 100644 templates/latex/README.md create mode 100644 templates/latex/article-title.tex create mode 100644 templates/latex/article.tex create mode 100644 templates/latex/beamer.tex create mode 100644 templates/latex/dependency-tree.tex create mode 100644 templates/latex/example.bib create mode 100644 templates/latex/example_slides/Makefile create mode 100644 templates/latex/example_slides/slides.tex create mode 100644 templates/latex/invoice.tex create mode 100644 templates/latex/plain-letter.tex create mode 100644 templates/latex/plain.tex create mode 100644 templates/latex/report.tex create mode 100644 templates/latex/tfbrief.tex create mode 100644 templates/latex/tightpage.tex create mode 100644 templates/latex/tree.tex create mode 100644 templates/latex/word-alignment-ibm.tex create mode 100644 templates/latex/word-alignment.tex create mode 100644 templates/plainc.c create mode 100644 templates/python.py create mode 100644 templates/ruby.rb create mode 100644 templates/stylesheet.css (limited to 'templates') 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
+ * YYYY-MM-DD
+ */
+
+#include
+ * YYYY-MM-DD
+ */
+
+
+#ifndef UNTITLED_H
+#define UNTITLED_H
+
+#include
+% 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
+% 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
+% YYYY-MM-DD
+\documentclass[ignorenonframetext]{beamer}
+
+\mode
+% 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
+% YYYY-MM-DD
+\documentclass{beamer}
+
+\mode
+% 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
+% 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
+% 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
+% 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
+% 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
+% 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
+% 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
+ * YYYY-MM-DD
+ */
+
+#include
+YYYY-MM-DD
+"""
+
+import sys
+
+
+def main():
+ try:
+ arg = sys.argv[1]
+ except IndexError:
+ sys.stderr.write('Usage: %s
+# 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
+ * 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 */
+
+
--
cgit v1.2.3
From dd5d680ef1b3442df4e1aaf6bd8ce9bc30cd1640 Mon Sep 17 00:00:00 2001
From: Patrick Simianer
Date: Sun, 10 Aug 2014 12:23:23 +0100
Subject: fix README.md
---
templates/latex/README.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'templates')
diff --git a/templates/latex/README.md b/templates/latex/README.md
index 45f1c94..d385c99 100644
--- a/templates/latex/README.md
+++ b/templates/latex/README.md
@@ -1,3 +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
+* 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
--
cgit v1.2.3
From 3af4d5a70e6b3d5eaa88c786ca902c60652a8ac4 Mon Sep 17 00:00:00 2001
From: Patrick Simianer
Date: Wed, 4 Mar 2015 17:25:51 +0100
Subject: Ouch!
---
templates/cplusplus.cc | 2 +-
templates/plainc.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
(limited to 'templates')
diff --git a/templates/cplusplus.cc b/templates/cplusplus.cc
index 346f268..bddbfd2 100644
--- a/templates/cplusplus.cc
+++ b/templates/cplusplus.cc
@@ -12,7 +12,7 @@ using namespace std;
int main(int argc, char const* argv[])
{
- cout << 'Hello, World!' << endl;
+ cout << "Hello, World!" << endl;
return 0;
}
diff --git a/templates/plainc.c b/templates/plainc.c
index 26c7a80..16bb550 100644
--- a/templates/plainc.c
+++ b/templates/plainc.c
@@ -10,7 +10,7 @@
int main(int argc, char** argv)
{
- printf('Hello, World!\n');
+ printf("Hello, World!\n");
return 0;
}
--
cgit v1.2.3
From bae711de2b155f88e601e98d4742b2eb7852a4e5 Mon Sep 17 00:00:00 2001
From: Patrick Simianer
Date: Wed, 4 Mar 2015 17:26:09 +0100
Subject: LaTeX Makefiles
---
templates/latex/Makefile | 2 +-
templates/latex/example_slides/Makefile | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
(limited to 'templates')
diff --git a/templates/latex/Makefile b/templates/latex/Makefile
index cb89f40..d6d4a1c 100644
--- a/templates/latex/Makefile
+++ b/templates/latex/Makefile
@@ -11,5 +11,5 @@ word-alignment.pdf: word-alignment.tex
xelatex word-alignment.tex
clean:
- rm *.aux *.bbl *.blg *.log *.nav *.out *.snm *.toc *.pdf
+ rm -f *.aux *.bbl *.blg *.log *.nav *.out *.snm *.toc *.pdf
diff --git a/templates/latex/example_slides/Makefile b/templates/latex/example_slides/Makefile
index c405d73..4a06a6c 100644
--- a/templates/latex/example_slides/Makefile
+++ b/templates/latex/example_slides/Makefile
@@ -2,5 +2,5 @@ all:
pdflatex slides.tex; pdflatex slides.tex; pdflatex slides.tex
clean:
- rm *.aux *.bbl *.blg *.log *.nav *.out *.snm *.toc inc/*.aux
+ rm -f *.aux *.bbl *.blg *.log *.nav *.out *.snm *.toc inc/*.aux
--
cgit v1.2.3
From e4cc0db4da9ff6760fdf12d5fd8ee62c66b77862 Mon Sep 17 00:00:00 2001
From: Patrick Simianer
Date: Thu, 8 Dec 2016 11:24:33 +0100
Subject: tikzposter template
---
templates/poster/dfg.pdf | Bin 0 -> 11989 bytes
templates/poster/hdu.pdf | Bin 0 -> 63764 bytes
templates/poster/poster.pdf | Bin 0 -> 112480 bytes
templates/poster/poster.tex | 84 ++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 84 insertions(+)
create mode 100644 templates/poster/dfg.pdf
create mode 100644 templates/poster/hdu.pdf
create mode 100644 templates/poster/poster.pdf
create mode 100644 templates/poster/poster.tex
(limited to 'templates')
diff --git a/templates/poster/dfg.pdf b/templates/poster/dfg.pdf
new file mode 100644
index 0000000..95bd3f9
Binary files /dev/null and b/templates/poster/dfg.pdf differ
diff --git a/templates/poster/hdu.pdf b/templates/poster/hdu.pdf
new file mode 100644
index 0000000..3210b15
Binary files /dev/null and b/templates/poster/hdu.pdf differ
diff --git a/templates/poster/poster.pdf b/templates/poster/poster.pdf
new file mode 100644
index 0000000..a6880e5
Binary files /dev/null and b/templates/poster/poster.pdf differ
diff --git a/templates/poster/poster.tex b/templates/poster/poster.tex
new file mode 100644
index 0000000..1cec962
--- /dev/null
+++ b/templates/poster/poster.tex
@@ -0,0 +1,84 @@
+\documentclass[25pt, a0paper, portrait, margin=0mm, innermargin=10mm,
+ blockverticalspace=10mm, colspace=10mm, subcolspace=5mm]{tikzposter}
+
+\usepackage[utf8]{inputenc}
+
+\usetheme{Autumn}
+\usecolorstyle{Germany}
+
+\title{\textsf{Title}}
+\author{\textsf{Author 1$^\dag$, Author 2$^{\dag*}$, Auhtor 3$^{\dag\ddag}$}}
+\institute{\large\textsf{Department$^\dag$ \& IWR$^\ddag$, University, Country \\
+ $^*$ Other university, other Country}}
+
+% logos
+% source: http://tex.stackexchange.com/questions/263563/add-logos-beyond-the-title-tikzposter/263564
+\makeatletter
+\newcommand\insertlogoi[2][]{\def\@insertlogoi{\includegraphics[#1]{#2}}}
+\newcommand\insertlogoii[2][]{\def\@insertlogoii{\includegraphics[#1]{#2}}}
+\newlength\LogoSep
+\setlength\LogoSep{0pt}
+\insertlogoi[width=13cm]{hdu.pdf}
+\insertlogoii[width=13cm]{dfg.pdf}
+\renewcommand\maketitle[1][]{ % #1 keys
+ \normalsize
+ \setkeys{title}{#1}
+ % Title dummy to get title height
+ \node[transparent,inner sep=\TP@titleinnersep, line width=\TP@titlelinewidth, anchor=north, minimum width=\TP@visibletextwidth-2\TP@titleinnersep]
+ (TP@title) at ($(0, 0.5\textheight-\TP@titletotopverticalspace)$) {\parbox{\TP@titlewidth-2\TP@titleinnersep}{\TP@maketitle}};
+ \draw let \p1 = ($(TP@title.north)-(TP@title.south)$) in node {
+ \setlength{\TP@titleheight}{\y1}
+ \setlength{\titleheight}{\y1}
+ \global\TP@titleheight=\TP@titleheight
+ \global\titleheight=\titleheight
+ };
+
+ % Compute title position
+ \setlength{\titleposleft}{-0.5\titlewidth}
+ \setlength{\titleposright}{\titleposleft+\titlewidth}
+ \setlength{\titlepostop}{0.5\textheight-\TP@titletotopverticalspace}
+ \setlength{\titleposbottom}{\titlepostop-\titleheight}
+
+ % Title style (background)
+ \TP@titlestyle
+
+ % Title node
+ \node[inner sep=\TP@titleinnersep, line width=\TP@titlelinewidth, anchor=north, minimum width=\TP@visibletextwidth-2\TP@titleinnersep]
+ at (0,0.5\textheight-\TP@titletotopverticalspace)
+ (title)
+ {\parbox{\TP@titlewidth-2\TP@titleinnersep}{\TP@maketitle}};
+
+ \node[inner sep=0pt,anchor=west]
+ at ([xshift=-\LogoSep]title.west)
+ {\@insertlogoi};
+
+ \node[inner sep=0pt,anchor=east]
+ at ([xshift=\LogoSep]title.east)
+ {\@insertlogoii};
+
+ % Settings for blocks
+ \normalsize
+ \setlength{\TP@blocktop}{\titleposbottom-\TP@titletoblockverticalspace}
+}
+\makeatother
+% end logos
+
+\begin{document}
+
+\maketitle
+
+\begin{columns}
+ \column{.5}
+ \begin{block}{Left column}
+ left column
+ \end{block}
+ \column{.5}
+ \begin{block}{Right column}
+ Right column
+ \end{block}
+\end{columns}
+
+\end{document}
+
+\endinput
+
--
cgit v1.2.3
From af8617eeff5e40df0610b00214c20095654d63a6 Mon Sep 17 00:00:00 2001
From: Patrick Simianer
Date: Sun, 2 Apr 2017 22:52:24 +0200
Subject: rm old stuff
---
templates/latex/invoice.tex | 66 ---------------------------------------------
templates/latex/tfbrief.tex | 55 -------------------------------------
2 files changed, 121 deletions(-)
delete mode 100644 templates/latex/invoice.tex
delete mode 100644 templates/latex/tfbrief.tex
(limited to 'templates')
diff --git a/templates/latex/invoice.tex b/templates/latex/invoice.tex
deleted file mode 100644
index 8cbd909..0000000
--- a/templates/latex/invoice.tex
+++ /dev/null
@@ -1,66 +0,0 @@
-% invoice.tex
-% Patrick Simianer
-% 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/tfbrief.tex b/templates/latex/tfbrief.tex
deleted file mode 100644
index 872bdeb..0000000
--- a/templates/latex/tfbrief.tex
+++ /dev/null
@@ -1,55 +0,0 @@
-% tfbrief.tex
-% Patrick Simianer
-% 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}
-
--
cgit v1.2.3