ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* How to add margin around standalone MetaPost?
@ 2022-05-20 16:56 Vincent Hennebert via ntg-context
  2022-05-20 17:07 ` Bruce Horrocks via ntg-context
  2022-05-21  2:09 ` śrīrāma via ntg-context
  0 siblings, 2 replies; 5+ messages in thread
From: Vincent Hennebert via ntg-context @ 2022-05-20 16:56 UTC (permalink / raw)
  To: ntg-context; +Cc: Vincent Hennebert

Take the following MetaPost file:

beginfig(0)
  ahlength := 20;
  linejoin := mitered;
  drawarrow origin--(40,0) withpen pencircle scaled 5;
endfig;

Render it into PDF with ConTeXt. Witness the cut out ends of the arrow.
How to fix that?

Being able to add some margin would be a solution, which may be
desirable anyway in some cases. Is that possible?

Thanks,
Vincent
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-05-24 16:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-20 16:56 How to add margin around standalone MetaPost? Vincent Hennebert via ntg-context
2022-05-20 17:07 ` Bruce Horrocks via ntg-context
2022-05-20 18:27   ` Mikael Sundqvist via ntg-context
2022-05-21  2:09 ` śrīrāma via ntg-context
2022-05-24 16:22   ` Vincent Hennebert via ntg-context

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).