Page LayoutChanging page number font in table of contents...

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
nafe12
Posts: 1
Joined: Sat Aug 29, 2009 2:59 am

Changing page number font in table of contents...

Post by nafe12 »

I'm trying to change the page number font in my table of contents.
With the code below, the section headers (text) come out in the right font, but the page numbers are still in the default (times?) font.

Code: Select all

\begin{sffamily}
\tableofcontents
\end{sffamily}
Ideas appreciated!

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
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Changing page number font in table of contents...

Post by frabjous »

Take a look at the tocloft pacakge.
Post Reply