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

As i mentioned in title, i can't manage fancyhdr to work. I can't remove page numbers. And page numbering is not stable. And this is the result. As you can see one iii is at the bottom but iv is at the heading and intersecting with text.undesired result

Sorry for bad english.

This is mwe(i think) Because of the document is too long i did not dump the all code. But i can if it is needed.

\usepackage[left=3.50cm, right=2.50cm, top=3.00cm, bottom=3.00cm,nohead,nofoot]{geometry}

\addto\extrasturkish{\uccode`i=\string"9D \lccode`I=\string"19 }
\addto\noextrasturkish{\uccode`i=`I \lccode`I=`i }

\setlength{\marginparwidth}{0 pt}







    {-12 pt plus 4pt minus 2pt}
    {-10 pt plus 2pt minus 2pt}

    {-12pt plus 4pt minus 2pt}
    {-10pt plus 2pt minus 2pt}

    {-12pt plus 4pt minus 2pt}
    {-10pt plus 2pt minus 2pt}

    {-12pt plus 4pt minus 2pt}
    {-10pt plus 2pt minus 2pt}



    {1em }


\setlength{\headheight}{ 0 cm} 










share|improve this question
Your problem may lie with the combination of nohead,nofoot via geometry in conjunction with requiring a header/footer via fancyhdr. – Werner Jun 18 '12 at 10:32
wow thanks. But one page number is at the top one is the bottom this time – interlude Jun 18 '12 at 10:34
This is because of the page styles set by your document class (and possibly packages loaded in the preamble). – Werner Jun 18 '12 at 10:56
up vote 7 down vote accepted

do not use any margin setting after loading fancyhdr. Delete your

\setlength{\headheight}{ 0 cm} 

and use geometry for any setting. To get the same behaviour on the first page for chapters redefine the pagestyle:

share|improve this answer
good answer but it still keeps one number at bottom one number at top – interlude Jun 18 '12 at 10:49
sure, that is the default. If you do not want that, then redefine \fancypagestyle{plain}{ ...settings ...}. See documentation on page 7/8. – Herbert Jun 18 '12 at 10:50
see my edited answer – Herbert Jun 18 '12 at 11:44

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.