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 get a change of Tikz node colors when the mouse is hovering on it?

Thanks in advance!

share|improve this question
1  
You mean in the final PDF? I don't think so. This would need some Javascript embedded in the PDF. In theory something could be done using the animate or fancytooltips or similar packages. But I'm unable to give a definitive answer on that. –  Martin Scharrer Feb 1 '11 at 19:47
    
My sentiments exactly. "Ouf, this sounds hard." –  Matthew Leingang Feb 2 '11 at 1:45
    
Note that you don't have to (and in fact shouldn't) sign with your name since it automatically appears in the lower right corner of your post. –  Hendrik Vogt Feb 2 '11 at 9:35
    
@Hendrick Thanks for the tip I'll bear it in mind in my next messages. –  Arianna Feb 3 '11 at 13:16
    
I think that it will be difficult to get this behavior for nodes which do not have shape of rectangles (circle, oval, ...) –  robert.marik.cz Aug 10 '13 at 21:07

2 Answers 2

You might try something with the fancytooltips package. That's probably not what exactly what you want, but maybe if the tooltip was a copy of the image with the color changed it could work.

share|improve this answer

Another option could be ocgtools which allow you to define some layers and active them by cliking somewhere. I think just moving the mouse is not enough.

share|improve this answer

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.