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 trying to use fancyhdr, but I can't get it to not show the section and to keep the normal case for title and 'Chapter'.

How can I have my heading to be "Chapter 1. The title of the chapter" (left aligned on all pages)

share|improve this question
up vote 12 down vote accepted
\renewcommand{\headrulewidth}{0pt} % optional
share|improve this answer
Thanks! I removed the \thepage as I already have the page number in the bottom. I now found out that removing the section is just a matter of overwriting it with this commands. – Peter Smit May 26 '11 at 10:28

The titlesec package offers a very good alternative to the fancyhdr package for designing page styles; here's a little example doing what you need:

\usepackage{lipsum}% to generate filler text

  \headrule\sethead{\chaptername\ \thechapter. \chaptertitle}{}{}


\chapter{Test chapter}
\section{Test section}


delete \headrule if you don't need the rule below the headline.

share|improve this answer

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.