TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have used \ncbar before with success and it worked perfectly however the following code:


Produces me the following:


The angleB=-90 is not taken into account. The \ncdiag works just fine. I use TeXmaker on a Linux machine and I compile with LaTeX + dvips + ps2pdf.

share|improve this question
Can anyone reproduce it? – Evangelos Bempelis Jul 10 '12 at 14:44
When you run the above code you also get the wrong angle or is it as it is supposed to be? – Evangelos Bempelis Jul 10 '12 at 15:06
I thought so but apart the fact that I remember me using it an example of it can be found here link to pdf file – Evangelos Bempelis Jul 10 '12 at 15:24
@VagelisBebelis: you can get such documents with running texdoc psmatrix. No need to load it from the net, it is already present on your computer. – Herbert Jul 10 '12 at 15:52
@Herbert: No need to use @VagelisBebelis because you made a comment for his own question (as well as his answer if any). – kiss my armpit Jul 10 '12 at 16:16
up vote 1 down vote accepted

from the documentation:

This node connection consists of a line with arms dropping “down”, at right angles, to meet two nodes at an angle angleA. Each arm is at least of length armA or armB, but one may be need to be longer.

You are looking for \ncangle[angleA=90,angleB=-90,arrows=->]{A}{B}

share|improve this answer
makes no difference, you can use angle or angleA. Important is only that angleB is not of interest – Herbert Jul 10 '12 at 15:54
Indeed \ncangle did the trick. Thanks for your help. Still though I'm sure that \ncbar also takes two angles as arguments. – Evangelos Bempelis Jul 10 '12 at 16:19
no, \ncbar never used both angles. – Herbert Jul 10 '12 at 17:23
In this example \ncbar uses both angles: \documentclass{article} \usepackage{pst-all} \begin{document} \begin{pspicture}(0,1)(4,-2) \begin{psmatrix}[emnode=r] \psset{arrowscale=2} Verbinde {\rnode{A}{KnotenX}} mit {\rnode{B}{KnotenY}}! \end{psmatrix} \ncbar[nodesep=3pt,angleA=-90,angleB=90,linecolor= red,arrows=<->,arrowscale=2, arm=0.8]{A}{B} \end{pspicture} \end{document} – Evangelos Bempelis Jul 11 '12 at 13:49
set angleB to something else, eg 45 and you'll see that nothing happens! angleB=90 would be a connection from above and not below if the angle would be taken into account. – Herbert Jul 11 '12 at 13:55

Recall that the arms must be parallel then only certain angles that produce parallel arms are valid.

angle is the only valid option for \ncbar to change the direction. Both angleA and angleB are not used even though angle=angleA.

share|improve this answer
In documentation I find \ncbar connecting words using this notation though. It might be problematic because I use psframeboxes? – Evangelos Bempelis Jul 10 '12 at 15:38

Your Answer


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.