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

My text and the top right page number seem to intersect when using fancyhdr:

\usepackage [numbers,square,sort]{natbib}
\usepackage{pslatex}  % for times new roman font
\usepackage[top=2cm, bottom=2.5cm, left=3.5cm, right=2.5cm]{geometry}



\newcommand{\abs}[1]{ \lvert #1 \rvert}








share|improve this question
The problem is caused probably by myheadings pagestyle, but I cannot see its declaration in the code you pasted. Also, what is the purpose of including package fullpage if you also set the margins with geometry? – JLDiaz Jul 31 '12 at 9:28
Welcome to TeX.SX. When you have a problem with your LaTeX code, you should always try to trace back exactly what the cause it (at least as far as possible) and remove all irrelevant code. In this way you can provide a minimal working example (MWE), which allows us to give you much better advice. – canaaerus Jul 31 '12 at 9:42
i'm good at latex, but not that good, i added the fullpage a while ago to get fine control over the size of the page that i use. i had no idea that it conflicts with fancyhdr, any way i removed the \usepackage[cm]{fullpage} and the problem is gone. thanks jLDiaz – mike Jul 31 '12 at 9:47
up vote 5 down vote accepted

A minimal working example of your problem is





It is resolved by replacing the \usepackage[cm]{fullpage} by your geometry package line

\usepackage[top=2cm, bottom=2.5cm, left=3.5cm, right=2.5cm]{geometry}

Thus in your original file you should just delete the line with the fullpage package.

In general the geometry package is to be preferred over the older fullpage exactly because of this type of problem.

share|improve this answer
agreed, solved, and thanks. – mike Jul 31 '12 at 10:45
Ok, so i accepted and upvoted it now that i have enough karma to upvote. Thanks again – mike Dec 31 '12 at 14:02

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.