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.
\documentclass{mwrep}

%margins
\usepackage{anysize}
\marginsize{3cm}{3cm}{2cm}{2cm}

\usepackage{lipsum}

\usepackage{fancyhdr}
\pagestyle{fancy}
\lhead{}\chead{}\rhead{}\lfoot{}\cfoot{}\rfoot{\thepage}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}

\begin{document}
\chapter{AAAAAAA}
\section{aaaaaaa}
\lipsum
\section{bbbbbbb}
\lipsum
\section{ccccccc}
\lipsum
\chapter{BBBBBBB}
\section{aaaaaaa}
\lipsum
\section{bbbbbbb}
\lipsum
\section{ccccccc}
\lipsum
\chapter{CCCCCCC}
\section{aaaaaaa}
\lipsum
\section{bbbbbbb}
\lipsum
\section{ccccccc}
\lipsum
\end{document}

How can I lower the page number (something about 0.5 cm) without modyfying the rest of page?
(Only visible change should be different position of page number).

share|improve this question

1 Answer 1

up vote 13 down vote accepted

The length dictating the distance between the text block and your page number (contained within the footer), is \footskip. Modifying the length will only move the footer up/down. For example, add

\setlength{\footskip}{20pt}

in your document preamble to have a 20pt gap between the text block and the footer.

For more on lengths between document elements, consider reading the documentations of layouts and geometry.

share|improve this answer
    
How can I know what is my current (default) \footskip? How can I include it in my document? Eg. I would like to print My footskip is 10pt. –  Jan Ajan Mar 13 '12 at 23:12
2  
mwrep's default \footskip is 24pt. To see this, use \showthe\footskip somewhere in your document and check your .log file. If you want to print the value within your document, use \the\footskip after \begin{document}. So, you mind be interested in My footskip is \the\footskip. –  Werner Mar 13 '12 at 23:16

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.