Skip to content
Snippets Groups Projects
Verified Commit 570dfc8e authored by mirabilos's avatar mirabilos Committed by mirabilos
Browse files

scrartcl (KOMA-Script) doesn’t like tocloft

parent de3d2b70
No related branches found
No related tags found
No related merge requests found
...@@ -19,11 +19,11 @@ ...@@ -19,11 +19,11 @@
% of said person’s immediate fault when using the work as intended. % of said person’s immediate fault when using the work as intended.
\NeedsTeXFormat{LaTeX2e}% \NeedsTeXFormat{LaTeX2e}%
\ProvidesClass{teckids2jahresbericht}[2018/08/21 1.1 Teckids Jahresbericht class]% \ProvidesClass{teckids2jahresbericht}[2019/05/14 1.2 Teckids Jahresbericht class]%
\PassOptionsToPackage{paper=a4}{typearea}% \PassOptionsToPackage{paper=a4}{typearea}%
\RequirePackage{fancyhdr}% \RequirePackage{fancyhdr}%
\LoadClass{scrartcl}% \LoadClass[toc=sectionentrywithdots]{scrartcl}%
\RequirePackage{teckids2style}% \RequirePackage{teckids2style}%
\RequirePackage{tikz}% \RequirePackage{tikz}%
......
...@@ -19,11 +19,11 @@ ...@@ -19,11 +19,11 @@
% of said person’s immediate fault when using the work as intended. % of said person’s immediate fault when using the work as intended.
\NeedsTeXFormat{LaTeX2e}% \NeedsTeXFormat{LaTeX2e}%
\ProvidesClass{teckids2proto}[2018/08/23 0.1 Teckids Protokoll TeX/LaTeX class, second epoch]% \ProvidesClass{teckids2proto}[2019/05/14 0.2 Teckids Protokoll TeX/LaTeX class, second epoch]%
\PassOptionsToPackage{paper=a4}{typearea}% \PassOptionsToPackage{paper=a4}{typearea}%
\RequirePackage{fancyhdr}% \RequirePackage{fancyhdr}%
\LoadClass{scrartcl}% \LoadClass[toc=sectionentrywithdots]{scrartcl}%
\RequirePackage{teckids2style}% \RequirePackage{teckids2style}%
\newcommand{\teckidsprotohdr}[1]{% \newcommand{\teckidsprotohdr}[1]{%
......
...@@ -21,11 +21,11 @@ ...@@ -21,11 +21,11 @@
% of said person’s immediate fault when using the work as intended. % of said person’s immediate fault when using the work as intended.
\NeedsTeXFormat{LaTeX2e}% \NeedsTeXFormat{LaTeX2e}%
\ProvidesClass{teckids2pubmat}[2018/08/21 1.3 Teckids OER TeX/LaTeX class, second epoch]% \ProvidesClass{teckids2pubmat}[2019/05/14 1.4 Teckids OER TeX/LaTeX class, second epoch]%
\PassOptionsToPackage{paper=a4}{typearea}% \PassOptionsToPackage{paper=a4}{typearea}%
\RequirePackage{fancyhdr}% \RequirePackage{fancyhdr}%
\LoadClass{scrartcl}% \LoadClass[toc=sectionentrywithdots]{scrartcl}%
\RequirePackage{teckids2style}% \RequirePackage{teckids2style}%
\newcommand{\teckidspubmatnamegroup}{% \newcommand{\teckidspubmatnamegroup}{%
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
% Dominik George <dominik.george@teckids.org> % Dominik George <dominik.george@teckids.org>
% Copyright © 2014, 2015, 2017, 2018 % Copyright © 2014, 2015, 2017, 2018
% Thorsten “mirabilos” Glaser <thorsten.glaser@teckids.org> % Thorsten “mirabilos” Glaser <thorsten.glaser@teckids.org>
% Copyright © 2015, 2016, 2017 % Copyright © 2015, 2016, 2017, 2019
% Thorsten Glaser <t.glaser@tarent.de> % Thorsten Glaser <t.glaser@tarent.de>
% %
% Provided that these terms and disclaimer and all copyright notices % Provided that these terms and disclaimer and all copyright notices
...@@ -51,7 +51,6 @@ ...@@ -51,7 +51,6 @@
\setlength{\intextsep}{0pt}% see also \teckidsgeometry below \setlength{\intextsep}{0pt}% see also \teckidsgeometry below
\RequirePackage{intcalc}% \RequirePackage{intcalc}%
\RequirePackage[writefile]{listings}% \RequirePackage[writefile]{listings}%
\RequirePackage{tocloft}%
\RequirePackage{float}% \RequirePackage{float}%
\RequirePackage[totpages,user]{zref}% \RequirePackage[totpages,user]{zref}%
\RequirePackage{calc}% \RequirePackage{calc}%
...@@ -216,11 +215,9 @@ ...@@ -216,11 +215,9 @@
% Inhaltsverzeichnis % Inhaltsverzeichnis
\addtocontents{toc}{\protect\thispagestyle{fancy}}% \addtocontents{toc}{\protect\thispagestyle{fancy}}%
\addtolength{\cftsubsecnumwidth}{0.5em}% \RedeclareSectionCommand[tocbeforeskip=10pt plus 4pt minus 2pt]{section}
\addtolength{\cftsubsubsecindent}{0.5em}% \RedeclareSectionCommand[tocnumwidth=2.8em]{subsection}
% default: 10pt plus 1pt \RedeclareSectionCommand[tocindent=4.3em]{subsubsection}
\setlength{\cftbeforesecskip}{10pt plus 4pt minus 2pt}%
\renewcommand{\cftsecleader}{\cftdotfill{\cftdotsep}}%
% when calling, ensure blank line before and after! % when calling, ensure blank line before and after!
\newcommand{\inhaltsverzeichnis}{% \newcommand{\inhaltsverzeichnis}{%
\hypersetup{linkcolor = black}% \hypersetup{linkcolor = black}%
......
...@@ -19,11 +19,11 @@ ...@@ -19,11 +19,11 @@
% of said person’s immediate fault when using the work as intended. % of said person’s immediate fault when using the work as intended.
\NeedsTeXFormat{LaTeX2e}% \NeedsTeXFormat{LaTeX2e}%
\ProvidesClass{teckids2jahresbericht}[2018/08/21 1.0 Teckids Urkunde class]% \ProvidesClass{teckids2jahresbericht}[2019/05/14 1.1 Teckids Urkunde class]%
\PassOptionsToPackage{paper=a4}{typearea}% \PassOptionsToPackage{paper=a4}{typearea}%
\RequirePackage{fancyhdr}% \RequirePackage{fancyhdr}%
\LoadClass{scrartcl}% \LoadClass[toc=sectionentrywithdots]{scrartcl}%
\RequirePackage{teckids2style}% \RequirePackage{teckids2style}%
\teckidsgeometry[hmargin=2cm,top=0.5cm]% \teckidsgeometry[hmargin=2cm,top=0.5cm]%
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment