I am currently using the fancyhdr package with the following setup:

\usepackage{fancyhdr}                       % nice header format
    \fancyhead[RO, LE]{\textbsf{\thepage}}      % page numbers, on both odd and even
    \fancyhead[LO]{\textbsf{\leftmark}}         % chapter headings
    \fancyhead[RE]{\textbsf{\rightmark}}        % section headings

with the \pagestyle{fancy} option. This produces the following output:

Current output (minimal spacing between headers and content)

However, I require more space between the header and the main content because it looks a little cramped right now. Sometimes, also, Large font sizes trespass through the header, which is unsightly, although I couldn't find an example of this in my current document.

How can I introduce more space between the header and main content?

Desired output:

enter image description here

  • are you not getting warnings from the package that you need to increase \headheight ? Jun 24 '15 at 16:46
  • What document class are you using?
    – juanuni
    Jun 24 '15 at 16:46
  • @DavidCarlisle No, should I be? @juanuni I am using the book class. Jun 25 '15 at 18:58
  • that would be my guess but people can only guess as you have given only fragments of code. make a small one-page document that shows the problem and post the whole thing into your question, so people can reproduce, Jun 25 '15 at 19:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.