summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/calculator/examples/calculator2.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/calculator/examples/calculator2.tex')
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator2.tex14
1 files changed, 14 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator2.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator2.tex
new file mode 100644
index 00000000000..6136ee24cdf
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator2.tex
@@ -0,0 +1,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