Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

The MWE example below does everything I want it to do, except the line

\tlput{$\delta$}

does nothing. I want the $\delta$ to the left of the dashed line.

Here is the MWE:

\documentclass{article}

\usepackage{pst-node}

\begin{document}

    \begin{figure}
        \centering
        \psmatrix[colsep=0.3cm,rowsep=.4cm,mnode=circle]
        [mnode=dot,dotscale=.00001] \\
        [mnode=dot,dotscale=.00001] & [mnode=dot,dotscale=.00001] & [mnode=dot,dotscale=.00001] \\
        [mnode=r] && [mnode=r]
        \ncline{1,1}{2,2}
        \taput{$\Pi$}
        \tlput{$M_{3}$}
        \ncline{2,2}{3,1}
        \tlput{$M_{1}$}
        \ncline{2,2}{3,3}
        \trput{$M_{2}$}
        \psset{linestyle=dashed}\ncline{2,1}{2,3}
        \tlput{$\delta$}
        \endpsmatrix
    \end{figure}

\end{document}

Thanks.

share|improve this question
1  
I get this output when I compile your MWE as-is. The \delta is to the left of the dashed line. Perhaps you have some outdated packages? In order to see the package versions you're running with, see Which package version am I using? Then include the contents of \listfiles to your post. Alternatively, just update your TeX distribution completely, try again and report back. –  Werner Apr 4 at 6:04
    
I updated the pst-node package, but it still doesn't work. –  Jonathan Apr 7 at 0:39
    
Please provide us with your list of file versions by following the link I provided above. –  Werner Apr 7 at 4:49

1 Answer 1

it also works with the shortcuts:

\documentclass{article}
\usepackage{pst-node}
\begin{document}

        \psmatrix[colsep=0.3cm,rowsep=.4cm,mnode=r]
         ~       \\
         ~& ~ &  \\
         ~&  ~& 
        \ncline{1,1}{2,2}^{$\Pi$}<{$M_{3}$}
        \ncline{2,2}{3,1}<{$M_{1}$}
        \ncline{2,2}{3,3}>{$M_{2}$}
        \ncline[linestyle=dashed]{2,1}{2,3}<{$\delta$}
        \endpsmatrix

\end{document}

^: above, _: below, <: left, and >: right

enter image description here

share|improve this answer
    
I've tried that, but the delta still doesn't appear for me. –  Jonathan Apr 7 at 0:18
    
What TeX-distribution do you have? –  Herbert Apr 7 at 5:46

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.