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} 










  • 2
    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

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:

  • 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.
    – user2478
    Jun 18 '12 at 10:50
  • see my edited answer
    – user2478
    Jun 18 '12 at 11:44

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.