[texhax] Redefining default font sizes

Uwe Lueck uwe.lueck at web.de
Tue Mar 29 09:30:35 CEST 2011

 On  28 Mar, 2011, at 18:33, Mike B. wrote:
> Is it possible to scale only the fonts? the document is already an A4 size. 
> So if the class file defines \normalsize as font size of say, 8pt, 
> I'd like to change that into say 12pt.

Hopefully the most straightforward answer: 
copy those font size definitions (into the preamble after 
\documentclass) and modify them (within \makeatletter ... 

Here is the usual definition of \normalsize in size10.clo 
for the default size setting of article.cls:

 \abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@
 \abovedisplayshortskip \z@ \@plus3\p@
 \belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\p@
 \belowdisplayskip \abovedisplayskip

You might replace the second line with this 
(including Axel's suggestion for leading):


(The comment mark may be important.)
That is, the first argument of the command \@setfontsize 
is the name of the font size command, the second is the 
glyph size, the third is the leading (setting \baselineskip).

\@xiipt stands for 12pt, see the others in your .cls, in 
the "size" files, or ... at least without fix2e, it may be good 
to use them instead of using explicit number/unit pairs. 

See also these earlier postings:


Hope this helps

 -- Uwe.

More information about the texhax mailing list