i would like to use the \CUBE function from calculator package, but it does not work with numbers greater than 25
\documentclass[10pt,a4paper]{article}
\usepackage{relsize,amsmath}
\usepackage{calculator}
%%%%%%%%%%%%%%
\begin{document}
%%%%%%%%%%%%%%%
\CUBE{5}{\sol}
\sol\\
\CUBE{15}{\sol2}
\sol2\\
\CUBE{25}{\sol3}
\sol3\\
\CUBE{26}{\sol4}
\sol4\\
\end{document}
i get the the error message:
! Dimension too large.
<recently read> \cctr@lengtha
l.16 \CUBE{26}{\sol4}
?
Is there any help?
\sol2
is no valid macro name (as well as\sol3
and\sol4
). Macro names can't contain numbers if LaTeX's standard category codes apply.