X-Git-Url: https://git.madduck.net/etc/texmf.git/blobdiff_plain/99d6e9c1583515c66d89644283c778340f295dee..3c01058cf284eacdb505afa88e1e328f9735b8ab:/.texmf/tex/latex/vertrag.sty?ds=sidebyside

diff --git a/.texmf/tex/latex/vertrag.sty b/.texmf/tex/latex/vertrag.sty
new file mode 100644
index 0000000..28fb90f
--- /dev/null
+++ b/.texmf/tex/latex/vertrag.sty
@@ -0,0 +1,43 @@
+\RequirePackage{koma-rotis}
+\RequirePackage{utf8}
+\RequirePackage{pdf}
+\ifpdf
+  \RequirePackage[pdftex]{graphicx}
+\else
+  \RequirePackage[dvips]{graphicx}
+\fi
+\RequirePackage[german]{babel}
+\RequirePackage{scrjura}
+\RequirePackage{fullpage}
+
+\setlength{\parindent}{0pt}
+\setlength{\parskip}{0.5em}
+
+\setkeys{contract}{preskip=2\parskip, postskip=\parskip}
+
+\addtokomafont{title}{\rmfamily}
+\addtokomafont{contract.Paragraph}{\rmfamily}
+
+\newenvironment{Vertrag}[2]
+{%
+  \maketitle
+  \vspace{-4em}
+  \begin{contract}
+  Zwischen
+
+  #1
+
+  und
+
+  #2
+
+  wird folgendes vereinbart:
+}%
+{\end{contract}}
+
+\newcommand{\Vertragspartner}[2]{%
+  \begin{addmargin}[1em]{0em}
+    #2
+    \flushright â \textit{nachfolgend ``#1'' genannt} â
+  \end{addmargin}
+}
