I want to use the smallest readable font for cheatsheet,
\documentclass[6pt]{extarticle}
doesn't work
[Tex/LaTex] How to specify document font size less than 8pt
fontsfontsize
fontsfontsize
I want to use the smallest readable font for cheatsheet,
\documentclass[6pt]{extarticle}
doesn't work
Best Answer
The key is to pick a font that supports arbitrary scaling, such as
lmodern
, and then use the\fontsize{}{}\selectfont
approach to select it. The revised font size will stay active until subsequently changed.As to default size at startup, LaTeX only supports 10pt, 11pt, and 12pt, which is why the
[6pt]
option was ignored in the OP's approach.Eliminating the use of
lmodern
, one will find that the fontsize cannot be reduced below 5pt, since the default computer-modern font is not arbitrarily scalable.p.s. With
lmodern
selected, one should just as well add\usepackage[T1]{fontenc}
to the preamble, to take advantage of the extra glyph set.