# How to make good pagenumbering in LaTeX for academic work? [closed]

It would be nice, if you would help me make som beautiful pagenumbering. And with beautiful I mean the pagenumbering on the images i posted. And I've anyone of you have some pagenumbering you prefer or could be interesting here, it would be nice if you would post it here, so beginners like me can choose their pagenumbering for their latex documents.

I have nearly the same pagenumbering layout like that on the first picture, but the pagnumbering have to be central, because otherwise the standard pagenumbering will show up again.

Kind regards.

Minimal exampel:

\documentclass[12pt,a4paper]{article}%generelt
\usepackage[utf8]{inputenc}%europæisk skrifttegn
\usepackage[danish]{babel}%dansk

\usepackage{amsmath}%matematik
\usepackage{amsfonts}
\usepackage{amssymb}

\usepackage{graphicx}%billedimplementering
\usepackage[left=1.5cm,right=1.5cm,top=2.5cm,bottom=2cm]{geometry}%størrelsesforhold
\usepackage{cleveref}%refere med \cref og \cpageref

\usepackage{caption}%figurtekster
\captionsetup{margin=10pt,font=it,labelfont=it}

\usepackage[T1]{fontenc}%skrifttype

\usepackage{chemfig}%kemi
\usepackage[version=3]{mhchem}

\usepackage{fancyhdr}%overskrifter
\pagestyle{fancy}
\usepackage{lastpage}%sideantal

\thispagestyle{empty}% for cropping
\usepackage{microtype}

\begin{document}%dokumentbegyndelse
\begingroup
\noindent
\bfseries
\begin{tabular}{|p{\dimexpr0.5\textwidth-2\tabcolsep}p{\dimexpr0.5\textwidth-2\tabcolsep}|}
\hline
& Date:      \cr
& Signature: \cr
(for the instructor) &            \cr
\hline
\end{tabular}
\endgroup
\bigskip
\begingroup
\centering
\obeylines
\scshape
\lsstyle
\normalsize MY LESSON
\vspace{0.01ex}
\Huge Aflevering 3
\vspace{0.1ex}
\normalsize MY NAME \\{\small STUDENTNUMBER} \linebreak
\hspace{1ex}
\begin{normalsize}
Institute for ...........
\end{normalsize}
\large MY UNIVERSITY
{\normalsize  \today}
\endgroup

\clearpage

\pagebreak
\twocolumn

\cfoot{\scshape{Side \thepage \ af \pageref{LastPage}}}

-

## closed as primarily opinion-based by Christian, Svend Tveskæg, Masroor, Adam Liter, dustinApr 27 at 15:23

Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise.If this question can be reworded to fit the rules in the help center, please edit the question.

You can build pretty much any pagenumbering. Can you make a minimal working example? –  Juri Robl Apr 27 at 12:49
As the old saying goes, beauty is in the eye of the beholder. Please be a bit more specific as to what you consider to be "beautiful page numbering". –  Mico Apr 27 at 13:10
Well… that's not really minimal. –  Manuel Apr 27 at 13:32
By the way, you can clear all the headers and footers with \fancyhf{}. –  Tom Apr 27 at 13:44

The package pageslts can give you of 'Page n of m' style for page numbers. Here is one way to set it up with fancyhdr:

\usepackage{pageslts}
\pagenumbering{arabic}
\fancyfoot[C]{Page \thepage{} of \lastpageref*{VeryLastPage}}


The starred version of the command prevents the number of the last page from being a link to the last page, which I find visually ugly when links are coloured.

-

Here is another example:

\documentclass[12pt,a4paper]{article}%generelt
\usepackage[utf8]{inputenc}%europæisk skrifttegn
\usepackage[danish]{babel}%dansk

\usepackage{amsmath}%matematik
\usepackage{amsfonts}
\usepackage{amssymb}

\usepackage{graphicx}%billedimplementering
\usepackage[left=1.5cm,right=1.5cm,top=2.5cm,bottom=2cm]{geometry}%størrelsesforhold
\usepackage{cleveref}%refere med \cref og \cpageref

\usepackage{caption}%figurtekster
\captionsetup{margin=10pt,font=it,labelfont=it}

\usepackage[T1]{fontenc}%skrifttype

\usepackage{chemfig}%kemi
\usepackage[version=3]{mhchem}

\usepackage{fancyhdr}%overskrifter
\pagestyle{fancy}
\usepackage{lastpage}%sideantal

\thispagestyle{empty}% for cropping
\usepackage{microtype}

\begin{document}%dokumentbegyndelse
\begingroup
\noindent
\bfseries
\begin{tabular}{|p{\dimexpr0.5\textwidth-2\tabcolsep}p{\dimexpr0.5\textwidth-2\tabcolsep}|}
\hline
& Date:      \cr
& Signature: \cr
(for the instructor) &            \cr
\hline
\end{tabular}
\endgroup
\bigskip
\begingroup
\centering
\obeylines
\scshape
\lsstyle
\normalsize MY LESSON
\vspace{0.01ex}
\Huge Aflevering 3
\vspace{0.1ex}
\normalsize MY NAME \\{\small STUDENTNUMBER} \linebreak
\hspace{1ex}
\begin{normalsize}
Institute for ...........
\end{normalsize}
\large MY UNIVERSITY
{\normalsize  \today}
\endgroup

\clearpage

\pagebreak
\twocolumn

\cfoot{\parbox{\textwidth}{\hrulefill\kern-0.6ex\raisebox{-0.5ex}{$\Bigl[$\makebox[2em][c]{\thepage}$\Bigr]$}\kern-0.5ex\hrulefill}}

\cfoot{$\overset{\textcolor{olive}{\resizebox{!}{0.65em}{${\cdots}$}}}{\makebox[2em][c]{\thepage}}$}