From: Marei (peiTeX) Date: Tue, 20 Oct 2020 17:28:14 +0000 (+0200) Subject: marei: kivitendo.sty minimal changes to be compiler independent X-Git-Tag: kivitendo-mebil_0.1-0~9^2~680 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=1e54989d4c0509ec9740525fb40b7caa45379f5d;p=kivitendo-erp.git marei: kivitendo.sty minimal changes to be compiler independent --- diff --git a/templates/print/marei/kivitendo.sty b/templates/print/marei/kivitendo.sty index 32d2e229b..79204681a 100644 --- a/templates/print/marei/kivitendo.sty +++ b/templates/print/marei/kivitendo.sty @@ -4,7 +4,11 @@ \usepackage{german} \usepackage{graphicx} \usepackage{ifthen} -\usepackage[utf8]{inputenc} +\usepackage{iftex} +\ifPDFTeX + \usepackage[utf8]{inputenc} + \usepackage[T1]{fontenc} +\fi \usepackage{latexsym} \usepackage{longtable} \usepackage{textcomp} @@ -43,8 +47,12 @@ } %% Standardschrift -\newcommand{\defaultfont}{\fontfamily{cmss}\fontsize{10pt}{12pt}\fontseries{m}\selectfont} -\renewcommand{\familydefault}{cmss} +\newcommand{\defaultfont}{\normalfont} +\renewcommand{\familydefault}{\sfdefault} +\ifPDFTeX +\else +\usepackage{fontspec} +\fi %% Checkboxen \newsavebox{\checkedbox}