[Tex/LaTex] How to select Latin Modern font for small sizes

fontsizelatin-modern

I want to demonstrate in a presentation different fonts. In the beamer talk the fonts Courier and Bera Sans are used, but for the demonstration I also want to use Latin Modern Roman as well.

This is what I do to print the text:

\usefont{T1}{lmr}{m}{n}
\small Latin Modern Roman \\
\tiny\sampletext

which gives me a comparable HUGE text size.
Doing the same for courier font looks correct:

\usefont{T1}{bch}{m}{n}
\small Charter \\
\tiny\sampletext

I assume that the wrong font is scaled to tiny, but how do I select the correct font?

Best Answer

Here's a comparison; the first block is Latin Modern at 5pt size (the specially designed font), the second block is Latin Modern 10 scaled at 5pt, the third block is Charter scaled at 5pt

enter image description here

The artifacts of the conversion to a bitmap image are good to show what's the purpose of specially designed fonts for small sizes (and also for bigger sizes): making the text readable.

Here is the code

\documentclass{standalone}
\usepackage{lmodern,lipsum}\frenchspacing

\begin{document}
\vbox{\hsize=5cm
\small Latin Modern Roman \\
\tiny\lipsum[2]

\small Latin Modern Roman (scaled) \\
{\normalsize\font\x=\fontname\font\space at 5pt \tiny\x
 \lipsum[2]\par}

\usefont{T1}{bch}{m}{n}
\small Charter \\
\tiny\lipsum[2]

}
\end{document}