How can I get the author to go first in the TOC (within the scrbook-class - I did find solutions that seem to work with other classes...), while not changing anything about the headings etc., which work fine? There is probably an easy solution, but I don't see it!
Thanks for your help!
Here is my minimal example:
\documentclass[paper=A4, 10pt, headings=small, toc=index, listof, toc=flat]{scrbook}
\usepackage[papersize={17.0cm, 24cm},left=2.2cm, right=2.8cm, top=2.6cm, bottom=0.8cm, includefoot]{geometry}
\usepackage{fontspec}
\usepackage[utf8]{luainputenc}
\setmainfont[Ligatures=TeX]{texgyrepagella-regular.otf}[BoldFont = texgyrepagella-bold.otf , ItalicFont = texgyrepagella-italic.otf , BoldItalicFont = texgyrepagella-bolditalic.otf ]
\setkomafont{disposition}{\normalcolor\bfseries\centering}
\setkomafont{sectioning}{\rmfamily\normalfont\bfseries}
\setkomafont{pagehead}{\rmfamily\scshape\small}
\addtokomafont{chapterentry}{\normalfont}
\usepackage[greek,ngerman]{babel}
\usepackage{luatex85}
\usepackage{tocbasic}
\usepackage{blindtext}
\usepackage{textcomp}
\linespread{1.1}
%%%%%%%%%%%%%%
\usepackage{suffix}
\newcommand{\chapterauthor}[1]{\authortoc{#1}\printchapterauthor{#1}\markright{#1}}% setting \markright to author
\usepackage{scrlayer-scrpage}
\clearpairofpagestyles
\renewcommand{\chaptermarkformat}{}
\cohead{\small{\leftmark}}
\cehead{\small{\rightmark}}
\cfoot*{\pagemark}
\makeatletter
\newcommand{\printchapterauthor}[1]{%
{\centering\vspace{10pt}%
\linespread{1.1}\large\scshape#1%
\par\nobreak\vspace{30pt}}
@afterheading%
}
\newcommand{\authortoc}[1]{%
\addtocontents{toc}{\vskip-10pt}%
\addtocontents{toc}{%
\protect\contentsline{chapter}%
{\mdseries\scshape\protect\normalsize#1}{}{}}
\addtocontents{toc}{\vskip5pt}%
}
\makeatother
\begin{document}
\tableofcontents
\addchap{\centering Überlegungen zu allem Möglichen}
\chapterauthor{Mirijam Mustermann}
\blindtext
\blindtext
\blindtext
\blindtext
\blindtext
\blindtext
\blindtext
\blindtext
\blindtext
\blindtext
\addchap{\centering Fiktion und Fakten}
\chapterauthor{Eva Mustermann}
\blindtext
\blindtext
\blindtext
\blindtext
\blindtext
\blindtext
\blindtext
\blindtext
\blindtext
\blindtext
\end{document}
\addchapinstead of simply\chapter, e.g.? Also, perhaps you can show us the result you're ultimately looking for? – Ingmar Jul 14 '22 at 13:55