I use scrbookand want to set the font for some part of the text with fontsize. The effect is that the text in the normal font is in the normal font size and only special fonts are scaled by fontsize.

\KOMAoptions{ fontsize=11pt }


    some normal text \\
%       \footnotesize
        Teile dieses Buches wurde  Programmen in Haskell erstellt. Der Text wurde 
        mit  {\LaTeX}, {Lua\LaTeX} and {\KOMAScript} gesetzt. 

The result shows only the KOMAScript part is smaller: enter image description here

The fontsizes are selected for contrast and not what is ultimately used!

  • 1
    \fontsize{4pt}{9.5pt}\selectfont – moewe Jun 10 '19 at 10:13

\fontsize{4pt}{9.5pt} only sets up the internal parameters for the next font selection, it does not actually select a font, you need \selectfont to do that, also if you want the 9.5pt baseline to be used you need a blank line or \par before the closing } as the baseline at the end of the paragraph is used for the whole paragraph.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.