From 1e54989d4c0509ec9740525fb40b7caa45379f5d Mon Sep 17 00:00:00 2001 From: "Marei (peiTeX)" Date: Tue, 20 Oct 2020 19:28:14 +0200 Subject: [PATCH] marei: kivitendo.sty minimal changes to be compiler independent --- templates/print/marei/kivitendo.sty | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) 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} -- 2.20.1