[NTG-context] Circled text in metapost

Alan Braslau braslau.list at comcast.net
Mon Apr 2 16:51:20 CEST 2018


On Mon, 2 Apr 2018 15:16:11 +0200
Hans Hagen <j.hagen at xs4all.nl> wrote:

> \useMPlibrary[txt]
> 
> \starttext
> 
> \startuseMPgraphic{followtokens}
>      path RotPath ; RotPath := halfcircle scaled 7cm rotated 180 ;
>      for i=1 upto 6 :
>          draw halfcircle scaled (i*cm) rotated 180 ;
>      endfor ;
> \stopuseMPgraphic
> 
> \followtokens{Dies ist ein anderer Text}
> 
> \stoptext

or, perhaps (a question of taste):

for i=1 upto 6 :
    draw RotPath scaled (i/7) ;
endfor ;


Alan


More information about the ntg-context mailing list