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.

Say I have an arrow leading pointing from one node to another node under TikZ. Is there a way to highlight this arrow?

I'm looking for a result that looks (more or less) as though I've printed a diagram and used a highlighter marker to accentuation an arrow. Preferably, only the arrow would be highlighted.

share|improve this question
6  
Could you provide the code showing the diagram you developed? This would help a lot people that want to answer you. :) –  Claudio Fiandrino Sep 19 '12 at 16:28

1 Answer 1

up vote 7 down vote accepted

You can put a double line(or a thick line) behind your path

\documentclass{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw[ultra thick,-latex, %Regular stuff
preaction={%But before that
draw,yellow,-,% Draw yellow without any arrow head
double=yellow,
double distance=2\pgflinewidth,
}] (0,0) to[bend right] (2cm,2cm);
\end{tikzpicture}
\end{document}

enter image description here

share|improve this answer
    
This is exactly what I was looking for! –  Chernoff Sep 19 '12 at 18:23
    
@Chernoff: Care to accept this answer? –  krlmlr Oct 18 '12 at 21:30

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.