5

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.

3
  • Yes, there exists some by default, see the ConTeXt wiki about font switching.
    – sodd
    Feb 20, 2016 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, 2016 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, 2016 at 12:21

1 Answer 1

7

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.

You must log in to answer this question.

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