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.

Is it possible to tell arrows in TikZ to ease off a bit so as to not get within a thousandths of an inch of the target node? In my particular case I am using shadows which are interfering with the arrow heads (see image below):

enter image description here

share|improve this question
5  
Have a look at the shorten option. –  cjorssen Feb 9 '12 at 9:39
add comment

1 Answer

up vote 14 down vote accepted

Use the shorten option for those arrows.

\documentclass[border=1cm]{standalone}

\usepackage{tikz}

\begin{document}
\begin{tikzpicture}[thick]
    \draw [help lines] (-1,-2) grid (4,2);
    \draw [blue, ->] (0,1) -- (3,1);
    \draw [->, shorten >=5mm] (0,0) -- (3,0);
    \draw [red, shorten <=7.5mm, shorten >=10mm] (0,-1) -- (3,-1);
\end{tikzpicture}
\end{document}

result

share|improve this answer
    
Thanks for the great description btw. –  puk Feb 9 '12 at 10:47
add comment

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.