I noticed the nodesep option gives inconsistent results as shown in the following figure.

Code: Select all
\documentclass{book}
\pagestyle{empty}
\usepackage{pstricks,pst-node}
\begin{document}
\pspicture[showgrid=true](9,5)
\SpecialCoor
\psset{nodesep=1}
\pnode(1,4){A}
\pnode(6,4){B}
\psdot(A)\psdot(B)
\ncline[linecolor=blue]{<->}{A}{B}% the line becomes shorter.
\rput(4,1){%
\rnode[tr]{TR}{%
\rnode[bl]{TL}{%
\psframebox[linecolor=red,framesep=0pt]{\Huge Mathenphy}}}}
\psdot(TL)\psdot(TR)
\ncline[linecolor=blue]{<->}{TL}{TR}% the line becomes longer.
\endpspicture
\end{document}
My question is "why the second line passing through the opposite corners is longer than the diagonal?"
In my mind, it should be shorter than the diagonal.
Thank you in advance.
regards,
Hayashi