summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/calculator/examples/calculator2.tex
blob: 6136ee24cdf4c3b0ceb0020f9c6b334e8ee7b4c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
\SQUARE{5}\sol
The \texttt{\textbackslash sol}
command contains the square of $5$:
\[5^2=\sol\]
\begin{center}
\SQUAREROOT{5}\sol
Now, the \texttt{\textbackslash sol}
command is the square root of $5$:
\[\sqrt{5}=\sol\]
\end{center}
On having gone out of the \texttt{center}
environment,
the command recovers its previous value:
\sol