Page LayoutWrong chapter name

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
mape2k
Posts: 9
Joined: Sat Jul 31, 2010 9:38 am

Wrong chapter name

Post by mape2k »

Hey!

In my thesis in the frontmatter I got the list of figures (LoF) which is 2 pages long. Following it, the list of abbreviated terms (LoA) follows. It is 2 pages long as well. Now on the first page of the LoA, everything is fine. On the second page however, the chapter name in heading is "List of figures" :shock: and not "List of abbreviated term". How is that possible?

I am inserting my LoF and LoA with

Code: Select all

\listoffigures
\addcontentsline{toc}{chapter}{List of Figures}

\include{abbreviations}
Start of LoA looks like this:

Code: Select all

\chapter*{List of abbreviated terms}
\label{abbr}
\addcontentsline{toc}{chapter}{List of abbreviated terms}\appendix

Here is my minimal example:

Code: Select all

\documentclass[envcountsame,envcountchap,a4paper,openany]{svmono}



% UNcomment the following line for ENGLISH figure captions etc.
\usepackage[english]{babel}
\usepackage{graphicx}
\usepackage{fancyhdr}

\graphicspath{{./figures/}}

\begin{document}

\setcounter{page}{1}
\pagenumbering{Roman}
\pagestyle{fancy}

\setcounter{page}{1}
\pagenumbering{Roman}

\listoffigures

\chapter*{chapter1}
Page 1
\newpage
Page 2
\newpage
Page 3

\end{document}

Any help is greatly appreciated!!!
Last edited by mape2k on Wed Aug 04, 2010 9:21 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10321
Joined: Mon Mar 10, 2008 9:44 pm

Wrong chapter name

Post by Stefan Kottwitz »

Use \markboth, like:

Code: Select all

\chapter*{List of abbreviated terms}
\markboth{List of abbreviated terms}{List of abbreviated terms}
Stefan
LaTeX.org admin
mape2k
Posts: 9
Joined: Sat Jul 31, 2010 9:38 am

Re: Wrong chapter name

Post by mape2k »

Wow, that did it! Easy solution but its my first paper/thesis with LateX, so still learning ;)

Thanks for the quick help!!
Post Reply