So wie versprochen mein Minimalbeispiel:
Wie euch beim setzen auffallen wird sind die Nummerierungen im Inhaltsverzeichnis nicht 2 seitig. Außerdem wenn ich das Paket hyperref einbinde bekomme ich im 2ten setzdurchlauf Fehler
Code:
\documentclass[11pt, twoside,a4paper,headsepline,tocleft, liststotocnumbered]{scrreprt}
\usepackage{amsmath}
\usepackage[ngerman]{babel}
\usepackage[utf8]{inputenc}
\usepackage{fancyhdr}
\usepackage{colortbl}
\usepackage{xcolor}
\pagestyle{fancy}
\definecolor{numbersGrey}{rgb}{0.8,0.8,0.8}
\makeatletter
\renewcommand*{\@evenfoot}{
\set@tempdima@hw\hss\hb@xt@ \@tempdima{\vbox{
\if@fsl \hrule \vskip 3\p@ \fi
\hb@xt@ \@tempdima{{\pnumfont\color{numbersGrey}\hspace{-0.3cm}\rule[-0.07cm]{0.6cm}{0.4cm} \color{black}\thepage\hfil}}}}}
\renewcommand*{\@oddfoot}{
\set@tempdima@hw\hb@xt@ \@tempdima{\vbox{
\if@fsl \hrule \vskip 3\p@ \fi
\hb@xt@ \@tempdima{{\pnumfont\hfil\color{numbersGrey}\rule[-0.07cm]{0.6cm}{0.4cm} \color{black}\thepage}}}}\hss}
\makeatother
\fancyfoot[LO]{\color{numbersGrey}\rule[-0.07cm]{0.6cm}{0.4cm} \color{black}\thepage}
\fancyfoot[RE]{\color{numbersGrey}\rule[-0.07cm]{0.6cm}{0.4cm} \color{black}\thepage}
\fancypagestyle{headings}{%
\fancyhf{} % clear all header and footer fields
\fancyfoot[LO]{\leftmargin=-\marginparwidth \color{numbersGrey}\rule[-0.07cm]{0.6cm}{0.4cm} \color{black}\thepage}
\fancyfoot[RE]{\color{numbersGrey}\rule[-0.07cm]{0.6cm}{0.4cm} \color{black}\thepage}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}}
\renewcommand*{\chapterpagestyle}{headings}
\renewcommand*{\partpagestyle}{headings}
\numberwithin{chapter}{part}
\renewcommand\thechapter{\arabic{chapter}}
\newcommand\mypart[1]{ % aussehen Inhalte Seite Parts ohne Nummerierung
\refstepcounter{part}
\part*{\textcolor{gray}{#1}}
%\phantomsection
\addtocontents{toc}{\protect\contentsline{part}{\hspace{1.1cm}\textcolor{gray}{\LARGE{\textbf{#1}}}}{}}
\part*{}
}
\addto\captionsngerman{ % aussehen Inhalsverzeichnis Überschrift
\renewcommand{\contentsname}{
\hspace{-0.67cm}
\color{lightgray}
\protect\rule[-0.25cm]{1cm}{1cm}\hspace{0.2cm}\color{black}Inhalte
}}
\setcounter{tocdepth}{3} % Nummerierungstiefe 3
%\usepackage{hyperref}
%\hypersetup{breaklinks=true}
% Parts in Kapitel Nummerierungen
\makeatletter
\renewcommand*\thepart{\@arabic\c@part}
\renewcommand*\thechapter{\thepart.\@arabic\c@chapter}
\makeatother
\begin{document}
\lhead{}
\rhead{}
\cfoot{}
\rfoot{}
% TODO: HIER LEERSEITE EINFÜGEN
\rfoot{}
\lfoot{}
\cleardoublepage
\small
\renewcommand{\headrulewidth}{0pt}
\tableofcontents% Einleitung und Motivation
\clearpage
\normalsize
\hspace{-0.4cm}\LARGE{Vorwort}\small\\\\ %Zusammenfassung
Iblablablubb
\pagenumbering{arabic}
\setcounter{page}{1}
\mypart{Einleitung}
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\chapter{Motivation} %Vorwort
\mypart{Einleitung}
\chapter{Motivation} %Vorwort
\end{document}
Lesezeichen