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.
\theoremlisttype<br />
\addtheoremline<br />
The argument 〈list〉 is a comma-separated list of the theorem sets to be<br />
listed. For a theorem set 〈name〉, only the instances are listed which are<br />
instantiated by \begin{〈name〉}. Those instantiated by \begin{〈name〉*}<br />
are omitted (cf. \section and \section*).<br />
For example, \listtheorems{Corollary,Lemma} leads to a list of all instances<br />
of one of the theorem sets “Corollary” or “Lemma”. Note, that the<br />
set name given to the command is the first argument which is specified by<br />
\newtheoremwhichisalsotheonetobeusedin\begin{theorem} ... \end{theorem}.<br />
If \listtheorems is called for a set name which is not defined via<br />
\newtheorem, the user is infor<strong>med</strong> that a list is generated, but there will be<br />
no typeset output at all.<br />
Note that in contrast to similar L ATEX commands like \listoffigures etc.<br />
there is no automatically created heading. Users have to write it themselves<br />
– but are free to choose what they want to have.<br />
2.4.1 Defining the List Layout<br />
Theoremlists can be formatted in different ways. Analogous to theorem<br />
layout, there are several predefined types which can be selected by<br />
\theoremlisttype{〈type〉}<br />
The following four 〈type〉s are available (for examples, the user is referred<br />
to section 4).<br />
all List any theorem of the specified set by number, (optional) name<br />
and pagenumber. This one is also the default value.<br />
allname Like all, additionally with leading theoremname.<br />
opt Analogous to all, but only the theorems which have an optional<br />
name are listed.<br />
optname Like opt, with leading theoremname.<br />
2.4.2 Writing Extra Stuff to the Theorem File<br />
Similar to \addcontentsline and \addtocontents, additional entries<br />
to theoremlists are supported. Since entries to theoremlists are a bit<br />
more intricate than entries to the lists maintained by standard LATEX<br />
\addcontentsline and \addtocontents cannot be used in a straightforward<br />
way2 .<br />
Analogous to \addcontentsline, an extra entry for a theorem list can be<br />
made by<br />
2 for a theorem, its number has to be stored explicitly since different theorem sets can<br />
use the same counter. Also, it is optional to reset the counter for each section.<br />
11