* Arrows and boxes in metapost.
@ 2011-11-14 19:31 Christian
2011-11-17 8:24 ` Hans Hagen
0 siblings, 1 reply; 2+ messages in thread
From: Christian @ 2011-11-14 19:31 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hello,
I need a simple graphic that shows some boxes (frames) with text in it and has some arrows pointing to and from these boxes. (examples 267 and 268 on this page [1])
I was hoping to do this in MetaPost.
Earlier this year this question went un-answered on this list:
"How to use boxit MetaPost macros with ConTeXt minimals?"
So, is there a solution or do I have to use
label.rt(btex \framed[width=3cm,align=middle]{Text} etex, (1u,1.5u));
Which really feels uncomfortable in this case.
Best regards
Christian
[1] http://tex.loria.fr/prod-graph/zoonekynd/metapost/metapost.html
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Arrows and boxes in metapost.
2011-11-14 19:31 Arrows and boxes in metapost Christian
@ 2011-11-17 8:24 ` Hans Hagen
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2011-11-17 8:24 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 14-11-2011 20:31, Christian wrote:
> Hello,
>
> I need a simple graphic that shows some boxes (frames) with text in it and has some arrows pointing to and from these boxes. (examples 267 and 268 on this page [1])
> I was hoping to do this in MetaPost.
>
> Earlier this year this question went un-answered on this list:
> "How to use boxit MetaPost macros with ConTeXt minimals?"
>
> So, is there a solution or do I have to use
> label.rt(btex \framed[width=3cm,align=middle]{Text} etex, (1u,1.5u));
draw thetextext.rt("\framed[width=3cm,align=middle]{Text}",(1u,1.5u))
I never used the boxit macros but if they are normal mp they should just
work; otherwise post a mininimal example (more change of an answer).
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| 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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-11-17 8:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-14 19:31 Arrows and boxes in metapost Christian
2011-11-17 8:24 ` Hans Hagen
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).