\tableofcontents 覆盖默认标题

\tableofcontents 覆盖默认标题

我使用的是 Springer 的 svmult 包。默认页眉在右上角显示作者姓名,在左上角显示标题。当我使用 \tableofcontents 时,默认页眉会在页面两侧被“目录”覆盖。

\documentclass[graybox]{svmult}

\begin{document}

\title*{Contribution Title}

 \author{Name of First Author and Name of Second Author}
 \maketitle
 \abstract*{Each chapter should be preceded by an abstract (10--15 lines long)}

 \tableofcontents

 \section{Section Heading}
 \label{sec:1}
 Use the template \emph{chapter.tex} together with the Springer document class SVMono
 \section{Section Heading}
 \label{sec:2}
 \subsection{Subsection Heading}
 \label{subsec:2}
 \subsubsection{Subsubsection Heading}
 \section{Section Heading}
 \label{sec:3}
 \subsection{Subsection Heading} %
 In order to avoid simply listing headings of different levels...
 \subsubsection{Subsubsection Heading}
 \end{document}

所以我得到了类似图 1 的东西。 图。1

但我想要的是像图2这样的东西 图2

答案1

使用

 ...
 \tableofcontents
 \markboth{\leftmark}{\rightmark}
 ...

答案2

\frontmatter [u need this]
\maketitle
\preface
\lipsum
\tableofcontents


\mainmatter [u need this]

[document]


\backmatter   [u need this]
\begin{thebibliography}{99}

相关内容