ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Gerhard Kugler <G.W.Kugler@posteo.de>
To: ntg-context@ntg.nl
Subject: Re: Circled text in metapost
Date: Mon, 2 Apr 2018 18:34:42 +0200	[thread overview]
Message-ID: <20180402163442.GE1834@pi-top> (raw)
In-Reply-To: <4512e9d8-abd1-5c95-c989-b315c285f9aa@xs4all.nl>

Finally I want to place 8 (halfcircled) texts within 8 colores
(full)rings. Your proposal places the second text outside of the
circles.

Gerhard


On Mon, Apr 02, 2018 at 06:08:56PM +0200, Hans Hagen wrote:
> On 4/2/2018 5:52 PM, Gerhard Kugler wrote:
> >Thank you very much!
> >
> >And if I want to place different text between the (half-)circles?
> 
> \startuseMPgraphic{followtokens-1}
>     path RotPath ; RotPath := halfcircle scaled 7cm rotated 180 ;
>     for i=1 upto 6 :
>         draw halfcircle scaled (i*cm) rotated 180 ;
>     endfor ;
>     setbounds currentpicture to boundingbox halfcircle scaled 7cm rotated
> 180 ;
> \stopuseMPgraphic
> 
> \startuseMPgraphic{followtokens-2}
>     path RotPath ; RotPath := halfcircle scaled 6cm rotated 180 ;
>     setbounds currentpicture to boundingbox halfcircle scaled 7cm rotated
> 180 ;
> \stopuseMPgraphic
> 
> \startoverlay
> 
> {\startuseMPgraphic{followtokens}\includeMPgraphic{followtokens-1}\stopuseMPgraphic
>      \followtokens{\strut Dies ist ein anderer Text\strut}}
> 
> {\startuseMPgraphic{followtokens}\includeMPgraphic{followtokens-2}\stopuseMPgraphic
>      \followtokens{\strut Less text than before\strut}}
> \stopoverlay
> 
> 
> >On Mon, Apr 02, 2018 at 03:16:11PM +0200, Hans Hagen 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
> >>
> >
> 
> 
> -- 
> 
> -----------------------------------------------------------------
>                                           Hans Hagen | PRAGMA ADE
>               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -----------------------------------------------------------------
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

-- 
Gerhard Kugler
Bensheim
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2018-04-02 16:34 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-29  9:28 Gerhard Kugler
2018-03-29  9:52 ` Henri Menke
2018-03-29 10:17   ` Hans Hagen
2018-03-29 10:43     ` Gerhard Kugler
2018-03-29 13:11       ` Alan Braslau
2018-03-29 16:05         ` Gerhard Kugler
2018-03-30 11:31           ` Gerhard Kugler
2018-03-30 14:44             ` Alan Braslau
2018-03-30 15:51               ` Gerhard Kugler
2018-03-30 23:22           ` Henri Menke
2018-03-30 23:25             ` Henri Menke
2018-03-31 17:22               ` Gerhard Kugler
2018-04-02 13:16                 ` Hans Hagen
2018-04-02 14:51                   ` Alan Braslau
2018-04-02 15:52                   ` Gerhard Kugler
2018-04-02 16:08                     ` Hans Hagen
2018-04-02 16:34                       ` Gerhard Kugler [this message]
2018-04-02 17:21                         ` Gerhard Kugler
2018-04-02 17:30                           ` Alan Braslau
2018-04-02 17:48                             ` Gerhard Kugler
2018-04-05  5:32                               ` Gerhard Kugler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180402163442.GE1834@pi-top \
    --to=g.w.kugler@posteo.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).