\ProvidesFile{silvaletter.lco} % ---------------------------- Require packages ---------------------------- \RequirePackage{xcolor} \RequirePackage[utf8]{inputenc} \RequirePackage[T1]{fontenc} \RequirePackage[german]{babel} \RequirePackage{fp} \RequirePackage{booktabs} \RequirePackage{ragged2e} \RequirePackage{graphicx} \RequirePackage{fontspec} \RequirePackage{numprint} % ---------------------------- Color definition ---------------------------- \definecolor{dpsgblue}{HTML}{003056} % ----------------------------- font settings ------------------------------ \newfontfamily\arvo{Arvo} \addtokomafont{subject}{\arvo\large\color{dpsgblue}} % -------------------------- Calculation of table -------------------------- \gdef\TotalHT{0} \newcommand{\product}[2]{% #1 & \FPmul\temp{#2}{1}\FPround\temp{\temp}{2}\numprint[€]{\temp} %% Totalize \FPadd\total{\TotalHT}{\temp}% \FPround\total{\total}{2}% \global\let\TotalHT\total% \\ } \newcommand{\totalttc}{\numprint[€]{\TotalHT} } % ---------------------------- Global variables ---------------------------- \KOMAoptions{DIV=15, pagenumber=no, enlargefirstpage, firstfoot=false, foldmarks, fromlogo, fromemail, frommobilephone, fromurl, fromalign=right} \setlength{\parindent}{0pt} \setlength{\parskip}{10pt} \setkomavar{backaddressseparator}{ $\cdot$ } \setkomavar{fromname}[Stamm Silva]{DPSG Stamm Silva} \setkomavar{frommobilephone}{+49 176 70342420} \setkomavar{fromemail}{kasse@stamm-silva.de} \setkomavar{fromurl}{https://stamm-silva.de} \setkomavar{fromaddress}{Adolf-Kolping-Str 47} \setkomavar{place}{Solingen} \setkomavar{fromzipcode}{42719} \setkomavar{fromlogo}{\includegraphics[width=2cm]{logo.png}} % stammeslogo \renewcommand*{\raggedsignature}{\raggedright} % Signatur links ausrichten \setkomavar{signature}{} % Kein From unter Unterschriften-Feld