[metapost] decimal(i)
Daniel Luecking
luecking at uark.edu
Tue Apr 1 23:46:31 CEST 2008
----- Original Message -----
From: Taco Hoekwater <taco at elvenkind.com>
Date: Tuesday, April 1, 2008 1:09 am
Subject: Re: [metapost] decimal(i)
To: Steve MC Han <hmc0907 at yahoo.com>
Cc: metapost at tug.org
> Steve MC Han wrote:
> > Hi,
> >
> > Is there anyway we can make a smaller size numbers in decimal
> function enumeration?
> > It seems that label.bot(decimal(i),(i*u,0)); gives a fixed size
> enumeration.
> This should give you half-size labels:
>
> defaultscale := 0.5;
You can also do any of the following:
1. change defaultfont to a smaller size
defaultfont := "cmr8";
2. Include the font in the label command:
label(decimal(i) infint "cmr8", (i*u,0));
3. Include the scale in the label command:
label(decimal(i) infont defaultfont scaled .8, (i*u,0));
The "infont" is required to turn a string into a picture
expression so the scale can be applied.
4. A combination of one or more of the above.
Dan
More information about the metapost
mailing list