Revision 3d229eb9
Von Marei Peischl vor mehr als 3 Jahren hinzugefügt
templates/print/marei/kivitendo.sty | ||
---|---|---|
7 | 7 |
\usepackage{iftex} |
8 | 8 |
%Compilerunabhängigkeit |
9 | 9 |
\ifPDFTeX |
10 |
\usepackage[utf8]{inputenc}
|
|
11 |
\usepackage[T1]{fontenc}
|
|
10 |
\usepackage[utf8]{inputenc}
|
|
11 |
\usepackage[T1]{fontenc}
|
|
12 | 12 |
\fi |
13 | 13 |
\usepackage{latexsym} |
14 | 14 |
\usepackage{longtable} |
... | ... | |
52 | 52 |
\renewcommand*{\familydefault}{\sfdefault} |
53 | 53 |
\ifPDFTeX |
54 | 54 |
\else |
55 |
\usepackage{fontspec} |
|
55 |
\usepackage{fontspec}
|
|
56 | 56 |
\fi |
57 | 57 |
|
58 | 58 |
%% Checkboxen |
... | ... | |
143 | 143 |
% Abschnitte mit Kasten hinterlegt |
144 | 144 |
|
145 | 145 |
\newcommand{\reqspecsectionstyle}{% |
146 |
\renewcommand{\thesection}{\alph{section}} |
|
147 |
\makeatletter |
|
148 |
\def\section{\@ifstar\unnumberedsection\numberedsection} |
|
149 |
\makeatother |
|
146 |
\renewcommand{\thesection}{\alph{section}}
|
|
147 |
\makeatletter
|
|
148 |
\def\section{\@ifstar\unnumberedsection\numberedsection}
|
|
149 |
\makeatother
|
|
150 | 150 |
} |
151 | 151 |
|
152 | 152 |
\makeatletter |
153 | 153 |
\def\numberedsection{\@ifnextchar[%] |
154 |
\numberedsectionwithtwoarguments\numberedsectionwithoneargument}
|
|
154 |
\numberedsectionwithtwoarguments\numberedsectionwithoneargument} |
|
155 | 155 |
\def\unnumberedsection{\@ifnextchar[%] |
156 |
\unnumberedsectionwithtwoarguments\unnumberedsectionwithoneargument}
|
|
156 |
\unnumberedsectionwithtwoarguments\unnumberedsectionwithoneargument} |
|
157 | 157 |
\def\numberedsectionwithoneargument#1{\numberedsectionwithtwoarguments[#1]{#1}} |
158 | 158 |
\def\unnumberedsectionwithoneargument#1{\unnumberedsectionwithtwoarguments[#1]{#1}} |
159 | 159 |
\def\numberedsectionwithtwoarguments[#1]#2{% |
... | ... | |
174 | 174 |
\endgroup |
175 | 175 |
\vskip 2ex\nobreak |
176 | 176 |
\addcontentsline{toc}{section}{\protect\numberline{\thesection{}.}#1}% |
177 |
}
|
|
177 |
} |
|
178 | 178 |
\def\unnumberedsectionwithtwoarguments[#1]#2{% |
179 | 179 |
\ifhmode\par\fi |
180 | 180 |
\removelastskip |
Auch abrufbar als: Unified diff
marei: adjust indentation using latexindent according to kivitendo regulations 2 spaces instead of 1 tab