Graphics, Figures & Tables ⇒ PSTricks and arrowheads
-
- Posts: 2
- Joined: Tue Apr 21, 2009 12:37 am
PSTricks and arrowheads
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.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
PSTricks and arrowheads
Best regards
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10