Take the 2-minute tour ×
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.

I'm using the fancy header package, yet I've also adjusted all of my margins, to allow more text on each page as there is no need for the excessively large margins.

I've run in to some trouble with my header coming much too close the the top of the text though: alt text

How would I go about adjust space downwards? Also, here is the code I'm using for the headers:

\usepackage{fullpage}
\usepackage{fancyhdr}
\setlength{\headheight}{15pt}
\pagestyle{fancyplain}
%adjust lengths to suit me
\addtolength{\topmargin}{-.5in}
\addtolength{\oddsidemargin}{-.375in}
\addtolength{\textheight}{1.25in}
\addtolength{\textwidth}{.5in}

\lhead{Name}
\chead{}
\rhead{}
\lfoot{Name}
\cfoot{\fancyplain{}{\thepage}}
\rfoot{\fancyplain{}{\today}}
share|improve this question
2  
EricR (and others), please provide a minimum working example (MWE) with all coded problems to help others to more easily help you. –  Geoffrey Jones Sep 12 '10 at 3:26
add comment

1 Answer

up vote 16 down vote accepted

There's a better way than this to set up and adjust page margins. Use the geometry package. (Seriously!)

That said, here's the solution to your problem. (NB, I've added the layout package in addition to geometry's showframe option to help you visualise what is going on.)

\documentclass[twoside]{article}
%\usepackage{fullpage}  % <-- you don't want this

\usepackage{geometry}
\geometry{
  top=0.5in,            % <-- you want to adjust this
  inner=0.5in,
  outer=0.5in,
  bottom=0.5in,
  headheight=3ex,       % <-- and this
  headsep=2ex,          % <-- and this
}
\usepackage{fancyhdr}
\pagestyle{fancyplain}

\lhead{Eric Rasche}
\chead{}
\rhead{}
\lfoot{Eric Rasche}
\cfoot{\fancyplain{}{\thepage}}
\rfoot{\fancyplain{}{\today}}

\usepackage{lipsum}          % body text

\usepackage{layout}          % display page dimensions
%\AtBeginDocument{\layout*}  % uncomment this line *OR*
\geometry{showframe=true}    % uncomment this line (best if not both)

\begin{document}
  \subsection{Timeline}
  \lipsum[1-30]
\end{document}
share|improve this answer
1  
Great answer +1 –  Will Robertson Sep 12 '10 at 5:13
add comment

Your Answer

 
discard

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.