Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • Hi @alexg, as a proof of concept, I like the \foreach loop because it makes your code easear to write/mantain/understand. Although your code is better then mine because it does not select text when the mouse is down, like mine it does not work when the mouse is over and down simultaneously. As users are likely to use mouse over and down simultaneously, is that problem fixable? Commented Aug 11, 2023 at 13:54
  • I think this does not work, as no mouseenter nor any other of the possible events is fired by AR while the mouse button is down. Commented Aug 11, 2023 at 14:18
  • Hi @alexg, is there a way of putting the result of the command \foreach \i in {X,A,B,C,X,A,B,C,X,A,B,C} {\showocg[onmouseenter]{\i}{\framebox[0.05\linewidth]{\i}}} on top of the images but at the bottom? Commented Aug 11, 2023 at 17:29
  • Just move the code above the image block. Should work. Commented Aug 11, 2023 at 19:07