A user wrote
Is there a list of what environments can go inside which environments? For instance,
An {idea} environment is hidden when inside an {example} environment.
An {criterion} environment is hidden when inside an {example} environment.
This is a BUG. ALL environments, except "problem" "exercise" "question" and "exploration"
should always show when nested inside other environments ("verbatim" "javascript" etc notwithstanding)
On the other hand, "problem" "exercise" "question" and "exploration"
When nested in any way, however, they will only hide if there is an "answerable" in the super-environment.
Do not put answerables below expanding environments.
for example
\begin{problem}
Content
\begin{problem}
content shown immediately because all answerables are answered. with $\answer{2}$, an answerable
\begin{problem}
This is hidden until the answer above is completed
\end{problem}
\end{problem}
\end{problem}
In pdf this would be
problem 1
problem 1.1
problem 1.1.1
All shown.
All the best,
-Bart
A user wrote
This is a BUG. ALL environments, except "problem" "exercise" "question" and "exploration"
should always show when nested inside other environments ("verbatim" "javascript" etc notwithstanding)
On the other hand, "problem" "exercise" "question" and "exploration"
When nested in any way, however, they will only hide if there is an "answerable" in the super-environment.
Do not put answerables below expanding environments.
for example
\begin{problem}$\answer{2}$ , an answerable
Content
\begin{problem}
content shown immediately because all answerables are answered. with
\begin{problem}
This is hidden until the answer above is completed
\end{problem}
\end{problem}
\end{problem}
In pdf this would be
problem 1
problem 1.1
problem 1.1.1
All shown.
All the best,
-Bart