\def\leftmargin{1.25in} % custom margin
\hoffset \leftmargin - 1in % subtract 1in from \leftmargin, !Not working
\hoffset \leftmargin minus1in % also tried this with no success
% In effect, \hoffset should be 0.25in
How do I use simple expression while setting dimensions in Plain TeX?
\newdimen\leftmargin \leftmargin=1.25in
instead of\def\leftmargin
-1in
is literally printed on page. Subtraction has not occured. i.e. margin is still 1.25in.\hoffset \leftmargin \advance \hoffset -1in