Page Layout[SOLVED] Page numbering absent

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
pincadilly
Posts: 3
Joined: Wed May 01, 2013 2:11 pm

[SOLVED] Page numbering absent

Post by pincadilly »

Hi everyone,
I'm struggling with page numbering in my document. Here's an example of my code:

Code: Select all

\documentclass[article,11pt]{scrartcl}
\usepackage[latin1]{inputenc}
\usepackage{geometry}
\geometry{verbose,a4paper,tmargin=15mm,bmargin=15mm,lmargin=15mm,rmargin=15mm}

\usepackage{tgbonum}
\renewcommand{\familydefault}{\sfdefault}

\pagestyle{plain}
\pagenumbering{arabic}

\usepackage{graphicx}

\title{Example}
\author{Bumblebee}
\date{\today}

\begin{document}

\maketitle

\section{Missing numbering is a nightmare}
As you can see there's no numbering!!

\end{document}
As far as I understood, the commands \pagestyle{plain} and \pagenumbering{arabic} should do the job (i.e. showing page numbering in the footer), but as you can see if you execute the code, no numbering actually appears. Any idea? What am I doing wrong?
Thanks in advance!
Last edited by pincadilly on Tue Nov 22, 2016 1:05 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Page numbering absent

Post by Stefan Kottwitz »

Hi!

The page number is there, it's just too low. You can see it if you set a higher value to the bottom margin.

Stefan
LaTeX.org admin
pincadilly
Posts: 3
Joined: Wed May 01, 2013 2:11 pm

Page numbering absent

Post by pincadilly »

Hi guys,
I found the solution: I simply added [includefoot] to the \usepackage{geometry} command, and now it works as I wanted :)
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

[SOLVED] Page numbering absent

Post by Stefan Kottwitz »

Ok, so that adjusted the margin. Btw. it's actually a very small margin, and especially in books text areas and margins follow certain conventions. For example, an inner margin is half of an outer margin (but plus binding correction), since the both inner margins double up in an open book.

Stefan
LaTeX.org admin
Post Reply