mod color and font family of subject

This commit is contained in:
philipp lang 2021-07-03 21:40:57 +02:00
parent 6a9a84c3b7
commit cf66f2cf23
1 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,6 @@
\documentclass[DIV=15,12pt,headheight=10pt,pagenumber=no,enlargefirstpage,firstfoot=false]{scrlttr2} \documentclass[DIV=15,12pt,headheight=10pt,pagenumber=no,enlargefirstpage,firstfoot=false]{scrlttr2}
\usepackage{xcolor}
\usepackage[utf8]{inputenc} \usepackage[utf8]{inputenc}
% \usepackage[lf]{venturis} % \usepackage[lf]{venturis}
\usepackage[T1]{fontenc} \usepackage[T1]{fontenc}
@ -9,9 +10,13 @@
\usepackage{ragged2e} \usepackage{ragged2e}
\usepackage{graphicx} \usepackage{graphicx}
\newcounter{cnt} \newcounter{cnt}
\usepackage{fontspec}
\definecolor{dpsgblue}{HTML}{003056}
\newfontfamily\arvo{Arvo}
\addtokomafont{subject}{\arvo\large\color{dpsgblue}}
% -------------------------- Calculation of table -------------------------- % -------------------------- Calculation of table --------------------------
\def\inc{\stepcounter{cnt}\thecnt}
\gdef\TotalHT{0} \gdef\TotalHT{0}
\newcommand{\product}[2]{% \newcommand{\product}[2]{%
#1 & \FPmul\temp{#2}{1}\FPround\temp{\temp}{2}\temp #1 & \FPmul\temp{#2}{1}\FPround\temp{\temp}{2}\temp