I try to modify my table of contents. In the picture below you see how my table of contents should look like.
I already removed the heading, modified the intends.
I tried to remove the dots, change the vspacing, bold letters but it doesnt work… I already read the tocloft docu, but my code didnt work. Here is my code. Hope you can help me. THX
%Dokumentklasse
\documentclass[a4paper,11pt, pointlessnumbers, twoside]{scrreprt}
\usepackage{tocloft}
\makeatletter
\renewcommand*\l@section{\bprot@dottedtocline{1}{0em}{2.3em}}
\renewcommand*\l@subsection{\bprot@dottedtocline{2}{1.5em}{2.5em}}
\makeatother
\begin{document}
%===Inhaltsverzeichnis===%
\renewcommand\cftsecdotsep{2000}
\renewcommand\cftsubsecdotsep{2000}
%\renewcommand{\cftsectiondotsep}{\cftnodots}
\renewcommand{\contentsname}{}
\tableofcontents
\chapter{Just}
\chapter{Checking}
\section{To see}
\section{If I}
\subsection{Can Duplicate}
\subsection{The problem}
\section{Here}
\chapter{In the TOC}
\end{document}
It should look that way:
Best Answer
Here is a suggestion using the possibilities of KOMA-Script. It needs at least KOMA version 3.20 (current is 3.21).
Result: