ntheorem.pdf. - Mirrors.med.harvard.edu
ntheorem.pdf. - Mirrors.med.harvard.edu
ntheorem.pdf. - Mirrors.med.harvard.edu
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
The contents of \df@label is handled when the equation is finished. (Currently)<br />
this happens in three macros. The modification consists of the check<br />
if \thm@df@label@optarg is non-empty (i.e., holds the optional argument),<br />
and to handle it.<br />
267 \def\endmathdisplay@a{%<br />
268 \if@eqnsw \gdef\df@tag{\tagform@\theequation}\fi<br />
269 \if@fleqn \@xp\endmathdisplay@fleqn<br />
270 \else \ifx\df@tag\@empty \else \veqno \alt@tag \df@tag \fi<br />
271 \ifx\df@label\@empty \else<br />
272 \ifx\thm@df@label@optarg\@empty \@xp\ltx@label\@xp{\df@label}%<br />
273 \else \@xp\ltx@label\@xp{\df@label}[\thm@df@label@optarg]\fi<br />
274 \fi<br />
275 \fi<br />
276 \ifnum\dspbrk@lvl>\m@ne<br />
277 \postdisplaypenalty -\@getpen\dspbrk@lvl<br />
278 \global\dspbrk@lvl\m@ne<br />
279 \fi<br />
280 }<br />
281 \def\make@display@tag{%<br />
282 \if@eqnsw<br />
283 \refstepcounter{equation}%<br />
284 \tagform@\theequation<br />
285 \else<br />
286 \iftag@<br />
287 \df@tag<br />
288 \global\let\df@tag\@empty<br />
289 \fi<br />
290 \fi<br />
291 \ifmeasuring@<br />
292 \else<br />
293 \ifx\df@label\@empty\else<br />
294 \ifx\thm@df@label@optarg\@empty \@xp\ltx@label\@xp{\df@label}%<br />
295 \else \@xp\ltx@label\@xp{\df@label}[\thm@df@label@optarg]\fi<br />
296 \global\let\df@label\@empty<br />
297 \fi<br />
298 \fi<br />
299 }<br />
300 \def\endmathdisplay@fleqn{%<br />
301 $\hfil\hskip\@mathmargin\egroup<br />
302 \ifnum\badness