[pstricks] tensionstyle=pm does not work with \tension

Donut E. Knot the.counterterrorist at yahoo.com
Sat Jan 18 08:53:47 CET 2014


Dear folks,

I noticed that tensionstyle=pm does not work with \tension.

Could you activate tensionstyle=pm for \tension
such that I no longer need to write the code as shown in the second pspicture below?

\documentclass[pstricks,12pt]{standalone}
\usepackage{pst-circ}

\begin{document}
% tension does not provide what I want to achieve
\begin{pspicture}(-1,1)(1,-4)
\pnodes(0,0){A}(0,-3){B}
\tension[tensionstyle=pm](A)(B){$v_0$}
\end{pspicture}
\begin{pspicture}(-1,1)(1,-4)
\pnodes(0,0){A}(0,-3){B}
\uput[-90](A){$+$}
\uput[90](B){$-$}
\rput([nodesep=1.5]{B}A){$v_0$}
\end{pspicture}
\end{document}