I made a kind of solution that does this here:
http://kitchingroup.cheme.cmu.edu/blog/2015/10/09/Automatic-latex-image-toggling-when-cursor-is-on-a-fragment/
You might see if it does what you want.
Knud Soerensen writes:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi
>
> I love org-mo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi
I love org-mode and use it a lot for latex notes.
I will like to suggest a new latex setting which let org-mode show the
latex code when cursor is on the code line.
But when the cursor leaves the code line the latex is automatic rendered
to a ima