[pstricks] \psVector

Herbert Voss Herbert.Voss at FU-Berlin.DE
Mon Jun 16 23:23:08 CEST 2014


Am 15.06.2014 17:59, schrieb Patrice MÉGRET:

> The command \psVector from pstricks-add is very interesting to draw
> vector diagrams.
> 
> Would it be possible to use \naput{}, \nbput{} and \ncput{} to attach a
> label on the line joining to the two endpoints of the vector?
> 
> In that way, we could use something like \psStartPoint(1,1)
>  \psVector(3;30) \ncput{$V_1$} \psVector(4;60) \naput{$V_2$} , … exactly
> as we did with pst-node package.
> 
> By the way, it is already possible to use \nput as the nodename are Vector#.

Dear Patrice,
try the pstricks-add.tex from
http://texnik.dante.de/tex/generic/pstricks-add

It knows the \nXput macros. See documentation:
http://texnik.dante.de/doc/generic/pstricks-add/

Herbert




More information about the PSTricks mailing list