silvaletter/template/silvaletter.lco

51 lines
1.9 KiB
Plaintext
Raw Normal View History

2021-07-03 22:44:52 +02:00
\ProvidesFile{silvaletter.lco}
% ---------------------------- Require packages ----------------------------
\RequirePackage{xcolor}
\RequirePackage[utf8]{inputenc}
\RequirePackage[T1]{fontenc}
2024-07-17 22:53:19 +02:00
\RequirePackage[ngerman]{babel}
2021-07-03 22:44:52 +02:00
\RequirePackage{fp}
\RequirePackage{booktabs}
\RequirePackage{ragged2e}
\RequirePackage{graphicx}
\RequirePackage{numprint}
2023-07-18 11:21:56 +02:00
\RequirePackage[gen]{eurosym}
\RequirePackage[condensed,math]{kurier}
2021-07-03 22:44:52 +02:00
% ---------------------------- Color definition ----------------------------
\definecolor{dpsgblue}{HTML}{003056}
% ----------------------------- font settings ------------------------------
2023-07-18 11:21:56 +02:00
\addtokomafont{subject}{\large\color{dpsgblue}}
2021-07-03 22:44:52 +02:00
% -------------------------- Calculation of table --------------------------
\gdef\TotalHT{0}
\newcommand{\product}[2]{%
2023-07-18 11:21:56 +02:00
#1 & \FPmul\temp{#2}{1}\FPround\temp{\temp}{2}\numprint[\euro]{\temp}
2021-07-03 22:44:52 +02:00
%% Totalize
\FPadd\total{\TotalHT}{\temp}%
\FPround\total{\total}{2}%
\global\let\TotalHT\total%
\\ }
2023-07-18 11:21:56 +02:00
\newcommand{\totalttc}{\numprint[\euro]{\TotalHT}
2021-07-03 22:44:52 +02:00
}
% ---------------------------- 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}
2021-07-18 21:35:39 +02:00
\setkomavar{frommobilephone}[Mobiltelefon: ]{+49 176 70342420}
\setkomavar{fromemail}[E-Mail: ]{kasse@stamm-silva.de}
\setkomavar{fromurl}[Website: ]{https://stamm-silva.de}
2021-07-03 22:44:52 +02:00
\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
2023-07-18 11:21:56 +02:00