[NTG-context] basic fontsizes question

Thomas Fehige thomas at fehige.de
Mon Jun 6 16:20:23 CEST 2016


edit: Sorry, I meant the command \definebodyfontenvironment, of course, 
like in the code sample.

Am 06.06.2016 um 16:05 schrieb Thomas Fehige:
>
> In the fonts book I found the \definebodyfont command, but it does not 
> to do what I expected. What I need (for a poster) is a set of absolute 
> font sizes. I tried the code below. I put some quirks in, like the 
> huge value for "a", to see if it works, but it doesn't. It just uses 
> the preset proportions relative to the preceding fontsize command (in 
> the example, \tfx is bigger than \tf).
>
> \definebodyfontenvironment[palatino][24pt][
>
> text = 24pt,
>
> small = 22pt,
>
> x=22pt,
>
> scriptscript = 16pt,
>
> xx = 16pt,
>
> big=28pt,
>
> a = 80pt, % 28pt
>
> b = 40pt,
>
> c = 50pt,
>
> d = 50pt,
>
> interlinespace = 3ex,
>
> em = italic
>
> ]
>
> \setupbodyfont[palatino,24pt]
>
> \starttext
>
> \tf tf\\
>
> \tfa tfa\\
>
> \tfb tfb\\
>
> \tfx tfx\\
>
> \tfx tfx
>
> \stoptext
>
>
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20160606/da6f8a78/attachment.html>


More information about the ntg-context mailing list