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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

for writing.<br />

1113 \def\thm@meaning#1->#2\relax{#2}% remove "macro: ->"<br />

1114 \long\def\thm@parseforwriting#1{%<br />

1115 \def\thm@tmp{#1}%<br />

1116 \edef\thm@tmp{\expandafter\thm@meaning\meaning\thm@tmp\relax}}<br />

In some countries it’s usual to number theorems with greek letters:<br />

\theorem@checkbold For correctness, we need to check if a bold font is active. This is done by<br />

the following macro:<br />

1117 \def\theorem@checkbold{\if b\expandafter\@car\f@series\@nil\boldmath\fi}<br />

\@greek Accoding to LATEX-base, this is the internal command for generating lowercase<br />

greek numberings.<br />

1118 \def\@greek#1{\theorem@checkbold%<br />

1119 \ifcase#1\or$\alpha$\or$\beta$\or$\gamma$\or$\delta$\or$\varepsilon$%<br />

1120 \or$\zeta$\or$\eta$\or$\vartheta$\or$\iota$\or$\kappa$\or$\lambda$\or$%<br />

1121 \mu$\or$\nu$\or$\xi$\or$ o$\or$\varpi$\or$\varrho$\or$\varsigma$\or$\tau$%<br />

1122 \or$\upsilon$\or$\varphi$\or$\chi$\or$\psi$\or$\omega$\else\@ctrerr\fi}<br />

\@Greek According to LATEX-base, this is the internal command for generating uppercase<br />

greek numberings.<br />

1123 \def\@Greek#1{\theorem@checkbold%<br />

1124 \ifcase#1\or A\or B\or$\Gamma$\or$\Delta$\or E%<br />

1125 \or Z\or H\or$\Theta$\or I\or K\or$\Lambda$\or M%<br />

1126 \or N\or$\Xi$\or O\or$\Pi$\or P\or$\Sigma$\or T%<br />

1127 \or$\Upsilon$\or$\Phi$\or X\or$\Psi$\or$\Omega$\else\@ctrerr\fi}<br />

\greek According to LATEX-base, this is the user interface for lowercase greek numberings.<br />

1128 \def\greek#1{\@greek{\csname c@#1\endcsname}}<br />

\Greek According to L ATEX-base, this is the user interface for uppercase greek numberings.<br />

1129 \def\Greek#1{\@Greek{\csname c@#1\endcsname}}<br />

7.1.11 Other Things<br />

After declaring several package-options, we need to process the specified<br />

ones. The additional \relax was mentioned by Rainer Schöpf at<br />

DANTE’97.<br />

1130 \ProcessOptions\relax<br />

Now we set up the default theorem listtype. Make sure this is called after<br />

processing the options. Otherwise, <strong>ntheorem</strong> will break with hyperref.<br />

1131 \theoremlistall<br />

78

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

Saved successfully!

Ooh no, something went wrong!