Consider the following snippet from etoolbox
:
\newrobustcmd*{\deflength}[2]{%
\ifundef{#1}
{\etb@noglobal\etb@err@nolen{#1}}%
{#1\glueexpr#2\relax}}
Maybe I do not understand the differences between \numexpr
, \dimexpr
, \glueexpr
and \muglueexpr
(e-TeX expressions), but I suspected the use of \dimexpr
in the definition
of \deflength
just like \numexpr
is used in the definition of \defcounter
Can someone explain the difference?