## Print page numbers on pages

I have tried a few things such as setting pagestyle and changing documentclass, but I am unable to have the page number (and preferably number of pages) at the bottom of each page. Can anyone lead me in the right direction? - I don't see anyone else having this problem on the forums, so it might just be me?

### Replies (2)

#### RE: Print page numbers on pages - Added by Gérard Carpeauxabout 1 month ago

a part of my template

\documentclass[12pt,a4paper,french]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[francais,bloc,chiffres,outsidebox]{automultiplechoice}
\usepackage{babel}
\begin{document}

\AMCsetFoot{\hfill{}sujet \no\AMCStudentNumber \hfill{}page~\thepage{} sur \AMCpageref{lastpage}\hfill{}}

\onecopy{1}{ %

\AMClabel{lastpage}
}
\end{document}


#### RE: Print page numbers on pages - Added by Arne Vilsenabout 1 month ago

Thanks a lot for this, Gérard!

(1-2/2)