This question already has an answer here:

I'm writing a manual for a new piece of software, and I would like to be as clear as possible and include entire derivations for the governing equations. However, I understand that most users don't need that level of detail.

Does Latex have the capability for clickable icons to expand/collapse sections of the document in the PDF? I want the user to be able to click an icon to expand the text to show a new piece of the document (to show the derivation of a governing equation) without having the manual bogged down by all of these derivations.

Something like a "Show more" icon would be good, that when clicked shows the derivation.


marked as duplicate by Bruno Le Floch, Andrew, Stefan Pinnow, user13907, egreg Oct 5 '16 at 15:00

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 2
    Welcome to TeX.SX. I don't know if this is possible, but in case it should not: What about showing the "entire derivations" in an appendix with several sections/subsections which could be (hyper)linked? – Stefan Pinnow Sep 2 '16 at 19:58
  • 1
    packages ocg-p or ocgx can be helpful – touhami Sep 2 '16 at 20:01
  • This has nothing to do with expansion in the sense of TeX – user31729 Sep 2 '16 at 20:02
  • 1
    Whole sections (even spanning multiple pages) can be hidden and enabled by means of the ocgx2 package, but one cannot collapse the space reserved for the hidden content. – AlexG Sep 5 '16 at 9:02

Browse other questions tagged or ask your own question.