22.07.2013 Views

ntheorem.pdf. - Mirrors.med.harvard.edu

ntheorem.pdf. - Mirrors.med.harvard.edu

ntheorem.pdf. - Mirrors.med.harvard.edu

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

\thm@romannum The functionality of latex.ltx’s \roman command converts numbers into<br />

strings, e.g., 17 into xvii. It is used to put notes into the .aux file. It must<br />

be locally defined, just duplicating the definition of \roman in latex.ltx since<br />

some packages redefine \roman:<br />

8 \gdef\thm@romannum#1{\expandafter\thm@roman@num\csname c@#1\endcsname}%<br />

9 \gdef\thm@roman@num#1{\romannumeral #1}%<br />

Inthefollowing, allrelevant environmentsarechangedforhandlingpotential<br />

end mark positions:<br />

Changes to List Environment<br />

Original: ltlists.dtx<br />

\endtrivlist Replaces L ATEX’s \endtrivlist. An augmented functionality of L ATEX’s<br />

\endtrivlist is contained in \@endtrivlist.<br />

10 \gdef\endtrivlist{%<br />

11 \@endtrivlist{\PotEndMark{\unskip\nobreak\hfill\nobreak}}}<br />

At an \endtrivlist (which is called at the end of \list environments and<br />

several other environments), \@endtrivlist is called to end the \trivlist<br />

and set a potential position for an endmark at the end of the line if TEX is<br />

in a text line.<br />

\@endtrivlist A new command] which augments L ATEX’s functionality of \endtrivlist<br />

by checking if an end mark has to be set:<br />

12 \gdef\@endtrivlist#1{% % from \endtrivlist<br />

13 \if@inlabel \indent\fi<br />

14 \if@newlist \@noitemerr\fi<br />

15 \ifhmode<br />

16 \ifdim\lastskip >\z@ #1\unskip \par %

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!