I have a simple document and don't care about the details of sections and subsections, but I want a larger font size. I have


but it doesn't enlarge the font in the main part of the document.

I have found a lot of complex answers that I do not understand; I just would like to know why I cannot set the font size in the documentclass, or if there is a way to do it after that.

  • 1
    The article documentclass only supports the font size options 10pt, 11pt and 12pt.
    – leandriis
    Jun 25, 2020 at 17:47
  • 1
    If you want to use a base font size between 8 and 20 pt, you can use the extarticle class instead.
    – leandriis
    Jun 25, 2020 at 17:47
  • 3
    the option is not a font size or a length it is just the name of an option. It sets many things including the text width as well as several font sizes. to select a larger font you can use eg \LARGE which is 22pt if you use the default 10pt option. Jun 25, 2020 at 17:57
  • Does this answer your question?
    – Davislor
    Jun 25, 2020 at 20:54

1 Answer 1


You can select arbitrary font sizes with the Koma document classes, the scrextend package, or extsizes, A simple solution to your problem (which unfortunately is buried in the comments of answers to the canonical question) would be to add the line:


You say, though, that you just want to know why you can’t write \documentclass[20pt]{article}. So, here’s a literal answer to the question you asked.

LaTeX does not parse package options as an arbitrary number followed by the letters p and t. There’s a fixed set of package options for backward compatibility, which go back to the days when Computer Modern was available in METAFONT in those specific optical sizes. Other packages, including the ones from KOMA-script, can and do provide key=value syntax for that.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .