From: martin f. krafft Date: Tue, 2 May 2017 11:17:29 +0000 (+0200) Subject: Update contract template X-Git-Url: https://git.madduck.net/etc/texmf.git/commitdiff_plain/95cb14c4307266a9c673727118c8f85ce253ce72?ds=sidebyside Update contract template --- diff --git a/.texmf/tex/latex/vertrag.sty b/.texmf/tex/latex/vertrag.sty index a5cc89f..a87a1b6 100644 --- a/.texmf/tex/latex/vertrag.sty +++ b/.texmf/tex/latex/vertrag.sty @@ -19,9 +19,12 @@ \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] {% @@ -39,6 +42,10 @@ #3 + \begin{flushright} + — \textit{gemeinsam nachstehen auch: ``die Parteien''} — + \end{flushright} + wird folgendes vereinbart: \cfoot{\footnotesize \textit{#1 vom \today}} \rfoot{\footnotesize Seite \thepage\ von \pageref{TotPages}} @@ -46,9 +53,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} }