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.

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 a simple picture - three vectors, originating from the (0, 0) point.


\usetikzlibrary{positioning, decorations.pathreplacing, calc, matrix, shapes, arrows, decorations, decorations.text, fit}

            \draw[-latex', line width = 1pt] (0, 0) -- (0, 1);%
            \draw[-latex', line width = 1pt] (0, 0) -- (1, 0);%
            \draw[-latex', line width = 1pt] (0, 0) -- (1, 1);%


        \node (S){\dimlabel};


I use MikTeX 2.9 under Windows with pdfLaTeX. The problem is that, if you run this simple example, and then open file in, say, Adobe Reader, and zoom the page really close, like 1200%, you will see that vectors, which form right angle have small gap in the point of origin. The picture explains my point better. How can I avoid this effect? Tikz problem

share|improve this question
You can add line cap=rect to the orthogonal paths. – Jake Mar 22 '13 at 15:49
cool! it works, thank you! – Oleksandr Mar 22 '13 at 15:53
@Jake perhaps you should turn your comment into an answer? – Gonzalo Medina Mar 22 '13 at 22:47

PSTricks can also be used to explain your problem. You need to change the linecap (PSTricks' term) or line cap (TikZ's term) from 0 (default) to 1.

enter image description here

    \rput(0.5,1.25){\tiny linecap=\i}
share|improve this answer

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.