From f4cb7500356153c7a574c965b66d646f2a094419 Mon Sep 17 00:00:00 2001 From: Sebastian Preisner Date: Fri, 10 Dec 2021 13:26:30 +0100 Subject: [PATCH] fix and removement - remove package tocloft we don't need it for the look and feel - add package tocbibind to remove number from lot and lof - add package tocbibind to add lot and lof to toc --- wbh.tex | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/wbh.tex b/wbh.tex index dadd029..3ad9c71 100644 --- a/wbh.tex +++ b/wbh.tex @@ -36,6 +36,8 @@ $endif$ % für den Fließtext und ebenso die mathematische Schrift \usepackage[onehalfspacing]{setspace} % Der 1,5-zeilige Zeilenabstand +\usepackage[nottoc,numbib]{tocbibind} % No the numbers befor lot and lof and add them to toc + \usepackage{fancyhdr} \usepackage{tabularx} \usepackage[usenames,dvipsnames]{xcolor} % Colorize latex @@ -47,9 +49,6 @@ $endif$ % ------------------------------------------------------------ \usepackage[a4paper, top=$if(seite.rand_oben)$$seite.rand_oben$$else$25mm$endif$, left=$if(seite.rand_links)$$seite.rand_links$$else$25mm$endif$, right=$if(seite.rand_rechts)$$seite.rand_rechts$$else$40mm$endif$, bottom=$if(seite.rand_unten)$$seite.rand_unten$$else$30mm$endif$, headsep=10mm, footskip=12mm]{geometry} -% Style the toc like discribed in DIN 1421 -\usepackage[subfigure,titles]{tocloft} % style for toc lot and lof - \usepackage[right]{eurosym} \usepackage[printonlyused]{acronym} \usepackage{subfig} @@ -241,7 +240,6 @@ $endif$ \providecommand{\tightlist}{% \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}} - % Support for citation % ------------------------------------------------------------------- $if(natbib)$ @@ -302,7 +300,6 @@ $endif$ % -------------------------------------------------------------- % begin document % -------------------------------------------------------------- - \begin{document} @@ -473,11 +470,6 @@ $endif$ % -------------------------------------------------------------- % Inhaltsverzeichnis % -------------------------------------------------------------- -% TODO Typ vor Nummer -\renewcommand{\cfttabpresnum}{Tab. } -\renewcommand{\cftfigpresnum}{Abb. } -\settowidth{\cfttabnumwidth}{Abb. 10\quad} -\settowidth{\cftfignumwidth}{Abb. 10\quad} \singlespacing \rhead{$if(lang)$INHALTSVERZEICHNIS$else$TABLE OF CONTENTS$endif$} % Set Headline right to INHALTSVERZEICHNIS