[texhax] Trouble setting page number fonts

William F. Adams wadams at atlis.com
Mon Dec 8 23:24:49 CET 2003

On Sunday, December 7, 2003, at 10:31  PM, <marymary at suberic.net> wrote:

> I'm using a report document class and am setting the fonts
> after \begin{document} (doing so before doesn't work) like:
> \fontencoding{OT1}\fontfamily{ptm}\fontsize{12}{16}\selectfont
> However, all the page numbers show up as Computer Modern
> rather than Times New Roman.
> Is this a scope issue, where I need to set the font before
> the \begin?  If so, what do I use, as the above \font line
> doesn't change fonts?  Or, do I need to set the page number
> font separately?

Why not \usepackage{mathptmx}?

The problem is that the pagestyle declaration of the footer includes a 
local font change (so that it'll be set properly if say an italic 
phrase begins on one page and ends on the next).


More information about the texhax mailing list