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

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

User avatar
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