1

I have seen in numerous answers on MathStackexchange when the solution is displayed, it is blank and you need to hover your mouse over it for it to display.

However I searched for hours for an answer like that and somehow I could not find any. Does anybody know how to make such latex text?

VLC
  • 111
  • 2
    That is probably a web/browser/javascript thing. Not really related to LaTeX and friends. – daleif Jun 18 '21 at 08:44
  • @daleif I really hoped that latex has a simillar feature... – VLC Jun 18 '21 at 08:46
  • I don't really see the point of having one? Especially in touch devices. – daleif Jun 18 '21 at 09:12
  • 1
    Have you looked at questions on this website such as this one? I believe there might be something you are looking for, but I think it will depend on the device and the PDF reader. – user242429 Jun 18 '21 at 09:16
  • 1
    See, for example, this one https://tex.stackexchange.com/a/164186 – AlexG Jun 18 '21 at 09:41
  • 1
    The eforms package supports things like \textField[\AA{\AAMouseEnter{% (\AA stands for Additional Actions). – John Kormylo Jun 18 '21 at 13:20
  • 1
    If instead of a mouseover/hover you would be ok with a mouse click then you can consider the ogcx package (see https://tex.stackexchange.com/questions/270780/spoiler-like-feature-in-output-pdf/270807 for example) or the newer ocgx2 (see https://tex.stackexchange.com/questions/432382/interactive-svg/447800). – Marijn Jun 18 '21 at 13:40

0 Answers0