X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fprint%2Fmarei%2Fkivitendo.sty;h=4e6ed0b1a4782065855bc0d193ba65da7577b616;hb=b293ff8ad52fc76ba0c44783e3982418114d6b08;hp=79204681a63de7b0f5429b87a574ccd40e6c83e7;hpb=1e54989d4c0509ec9740525fb40b7caa45379f5d;p=kivitendo-erp.git diff --git a/templates/print/marei/kivitendo.sty b/templates/print/marei/kivitendo.sty index 79204681a..4e6ed0b1a 100644 --- a/templates/print/marei/kivitendo.sty +++ b/templates/print/marei/kivitendo.sty @@ -5,9 +5,10 @@ \usepackage{graphicx} \usepackage{ifthen} \usepackage{iftex} +%Compilerunabhängigkeit \ifPDFTeX - \usepackage[utf8]{inputenc} - \usepackage[T1]{fontenc} + \usepackage[utf8]{inputenc} + \usepackage[T1]{fontenc} \fi \usepackage{latexsym} \usepackage{longtable} @@ -46,12 +47,12 @@ \setlength{\footskip}{0.9cm} } -%% Standardschrift -\newcommand{\defaultfont}{\normalfont} -\renewcommand{\familydefault}{\sfdefault} +%% Standardschrift Compilerunabhängig +\newcommand*{\defaultfont}{\normalfont} +\renewcommand*{\familydefault}{\sfdefault} \ifPDFTeX \else -\usepackage{fontspec} + \usepackage{fontspec} \fi %% Checkboxen @@ -142,17 +143,17 @@ % Abschnitte mit Kasten hinterlegt \newcommand{\reqspecsectionstyle}{% -\renewcommand{\thesection}{\alph{section}} -\makeatletter -\def\section{\@ifstar\unnumberedsection\numberedsection} -\makeatother + \renewcommand{\thesection}{\alph{section}} + \makeatletter + \def\section{\@ifstar\unnumberedsection\numberedsection} + \makeatother } \makeatletter \def\numberedsection{\@ifnextchar[%] - \numberedsectionwithtwoarguments\numberedsectionwithoneargument} +\numberedsectionwithtwoarguments\numberedsectionwithoneargument} \def\unnumberedsection{\@ifnextchar[%] - \unnumberedsectionwithtwoarguments\unnumberedsectionwithoneargument} +\unnumberedsectionwithtwoarguments\unnumberedsectionwithoneargument} \def\numberedsectionwithoneargument#1{\numberedsectionwithtwoarguments[#1]{#1}} \def\unnumberedsectionwithoneargument#1{\unnumberedsectionwithtwoarguments[#1]{#1}} \def\numberedsectionwithtwoarguments[#1]#2{% @@ -173,7 +174,7 @@ \endgroup \vskip 2ex\nobreak \addcontentsline{toc}{section}{\protect\numberline{\thesection{}.}#1}% - } +} \def\unnumberedsectionwithtwoarguments[#1]#2{% \ifhmode\par\fi \removelastskip