[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}
% hand-made tension
\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}
Thank you in advance folks!
Best regards,
a PSTricks user
http://tex.stackexchange.com/users/19356/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20140117/57224a44/attachment.html>
More information about the PSTricks
mailing list