# A step-by-step unhiding "tutorial mode" for equations

One very nice MathJax example shows means to only show parts of a formula (e.g. as hints) and unveil them one by one (see $\ref{screenshot}$ below). I think a similar feature (not restricted to equations, also including text), as extension to the >! spoiler tag, e.g.

First of all, make sure $a_n$ converges for $n\to\infty$.
>!   Here are a few hints:                     # shown on hover
>!2! In order to do so, do ...                 # shown after 2nd click
>!2! In your example this would be ...         # also shown after 2nd click
>!3!   The partial result should be:           # shown after 3rd click
>!1! Then, take a look at $\sqrt[n]{a_n}$ ...  # shown after 1st click

>!1! This is another spoiler block             # shown after 1st click *here*


(where the spoilers were unveiled in numerical order by clicking on the spoiler block) would help in posting instructive answers (teaching how to fish etc). To be more precise, this would be how it works:

• In each contiguous spoiler block, lines starting with >!#! (with # being a number) will only be shown after # clicks into that block and do not necessarily have to be sequential
• Multiple lines can have the same number # in order to unveil larger blocks at once
• In order to prevent people from turning this into a PowerPoint thing, only single digit # are permitted and there is no way to re-hide things
• The print version of the site will already show all spoilers

$\tag{screenshot}\label{screenshot}$

• @MartinSleziak Good point, though it should not be restricted to that Oct 24 '13 at 7:59
• You are right. So probably the (mathjax) tag can be (or perhaps should be) removed. In any case, I leave it up to you as the OP. Oct 24 '13 at 8:09
• It's fine, the primary context where this would be is probably equations - though partially unveiled aligned multiline equations would probably require some deeper MathJax plumbing... Oct 24 '13 at 8:19
• Does something like this work: math.stackexchange.com/questions/524082/… ?
– zyx
Oct 26 '13 at 2:22
• @zyx That's the way it currently has to be done - one could add something like spoiler #2 before it, but one still has to hover over each spoiler box (or select the text) to reveal it; a clickable box with a fixed unveiling order would be neater... Oct 26 '13 at 7:11
• Here is the spectrum of what it looks like now, with: no space between blocks ( math.stackexchange.com/a/392956/14120 ) ; empty lines between blocks ( meta.math.stackexchange.com/a/9455/14120 ) ; text between blocks ( math.stackexchange.com/a/524095/14120 ) .
– zyx
Nov 20 '13 at 4:12