&#193;d&#225;m T&#243;th - 1 year ago 85
LaTeX Question

# LaTeX Two Digit Page Numbering

I want to see the numbering of pages in LaTeX as follows using \thepage command: 01, 02, 03, ..., 09, 10, 11, ...etc.

So I want to have 2 digits always.

How can I achieve this smoothly?

Thank you for any help in advance!

``````\renewcommand{\thepage}{\ifnum\value{page}<10 0\fi\arabic{page}}