Page Layout ⇒ page number font size
-
- Posts: 17
- Joined: Fri Sep 24, 2010 8:50 pm
page number font size
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.
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
page number font size
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.
Thorsten
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
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 17
- Joined: Fri Sep 24, 2010 8:50 pm
page number font size
Yes, that works. I did modify the command line as:
to change the page number style for this particular appendix.
Code: Select all
\renewcommand*{\thepage}{\footnotesize{A--\arabic{page}}}