Download User's guide

Transcript
1309
}
1310
\def\eq@ml@a{%
\setbox\tw@\hbox{\unhbox\z@ \unskip}% find natural width
h∗tracei
\ifnum\eq@badness<\inf@bad\else\breqn@debugmsg{!?! Overfull: \the\wd\tw@ >\the\dim@b}\fi
h/tracei
\eq@ml@a
1311
1312
1313
1314
Is actual width less than natural width?
\ifdim\dim@b<\wd\tw@ \setlength\dim@a{\dim@b}% shrunken line
\else
\setlength\dim@a{\wd\tw@}% OK to use natural width
\fi
\addtolength\dim@a{-\leftskip}% BRM: Deduct the skip if we’re retrying w/number
1315
1316
1317
1318
If there’s no aboveskip, assume we’ve reached the top of the equation.
\skip@a\lastskip \unskip \unpenalty
\ifdim\skip@a=\z@
\let\eq@ml@continue\relax % end the recursion
\else
% Sum repeated vskips if present
\def\@tempa{%
\ifdim \lastskip=\z@
\else \addtolength\skip@a{\lastskip}\unskip\unpenalty \@xp\@tempa
\fi
}%
\fi
\edef\eq@measurements{\@elt
\the\skip@a\space X% extra space to facilitate extracting only the
% dimen part later
\csname eq@i%
\ifnum\eq@curline<\parshape \number\eq@curline
\else\number\parshape
\fi
\endcsname,\the\dim@a x\the\ht\tw@+\the\dp\tw@ @\the\eq@badness\@endelt
\eq@measurements
}%
\advance\eq@curline\m@ne
\ifnum\eq@curline=\z@ \let\eq@ml@continue\relax\fi
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
\eq@ml@vspace
}
Handle an embedded vspace.
1343
1344
1345
1346
\def\eq@ml@vspace{%
\global\advance\eq@vspan\lastskip \unskip\unpenalty
\ifdim\lastskip=\z@ \else \@xp\eq@ml@vspace \fi
}
\eq@dense@enough
1347
1348
\def\eq@dense@enough{%
\ifnum\eq@lines<\thr@@
69