Why would LaTeX ignore the font size in the documentclass

Rory picture Rory · Apr 15, 2010 · Viewed 11.1k times · Source

I have a LaTeX file. I'm experimenting with trying to reduce the font size (this is related to my other question here LaTeX - Changing the font size for a document, but in the preamble, not the document class? ).

The LaTeX file is generated from another programme. I have edited it to start with

\documentclass[4pt,a4paper,english]{report}

i.e. I am trying to make the text really small. However it doesn't work. I change that 4pt to anything and the font size is the same.

When running pdflatex on it, I get this message printed out.

LaTeX Warning: Unused global option(s):
    [4pt].

That might explain why the error message is

What could be going on here? How do I make it use the font size in the documentclass definition?

Answer

fabrizioM picture fabrizioM · Apr 15, 2010

You can use only

10pt|11pt|12pt

in the default documentclass

I think you have to redefine the main text command to support smaller (unreadable) font sizes