Hallo,

ich formatiere meine Kapitelüberschriften (s. Minimalbeispiel) mit dem Package tikz.

Es funktioniert alles tadellos und zwar solange bis ich das package TOCLOFT einbinde. Dann werden alle Kapitelüberschriften formatiert, nur das Abbiludngs,Tabellen und INhaltsverzeichnis nicht.

Nehme ich das Package tocloft raus, dann funktioniert alles. Das dumme ist nur, das ich tocloft brauche, um die Abstände zwischen Nummer und Bezeichnung in den Verzeichnissen zu ändern, da diese sonst zu eng sind.

Kann mir da jmd helfen?

Minimalbeispiel:

Code:
\documentclass[pdftex,
								final,
								%draft,
								10pt,
								numbers=noenddot,
								a4paper,
								pagesize,
								oneside,
								titlepage,
								ngerman,
								svgnames,
								parskip=full+]{scrreprt} 
										
\usepackage{tikz}
\usepackage[explicit]{titlesec}						              
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}


%#################### FEHLER MIT ZEILE #########
\usepackage{tocloft}
%#################### FEHLER MIT ZEILE #########


\newcommand*\chapterlabel{}
\titleformat{\chapter}
  {\gdef\chapterlabel{}
   \normalfont\sffamily\Huge\bfseries\scshape}
  {\gdef\chapterlabel{\thechapter\ }}{0pt}
  {\begin{tikzpicture}[remember picture,overlay]
    \node[yshift=-3cm] at (current page.north west)
      {\begin{tikzpicture}[remember picture, overlay]
        \draw[fill=Blue] (0,0) rectangle
          (\paperwidth,3cm);
        \node[anchor=east,xshift=.9\paperwidth,rectangle,
              rounded corners=20pt,inner sep=11pt,
              fill=\chapterHeadFillColor]
              {\color{white}\chapterlabel#1};
       \end{tikzpicture}
      };
   \end{tikzpicture}
  }
\titlespacing*{\chapter}{0pt}{50pt}{-60pt}

\newcommand*\chapterHeadFillColor{red}
\newcommand*\setchapterHeadFillColor[1]{\renewcommand*\chapterHeadFillColor{#1}}

\begin{document}
\tableofcontents
\chapter{Hier funktioniert es}
\end{document}

Die entsprechend betroffene Zeile ist markiert....das package tocloft eben!

Hoffe jmd kann mir da helfen, denn die Formatierungen sind so schön

Dankeschön...