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.
167 \@ifundefined{mark\thm@romannum{curr\InTheoType ctr}%<br />
168 \InTheoType\thm@romannum{end\InTheoType ctr}}{\relax}%<br />
169 {\ifx\csname\InTheoType Symbol\endcsname\@empty\else<br />
170 \end{array}\fi}%<br />
171 \addtocounter{end\InTheoType ctr}{-1}%<br />
172 \relax\ifmmode<br />
173 \egroup $\hfil\PotEndMark{}% $<br />
174 \egroup<br />
175 \end{trivlist}%<br />
176 \else \@badmath<br />
177 \fi}<br />
Lines 166–170: Look, if an endmark has to be set in this displaymath. If so,<br />
close the inner array.<br />
Lines 172–177: the old definition.<br />
Line 173: Added \PotEndMark.<br />
\endequation for equations, the end mark is also set with the equation number:<br />
178 \gdef\endequation{%<br />
179 $\hfil % $<br />
180 \displaywidth\linewidth\hbox{\@eqnnum \PotEndMark{\SetMark@endeqn}}%<br />
181 \egroup<br />
182 \endtrivlist}<br />
Line 180: When the equation number is set, also the endmark is set with the<br />
same trick as for \endequation without fleqn.<br />
\endeqnarray When the equation number is set, also the endmark is set with the same<br />
trick as for \endeqnarray without fleqn (see Lines 184, 185, 190):<br />
\bbsphack(2)<br />
183 \gdef\endeqnarray{%<br />
184 \global\let\Oldeqnnum=\@eqnnum<br />
185 \gdef\@eqnnum{\Oldeqnnum\PotEndMark{\SetMark@endeqnarray}}%<br />
186 \@@eqncr<br />
187 \egroup<br />
188 \global\advance\c@equation\m@ne$$% $$<br />
189 \global\@ignoretrue<br />
190 \global\let\@eqnnum\Oldeqnnum}<br />
191 \fi}% end of option fleqn<br />
7.1.4 Extended Referencing Facilities<br />
192 \DeclareOption{thref}{%**********************************************<br />
193 \PackageInfo{\basename}{Option ‘thref’ loaded}%<br />
194 \@threftrue<br />
Option thref needs a special handling when combined with amsmath. This<br />
is also a reason why it is handled first.<br />
41