I use fancyhdr to customize my footer. But this code:
\pagestyle{fancy}
\fancyhf{} % sets both header and footer to nothing
\lfoot{From: K. Grant}
\rfoot{\thepage}
\renewcommand{\footrulewidth}{0.4pt}
adds TWO rulers (top and bottom) with the width that is equal to the page width. I would like to reduce the width of the bottom ruler to the width of the main text and remove the top ruler. Plus, I would like the width of the text below the bottom ruler to be the same as the width of the main text. How to do this?
UPDATE: I forgot to mention that I also use geometry package to adjust page margins. Maybe this is the source of the problem?
UPDATE
\documentclass[12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{longtable}
\usepackage[top=2cm, bottom=2cm, left=1.5, right=1cm]{geometry}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{} % sets both header and footer to nothing
\lfoot{Page \thepage}
\rfoot{some text}
\renewcommand{\footrulewidth}{0.4pt}
\renewcommand{\headrulewidth}{0pt}
\begin{document}
SOME TEXT SOME TEXT SOME TEXT SOME TEXT
SOME LOOOOONG TABLE
\end{document}





\documentclassand the appropriate packages. – Peter Grill Nov 30 '11 at 19:55pt(I think). As such, your left margin is actually set to1.5pt, not1.5cm. That gives the illusion that the rule spans the entire page width. – Werner Nov 30 '11 at 22:54