Jesteś w: Start / Przedsięwzięcia/Projects / TeX Pearls / 2007 Pearls / pawel-jackowski / bachotex2007-pawel-jackowski-pearl2.tex


TeX document icon bachotex2007-pawel-jackowski-pearl2.tex — TeX document, 1 KB

Zawartość pliku

%%% Skip assignments

% Consider the code:

\A = 3pt plus 1pt minus 1pt
\B = 1\A

% Is now skip \B equal \A?

% No, its not

\the\A % 3pt plus 1pt minus 1pt
\the\B % 3pt

% In an assignment of the form
%   skip = <number> skip
% \TeX\ ignores that part of a glue which deals with shrinkability and
% stretchability. To avoid this effect one should not use a number/factor
% (digit 1 in this case) at the right hand side of the equation. When
% necessary, one should use the \advance, \divide, \multiply primitives
% instead, since all they preserve the glue-specific part.