ntheorem.pdf. - Mirrors.med.harvard.edu
ntheorem.pdf. - Mirrors.med.harvard.edu
ntheorem.pdf. - Mirrors.med.harvard.edu
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
\endeqnarray* In an \eqnarray*, the end mark is set at the right of the last equation:<br />
73 \@na<strong>med</strong>ef{endeqnarray*}{%<br />
74 % from \@@eqncr:<br />
75 \let\reserved@a\relax<br />
76 \ifcase\@eqcnt \def\reserved@a{& & &}\or \def\reserved@a{& &}%<br />
77 \or \def\reserved@a{&}\else<br />
78 \let\reserved@a\@empty<br />
79 \@latex@error{Too many columns in eqnarray environment}\@ehc\fi<br />
80 \reserved@a {\normalfont \normalcolor \PotEndMark{}}%<br />
81 \global\@eqnswtrue\global\@eqcnt\z@\cr<br />
82 %<br />
83 \egroup<br />
84 \global\advance\c@equation\m@ne<br />
85 $$\global\@ignoretrue}<br />
This is just L ATEX’s \endeqnarray where lines 75–81 are inserted from<br />
\@@eqncr and augmented (line 80) to set a potential endmark (with no<br />
additional commands) at the end of the current line.<br />
Changes to Tabbing Environment<br />
Original: lttab.dtx<br />
\endtabbing Here, the\endtrivlistmodificationisnotsufficient: LATEXisnotinhmode<br />
whenitcalls\endtrivlistfrom\endtabbing;additionally,\@stoplinealreadyoutputsalinebreak.<br />
Thus,theendmarkisinsertedbefore \@stopline<br />
at the right margin (using \‘).<br />
86 \gdef\endtabbing{%<br />
87 \PotEndMark{\‘}\@stopline\ifnum\@tabpush >\z@ \@badpoptabs<br />
88 \fi\endtrivlist}<br />
Changes to Center Environment<br />
Original: ltmiscen.dtx<br />
\endcenter In L ATEX, \endcenter just calls \endtrivlist. Here, the situation is more<br />
complex since the the endmark has to be put in the last line without affecting<br />
its centering: if in a text line (only then, here is a potential endmark<br />
position):<br />
89 \gdef\endcenter{%<br />
90 \@endtrivlist<br />
91 {\PotEndMark{\rightskip0pt%<br />
92 \settowidth{\leftskip}%<br />
93 { \csname mark\thm@romannum{curr\InTheoType ctr}\InTheoType<br />
94 \thm@romannum{end\InTheoType ctr}\endcsname}%<br />
95 \advance\leftskip\@flushglue\hskip\@flushglue}}}<br />
The \rightskip of the line is set to 0, \leftskip is set to the width of<br />
one space (since on the right, one space is added after the text) plus the<br />
endmark and infinitely stretchable glue (\@flushglue), and also the line<br />
36