2

I would like to put the page number exactly 1 cm above the page bottom border (midway between margin and page border) and 2 cm left to the right page border (exactly on the right margin).

\documentclass{scrreprt}
\usepackage[a4paper,
top=2cm,
bottom=2cm,
left=4cm,
right=2cm]{geometry}

\usepackage{lipsum} 

\begin{document}

\chapter{Chapter Title}

\lipsum[1-10]

\end{document}

This is what I want

This is what I want

  • Package scrlayer-scrpage can help you. We already have a question like that, let me take a quick search. – Johannes_B Aug 2 '16 at 12:22
  • 1
  • Thanks for the input, but I am a bit confused. Where can I find the code piece that controls the bottom and right offset from the page borders? – Diaa Aug 2 '16 at 12:34
  • @JohnKormylo, can you provide me with any answered question to understand how to apply your comment in my case? – Diaa Aug 2 '16 at 16:21
5
\documentclass{scrreprt}
\usepackage[a4paper,
top=2cm,
bottom=1cm,
includefoot,
left=4cm,
right=2cm,
footskip=1cm]{geometry}
\usepackage{scrlayer-scrpage}
\rofoot*{\pagemark}
\cofoot*{}
\pagestyle{scrheadings}
\usepackage{lipsum} 

\begin{document}

    \chapter{Chapter Title}

    \lipsum[1-10]

\end{document}

enter image description here

  • Simple and flawless :). I highly appreciate your swift consideration. – Diaa Aug 2 '16 at 17:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.