[NTG-context] MetaPost label font size

Henning Hraban Ramm texml at fiee.net
Wed Jul 6 13:36:16 CEST 2022


Am 06.07.22 um 12:45 schrieb Hans Hagen via ntg-context:
> 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

Okay. So there’s really no possibility to adapt whatever defines the 
label font size except defaultfontsize inbetween? Strange.

My solution so far was to split the picture and re-combine it afterwards.

Hraban



More information about the ntg-context mailing list