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.
312 \endcsname<br />
313 }<br />
314 \fi<br />
315 % end of if-thref in option amsmath ******************************************<br />
316 \if@thmmarks<br />
317 \PackageInfo{\basename}{option ‘amsmath’ handling for ‘thmmarks’ loaded}%<br />
318 \newdimen\thm@amstmpdepth<br />
A temporarily used register.<br />
\TagsPlusEndmarks Since amsmath uses “tags” for setting end marks, some macros are defined<br />
which prepare tags which include endmarks:<br />
\SetOnlyEndMark<br />
319 \gdef\TagsPlusEndmarks{%<br />
320 \global\let\Old@maketag@@@=\maketag@@@<br />
321 \global\let\Old@df@tag=\df@tag<br />
322 \if@eqnsw\SetTagPlusEndMark<br />
323 \else<br />
324 \iftag@\SetTagPlusEndMark<br />
325 \else\SetOnlyEndMark<br />
326 \fi<br />
327 \fi}<br />
Lines 320, 321: store the original macros.<br />
Line 322: if equation numbers are set as default, call \SetTagPlusEndMark<br />
to set tag and end mark.<br />
Lines 323, 324: if a tag is set manually, call \SetTagPlusEndMark to set tag<br />
and end mark.<br />
Line 325: otherwise, call \SetOnlyEndMark to set only an end mark.<br />
328 \gdef\SetOnlyEndMark{%<br />
329 \global\tag@true<br />
330 \iftagsleft@<br />
331 \gdef\df@tag{\hbox<br />
332 to \displaywidth{\hss\PotEndMark{\maketag@@@}}}%<br />
333 \else<br />
334 \gdef\df@tag{\PotEndMark{\maketag@@@}[\ifhmode\else\hbox to .1pt{}\fi]}%<br />
335 \fi}<br />
Set only an end mark:<br />
Line 329: force setting the end mark as a tag:<br />
Lines 331, 332: if tags are set to the left, the tag consists of a \hbox over the<br />
whole displaywidth, with the (potential) endmark at its right.<br />
Line 334: if tags are set to the right, the tag consists only of the (potential)<br />
endmark. If no endmark is set and TEX is not in hmode, an<br />
empty hbox is output (otherwise \abovedisplayskip will be ignored<br />
46