showhide

Environment in package incremental.

Synopsis

\begin{showhide}[setting]
  content
\end{showhide}

Description

The visibility of content can be toggled by clicking a button. Thus, if it is currently visible, then
clicking the button hides it; and if it is currently hidden, then clicking the button displays it again.
content may contain (almost) any JMmtex code.

The optional argument settings contains commands which influence the behavior of the environment. The
following commands are allowed: \initialstate, \buttonlabels,
\class.

Example

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula
eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient
montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque
eu, pretium quis, sem.

\begin{showhide}
  Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec,
  vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae,
  justo.
\end{showhide}

Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras
dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus.

Result, as rendered by your browser

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem.

Show

Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus.


This page is generated automatically and each change here will be replaced on a next update.

Add picture from clipboard (Maximum size: 500 MB)