Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have one chapter for my listings

%%% Document Class
\documentclass[ngerman,bt]{dbvdoc}

\phantomsection
\addcontentsline{toc}{chapter}{Listings}
\lstlistoflistings 
\cleardoublepage

and the next one for the acronyms

\chapter*{Acronyms}
\addcontentsline{toc}{chapter}{Acronyms}
\begin{acronym}
    ....
\end{acronym}

The problem is that the headline which reads next to the page number (I don't know how to call it) on the second page of the acronyms chapter is still "Listings", I dont know how to change it. I'm using pdfLaTeX.

share|improve this question
    
What document class are you using? –  egreg Mar 24 '12 at 9:39
    
egreg, I edited it in my post, thank you. –  dan Mar 24 '12 at 9:42
1  
Add the line \markboth{Acronyms}{Acronyms} next to the \addcontentsline. Is the dbvdoc class accessible for checking whether there's a better way? –  egreg Mar 24 '12 at 9:45
    
it works, thank you egreg! I honestly don´t know. –  dan Mar 24 '12 at 9:49
add comment

1 Answer 1

The headlines can be set manually with

\chapter*{Acronyms}
\markboth{Acronyms}{Acronyms}
\addcontentsline{toc}{chapter}{Acronyms}

possibly with some formatting to make them agree with the other headlines.

If the class is book or is based on book, one could simply say

\chapter{Acronyms}

provided this is between the \frontmatter and \mainmatter declarations.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.