1
$\begingroup$

For example when I'm writing a math paper, I want to offer the proof as clear as I can, since I can't guarantee the education backgroud of my readers are at the same level. But that would be too much details, and would cause a lot of scroll down for certain readers.

So the question naturally arise, is there a math editor, using latex, contains this function? I know this probably can't be done in PDF format, but are there any other format and math editor supporting this "Expand and Collapse"/"Fold and Unfold" function?

P.S. I believe this should be a natrual question for Mathematicians and should be already solved somehow somewhere.

$\endgroup$

closed as off-topic by Morgan Rodgers, Cesareo, Leucippus, Yanko, MathOverview Jun 1 at 14:53

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question is not about mathematics, within the scope defined in the help center." – Morgan Rodgers, Cesareo, Yanko, MathOverview
If this question can be reworded to fit the rules in the help center, please edit the question.

  • $\begingroup$ This feature can be easily achieved with HTML documents but I don't know of an editor that supports it. You can build an HTML page with this feature and also show the equations in LaTex - See: tex.stackexchange.com/questions/23804/… $\endgroup$ – NoChance Jun 1 at 4:48
  • $\begingroup$ If you’re talking about collapsing and expanding your code on the edit side of things, plenty of editors offer that option. But if you’re talking about compiling to something like a PDF but with collapsible things, I don’t believe there is any way to do this. Perhaps you could just slap it into a HTML document (that you can trivially add collapsible sections to) and make heavy use of Mathjax? $\endgroup$ – Jack Crawford Jun 1 at 4:49
  • 1
    $\begingroup$ Another good option is just to have hyperlinked section headers in LaTeX. They won’t be collapsible, but you can essentially give people an option to click to skip ahead over certain sections very conveniently. Or you could just set a variable in your TeX that hides certain sections and compile a separate version of your document for academics and for people without the background. $\endgroup$ – Jack Crawford Jun 1 at 4:51