4
votes
1answer
43 views

Define a pair/point as a pair/point along a path length METAPOST

Is it possible to define a pair as a point along a specified length of a path? so for example beginfig u=2cm; path x; x=(0,0)..u*dir(225); %v= a point along a fraction of the length of x in a ...
6
votes
3answers
971 views

mpgraphics: Unable to compile using MikTex on Windows

This is an example from mpgraphics package documentation: \documentclass{article} \usepackage{mpgraphics} \begin{document} \begin{mpinline} draw (20,20)--(0,0)--(0,30)--(30,0)--(0,0) \end{mpinline} ...