TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

How can I modify the page numbers to have a different SIDE margin. I've got the vertical margin set right but my advisor wants my page numbers for the thesis 0.5" from both top and side edge (1" margin for the text). I'm using LyX.

share|improve this question

this works for me

\fancyhf{}  % Delete current setting for header and footer

\fancypagestyle{main}{% page style for normal pages

  \fancyhead{}  % Get rid of headers and footers on plain pages...
  \renewcommand{\headrulewidth}{0pt}  % ...and of the lines

  \fancyhead{}  % Get rid of headers and footers on empty pages...
  \renewcommand{\headrulewidth}{0pt}  % ...and of the lines

Thanks to a response here

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.