TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm having a strange problem.

In my code I have


My summary is well generated, but the rest of the file, which looks like this:

\chapter*{A Chapter of Definitions}


\section*{A Section}

Some text.

  \item \textbf{Name of list}
    \item \textbf{First item:} Text.

appears in my dvi with the header SUMMARY, but this file didn't belong to the summary. What's the problem? How can I fix it?

My messy main.tex is in this link in pastebin.

share|improve this question
You should also mention the class you're using. However the problem is that \chapter* doesn't set the headers. Some more information is needed: is this the only unnumbered chapter? – egreg Nov 6 '11 at 21:40
I'm using \documentclass[a4paper,12pt,fleqn,oneside,openright]{book} I have some chapters unnumbered before, but after, this is the only one. After it I have numbered chapters, the first is my introduction. I added a link to my main file in pastebin, please take a look =). – GarouDan Nov 6 '11 at 21:50
up vote 12 down vote accepted

Starred sectioning commands don't set header marks, that's why the previous marks still appear. Depending on class, header layout and used header package, you could use \markboth and perhaps also \markleft yourself, such as

\chapter*{A Chapter of Definitions}
\section*{A Section}
\markboth{A Chapter of Definitions}{A Section}

or \chaptermark and \sectionmark, if they are defined, such as

\chapter*{A Chapter of Definitions}
\chaptermark{A Chapter of Definitions}
\section*{A Section}
\sectionmark{A Section}

Without concrete code, this is just general advice.

share|improve this answer
Hum this worked well, appeared A Section in my dvi of \chapter*{A Chapter of Definitions} and this I think it's fine. Thanks. – GarouDan Nov 6 '11 at 22:15
Hi Stefan, some idea on the question below? How to get rid of "0. A Section" in the header. I just want "A Section" – LaRiFaRi Nov 6 '13 at 20:28

I used your solution and It worked fine, but now my section appears as header mark with 0.0 in front. Do you know how can I remove it? Thank you!

share|improve this answer
Don't ask a question as an answer, make a new question and link it to this one. – HarryCBurn Nov 15 '14 at 11:22

Your Answer


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.