[NTG-context] howto create labels with multiple lines ?

Floris van Manen vm at klankschap.nl
Fri Oct 11 01:41:49 CEST 2019


List,

In the metafun-p document, there is the example creating a clock with
labels placed at the dots.

pair destination ;
for whereto = 0 step 30 until 330 :
destination := dir(whereto) * 1.5cm ;
freedotlabel(decimal whereto, destination, origin) ;
drawarrow origin -- destination
withpen pencircle scaled .25mm withcolor .625 red ;
endfor ;


I cannot find any example as how to have a label with multiple lines.
like:

. one
  two


  two
. three
  four


Can someone point me to an example as how to do that?

Thanks
.Floris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pEpkey.asc
Type: application/pgp-keys
Size: 2456 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20191011/7165446f/attachment-0001.key>


More information about the ntg-context mailing list