How to control the distance of white space between the rules and the body text?
\documentclass{article}
\usepackage{fancyhdr}
\usepackage{lipsum}
\fancypagestyle{plain}{
\renewcommand{\headrulewidth}{.4pt}
\renewcommand{\footrulewidth}{.4pt}
}
\begin{document}
\thispagestyle{plain}
\lipsum[1-8]
\end{document}
As you can see, the distance between headrule and text is inconsistent with the distance between text and footrule.
I'm mostly in need of a solution for the distance between footrule and text, as the solution for headrule and text is already given here, but doesn't quite work here (?).
See the image:
Best Answer
You can adjust the value (length) of
\footskip
or\headsep
to suit your needs. From thelayouts
package documentation:In that sense, maybe the following would suffice: