\buttonlabels

Command in package incremental.

Synopsis

\buttonlabels{showlabel}{hidelabel}

Description

Sets the labels for the show and hide buttons of the showhide
environment.

Example 1

Lorem ipsum dolor sit amet, consectetuer adipiscing 

\begin{showhide}[\buttonlabels{Show formula}{Hide formula}]
  \begin{displaymath}
    f(x,y) \, = \, e^{\frac{1}{2}(x+y)^2}\frac{1 + e^{ay}}{e^{x^2}}
  \end{displaymath}
\end{showhide}

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

Result, as rendered by your browser

Lorem ipsum dolor sit amet, consectetuer adipiscing

Show formula

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

Example 2

i18n: language switch must be inside the buttonlabel command. 

\begin{showhide}[\buttonlabels{\lang{en}{Show formula}\lang{de}{Zeige die Formel}}{\lang{en}{Hide formula}\lang{de}{Verstecke die Formel}}]
  \begin{displaymath}
    f(x,y) \, = \, e^{\frac{1}{2}(x+y)^2}\frac{1 + e^{ay}}{e^{x^2}}
  \end{displaymath}
\end{showhide}

Result, as rendered by your browser

i18n: language switch must be inside the buttonlabel command.

Show formula


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

Add picture from clipboard (Maximum size: 500 MB)