I want to use two different spacing between section number and its caption in the Table of Contents (TOC)
I already have tried the solutions:
http://tex.stackexchange.com/questions/ ... -alignment
http://tex.stackexchange.com/questions/ ... or-the-toc
But I think they are not suitable.
Well the minimal example is:
Code: Select all
\documentclass[a4paper,12pt,twoside]{scrreprt}\usepackage{hyperref}\hypersetup{colorlinks,breaklinks,plainpages=false,linktocpage,hypertexnames=true,naturalnames=false}\hypersetup{linkcolor=red,citecolor=blue,filecolor=blue,urlcolor=blue} %Colorful\usepackage{tocloft}%%% Configure de distance\setlength{\cftsecnumwidth}{4em}\begin{document}\tableofcontents\chapter{Hardware Data} \label{chap.hardware}\setcounter{section}{19}\section{Test section one}\subsection{test section one one}\subsection{test section one two}\section{Test section two}\subsection{test section two one}\subsection{test section two two}%%%% Appendix\cleardoublepage\phantomsection\appendix\chapter*{Appendix}\addcontentsline{toc}{part}{Appendix}\chapter{Appendix Test Chapter}\setcounter{section}{199}\section{Test Section}%%%%%%%%%%%%%%%% Annex:\cleardoublepage
\setlength{\cftsecnumwidth}{4em}

Well, in the Annex I want more space, but I also want to keep the smaller spacing for the sections in the regular chapters.
Does anyone have a clue and/or can help ?
Thanks a lot !
Will