[metapost] Problem with defaultscale

Taco Hoekwater taco at elvenkind.com
Mon Aug 4 19:39:46 CEST 2008


Oliver Buerschaper wrote:
> Dear MetaPost wizards,
> 
> I'm trying to change the default font size MetaPost uses for labels  
> but the following code keeps giving me trouble:
> 
> ---
> beginfig(1);
>      defaultscale := 6;
>      label(btex Hallo $\sum$ etex, origin);
> endfig;
> 
> end
> ---
> 
> Whatever the value of "defaultscale" the font size of the label  
> doesn't seem to be affected :-( My typesetting command is

Defaultscale only works for string labels, not for btex ... etex
labels. But the good news is that scaling a btex ... etex label
is really simple also:

    label(btex Hallo $\sum$ etex scaled 6, origin);

Best wishes,
Taco



More information about the metapost mailing list