X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fprint%2Fmarei%2Fkivitendo.sty;fp=templates%2Fprint%2Fmarei%2Fkivitendo.sty;h=4e6ed0b1a4782065855bc0d193ba65da7577b616;hb=b293ff8ad52fc76ba0c44783e3982418114d6b08;hp=6e91e74fb0eb70319071935ccb277878011e67c1;hpb=d4925a8b60f04674885e30d9316dc0263f8b9a84;p=kivitendo-erp.git diff --git a/templates/print/marei/kivitendo.sty b/templates/print/marei/kivitendo.sty index 6e91e74fb..4e6ed0b1a 100644 --- a/templates/print/marei/kivitendo.sty +++ b/templates/print/marei/kivitendo.sty @@ -7,8 +7,8 @@ \usepackage{iftex} %Compilerunabhängigkeit \ifPDFTeX - \usepackage[utf8]{inputenc} - \usepackage[T1]{fontenc} + \usepackage[utf8]{inputenc} + \usepackage[T1]{fontenc} \fi \usepackage{latexsym} \usepackage{longtable} @@ -52,7 +52,7 @@ \renewcommand*{\familydefault}{\sfdefault} \ifPDFTeX \else -\usepackage{fontspec} + \usepackage{fontspec} \fi %% Checkboxen @@ -143,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{% @@ -174,7 +174,7 @@ \endgroup \vskip 2ex\nobreak \addcontentsline{toc}{section}{\protect\numberline{\thesection{}.}#1}% - } +} \def\unnumberedsectionwithtwoarguments[#1]#2{% \ifhmode\par\fi \removelastskip