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.
Graphics, Figures & Tables ⇒ PSTricks and arrowheads
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
Refer to Section 25.5 (ArrowInside Option, p. 87f) of the pstricks-add manual.
Best regards
Thorsten
Best regards
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10