You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
\eq@capture<br />
\eq@punct<br />
738 \let\\\eq@newline<br />
739 \let\insert\eq@insert \let\mark\eq@mark \let\vadjust\eq@vadjust<br />
740 \hsize\maxdimen \pretolerance\@M<br />
Here it is better not to use \@flushglue (0pt plus1fil) for \rightskip, or else<br />
a negative penalty (such as −99 for \prerelpenalty) will tempt TEX to use<br />
more line breaks than necessary in the first typesetting pass. Ideal values for<br />
\rightskip and \linepenalty are unclear to me, but they are rather sensitively<br />
interdependent. Choice of 10000 pt for rightskip is derived by saying, let’s use a<br />
value smaller than 1 fil and smaller than \hsize, but more than half of \hsize<br />
so that if a line is nearly empty, the glue stretch factor will always be less than<br />
2.0 and so the badness will be less than 100 and so TEX will not issue badness<br />
warnings.<br />
741 \linepenalty\@m<br />
742 \rightskip\z@\@plus\@M\p@ \leftskip\z@skip \parfillskip\z@skip<br />
743 \clubpenalty\@ne \widowpenalty\z@ \interlinepenalty\z@<br />
After a relation symbol is discovered, binop symbols should start including a<br />
special offset space. But until then \EQ@prebin@space is a no-op.<br />
744 \global\let\EQ@prebin@space\relax<br />
Set binoppenalty and relpenalty high to prohibit line breaks after mathbins and<br />
mathrels. As a matter of fact, the penalties are then omitted by TEX, since bare<br />
glue without a penalty is not a valid breakpoint if it occurs within mathon–mathoff<br />
items.<br />
745 \binoppenalty\@M \relpenalty\@M<br />
746 }<br />
If an equation ends with a \right delim, the last thing on the math list will<br />
be a force-break penalty. Then don’t redundantly add another forcing penalty.<br />
(question: when does a penalty after a linebreak not disappear? Answer: when<br />
you have two forced break penalties in a row). Ending punctuation, if any, goes<br />
into the last box with the mathoff kern. If the math list ends with a slanted letter,<br />
then there will be an italic correction added after it by TEX. Should we remove<br />
it? I guess so.<br />
26.1 Capturing the equation<br />
BRM: There’s a problem here (or with \ss@scan). If the LHS has \left<br />
\right pairs, ß@scan gets involved. It seems to produce a separate box marked<br />
w/\penalty 3. But it appears that \eq@repack is only expecting a single box for<br />
the LHS; when it measures that box it’s missing the (typically larger) bracketted<br />
section, so the LHS is measured =¿ 0pt (or very small). I’m not entirely clear<br />
what Michael had in mind for this case; whether it’s an oversight, or whether<br />
I’ve introduced some other bug. At any rate, my solution is to measure the RHS<br />
(accumulated in \EQ@box), at the time of the relation, and subtract that from the<br />
total size.<br />
46