On Sat, 19 Mar 2011 23:13:46 +0100, Aditya Mahajan <adit...@umich.edu> wrote:

You do not need yshifted. But you need to set the bounding box of the
resulting image correctly.

\startuniqueMPgraphic{Label}
  path p; p := (0,0) -- (OverlayWidth,0);
  draw p withpen pencircle scaled 1mm withcolor .667red;
  setbounds currentpicture to boundingbox OverlayBox ;
\stopuniqueMPgraphic

Aditya

Perfect, thank you.

Lukas


___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to