Page Layoutpage number font size

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
mikkelstuff
Posts: 17
Joined: Fri Sep 24, 2010 8:50 pm

page number font size

Post by mikkelstuff »

I have used the \fontsize command to set the text font size to 12 pt but now I need to independently set the page number font size to 10 pt. Can someone enlighten me?
Last edited by mikkelstuff on Mon Feb 28, 2011 6:04 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

page number font size

Post by localghost »

Font sizes for the document are usually set by a document class option. The \footnotesize command decreases the font size to 10pt in case the default size is 12pt.

Code: Select all

\documentclass[12pt,a4paper,english]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{blindtext}

\renewcommand*{\thepage}{\footnotesize\arabic{page}}

\begin{document}
  \blinddocument
\end{document}

Thorsten
mikkelstuff
Posts: 17
Joined: Fri Sep 24, 2010 8:50 pm

page number font size

Post by mikkelstuff »

Yes, that works. I did modify the command line as:

Code: Select all

\renewcommand*{\thepage}{\footnotesize{A--\arabic{page}}}
to change the page number style for this particular appendix.
Post Reply