]> git.madduck.net Git - etc/texmf.git/blobdiff - .texmf/tex/latex/vertrag.sty

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:

switch rotis to lato
[etc/texmf.git] / .texmf / tex / latex / vertrag.sty
index a5cc89f622105bcdb1cd3ebefd1897b9321b5e81..3b239fc3425e9d072b70c6c9da280c3cbff5508b 100644 (file)
@@ -1,4 +1,4 @@
-\RequirePackage{koma-rotis}
+\RequirePackage{koma-lato}
 \RequirePackage{utf8}
 \RequirePackage{pdf}
 \ifpdf
 \setlength{\parindent}{0pt}
 \setlength{\parskip}{0.5em}
 
+\author{}
+
 \setkeys{contract}{preskip=2\parskip, postskip=\parskip}
 
 \addtokomafont{title}{\rmfamily}
+\addtokomafont{contract.Clause}{\rmfamily}
 
 \newenvironment{Vertrag}[3]
 {%
 
   #3
 
+  \vspace{-1.5em}
+  \begin{flushright}
+    — \textit{gemeinsam nachstehend auch: ``die Parteien''} —
+  \end{flushright}
+
+  \vspace{-2em}
   wird folgendes vereinbart:
   \cfoot{\footnotesize \textit{#1 vom \today}}
   \rfoot{\footnotesize Seite \thepage\ von \pageref{TotPages}}
@@ -46,9 +55,9 @@
 }%
 {\end{contract}}
 
-\newcommand{\Vertragspartner}[2]{%
+\newcommand{\Vertragspartner}[3][]{%
   \begin{addmargin}[1em]{0em}
-    #2
-    \flushright — \textit{nachfolgend ``#1'' genannt} —
+    #3
+    \flushright — \textit{{#1}nachfolgend ``#2'' genannt} —
   \end{addmargin}
 }