[NTG-context] MetaPost label font size
Hans Hagen
j.hagen at freedom.nl
Wed Jul 6 12:45:11 CEST 2022
On 7/6/2022 12:19 PM, fv leung via ntg-context wrote:
> My stupid way to get labels of different sizes:
>
> \starttext
>
> \startMPcode
>
> label("normal label", (0, 0));
>
> label("\setsmallbodyfont small label", (0, 18));
>
> label("\setbigbodyfont big label", (0, -18));
>
> \stopMPcode
>
> \stoptext
nothing stupid about that ... it's how i would do it
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
More information about the ntg-context
mailing list