I want to adjust the arrow head tip of a bezier curve on the left such that it looks like the one on the right.

As there is no \ncbezier or \pcbezier available, I cannot use nodesep to adjust it. arcsep does not work as well.

Using \psbezier{->}([offset=4pt]R)([offset=-4pt]CR)([offset=-4pt]CL)([offset=4pt]L) is not perfect because it produces a new different bezier curve. In the right figure, can you see the filled region bounded by the first created bezier curve is not exactly enclosed by the second one?

enter image description here


    % define nodes  
    \pnode(!2 sqrt 0){R}
    % draw a bezier curve
    % draw dots


So how to adjust it? More general question: Is it possible to put the arrow head to any point on the path (as in TikZ it is possible)?

  • I don't know pstricks, but Metapost handles this as follows. Save the original path, shorten it by the required amount (by using metapost primitives that allow you to traverse a certain distance on the path) and then draw the arrow. The same idea should work in pstricks as well.
    – Aditya
    Mar 31 '13 at 19:47
  • 1
    @Karl's students Herbert has come up with a solution at tug.org/PSTricks/Examples/Gallery/exa070.tex. Apr 3 '13 at 0:13
  • @SvendMortensen: You can make it as your answer and I will accept it to finalize the bounty and question. Apr 3 '13 at 0:33
  • Okay, but I haven't really done anything, I think. :) Apr 3 '13 at 0:36

Herbert has come up with a solution on his homepage.

  • But this solution used a trial-and-error approach that will be broken if I change the circle radius. :-) Apr 3 '13 at 0:45
  • Good point! I actually hadn't noticed that; I just looked at the picture and thought that it was a good solution (it usually is when Herbert is the author). Apr 3 '13 at 0:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.