]> git.madduck.net Git - etc/texmf.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

add vertrag package
authormartin f. krafft <madduck@madduck.net>
Fri, 25 Oct 2013 14:19:40 +0000 (16:19 +0200)
committermartin f. krafft <madduck@madduck.net>
Fri, 25 Oct 2013 14:19:40 +0000 (16:19 +0200)
.texmf/tex/latex/vertrag.sty [new file with mode: 0644]

diff --git a/.texmf/tex/latex/vertrag.sty b/.texmf/tex/latex/vertrag.sty
new file mode 100644 (file)
index 0000000..28fb90f
--- /dev/null
@@ -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}
+}