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 am looking to make a page that has in the header

chapter chapter num -------------------------chaptertitle

for both odd and even pages.

Any pointers? Can someone explain how a sectionmark gets displayed in the header? And how to change the rightmark? thank you

share|improve this question
It depends on which classes and packages you're using. Please tell us the class, the page style and packages you load for headings (fancyhdr or scrpage2?) The best would be a small compilable example. – Stefan Kottwitz Dec 6 '10 at 19:38

This is very easy with titlesec. See code below for a basic structure.


  \sethead[\chaptername\ \thechapter][][\chaptertitle]{\chaptername\ \thechapter}{}{\chaptertitle}


As always, the blindtext package is only for creating dummy text thus not part of the solution.

share|improve this answer

Your Answer


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