I'd like to find out how I can have two chapters linked to my header.
I'm using
\ihead{\headmark}
to get the names of the current chapter into the header.
Document-class and loaded packages:
\documentclass [a4paper,11pt,oneside]{scrbook}
\usepackage[left=2.5cm,right=2.5cm,top=3.5cm,bottom=3.5cm]{geometry}
\usepackage[ngerman]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{float}
\restylefloat{figure}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage{scrpage2}
\usepackage{nameref}
\usepackage{gensymb}
\usepackage{amsmath}
\clearscrheadings
\clearscrplain
\clearscrheadfoot
\renewcommand{\chapterpagestyle}{scrheadings}
\ihead{\headmark}
\setheadsepline{0,4pt}
\setfootsepline{0,4pt}
\rofoot{Seite \thepage\ von 11}
\lofoot{Protokoll: ...,...}
\setheadwidth{text}
\setfootwidth{text}
\pagestyle{scrheadings}
\parindent 0pt
\parskip 0pt
\title{\textbf{Protokoll: Versuch 10/1 - Dünne Linsen}\vspace*{20mm}}
%
\author{\rmfamily von \textbf{...} und \textbf{...}\\
\\\textbf{\rmfamily Assistent:}\rmfamily\ ...}
%
%
\date{\textbf{\rmfamily Datum:}\rmfamily\ 26. Mai 2014 - 02. Juni 2014}
\begin{document}
Also I used:
\listoffigures
\begingroup
\let\cleardoublepage\relax
\begin{thebibliography}{99}
\bibitem[foo] bar baz
\end{thebibliography}
\endgroup
\end{document}
to get the bibliography and the list of figures on the same page.
But now I have the problem that on the page including the chapters "bibliography" and "list of figures" I get only the name of the "list of figures"-chapter in the header. I think this is caused by the fact, that normally there is only one chapter per page.
But because I have the two chapters "bibliography" and "list of figures" on a single page, I'd like to know how I can have both names of the chapters linked to the header.
Is there a workaround for that?
\markboth{\listfigurename\ -- \bibname}{}
after\listoffigures
.