Graphics, Figures & TablesPSTricks and arrowheads

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
mike smith
Posts: 2
Joined: Tue Apr 21, 2009 12:37 am

PSTricks and arrowheads

Post by mike smith »

Hopefully my problem is not one arising from my own stupidity:

I am trying to draw a line inside the pstricks environment, using psline. Having consulted the UserGuide by Timothy Van Zandt (particularly page 29 of the full guide), as well as the internet, I still cannot find out how to create a psline with an arrow in the centre of a line.

One would think that intuitively, you could state arrow= ->- to overcome this, but alas, I cannot find any easy solution to this.

For example:
\psline[linewidth=2pt]{->-}(2,3)(4,5)
does not work.


Any assistance would be greatly appreciated, thank you.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

PSTricks and arrowheads

Post by localghost »

Refer to Section 25.5 (ArrowInside Option, p. 87f) of the pstricks-add manual.


Best regards
Thorsten
Post Reply