Are there simple alternative of these font sizes in ConTeXt? Or one needs to use some special module? I looked at this page here. It seems to be a lot of boilerplate of such a simple task.

  • Yes, there exists some by default, see the ConTeXt wiki about font switching. – hooy Feb 20 '16 at 11:51
  • You can change font sizes with \tfa, \tfb, \tfc, etc. or e.g. with \setupdodyfont[18pt]. If that doesn't suit your needs please add more details and explain what exactly you want to do. – Marco Feb 20 '16 at 12:03
  • @Marco Thanks. This almost does what I want. You can add this as answer. Some newbie like me would be able to search it easily. – Dilawar Feb 20 '16 at 12:21

You can change the font size for the entire text using \setupbodyfont:

\setupbodyfont [18pt]

If you want to change the font size of a smaller part of the text you can use the following constructs:

{\tfa large}
{\tfb even larger}
{\tfc huge}

Or if you prefer absolute values:

\switchtobodyfont [16pt]

For more details see the ConTeXt wiki - Font switching → Font sizes.

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.