ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Richard Rascher-Friesenhausen <richard@mevis.de>
Subject: Enhanced Enumeration?
Date: Thu, 15 Jul 2004 09:53:04 +0200	[thread overview]
Message-ID: <200407150953.04442.richard@mevis.de> (raw)

Hello,

i'm currently writing a script on biosignal analysis. And therefore i need 
such things as definitions, lemmas, theorems, remarks and so on. One can 
easily define numbered versions of these using \defineenumeration. But i need 
two extra fetures:

first: Some theorems have names, some not. Is it possible to introduce a new 
optional argument to the enumeration (a 'named enumeration')? Something like

  \startTheorem[Shannon Sampling Theorem]
    You have to select $f_s\ge2 f_h$.
  \stopTheorem

to get

  Theorem 1.1: (Shannon Sampling Theorem)
     You have top select fs\ge fh.

Nevertheless it should be possible to label the theorem:

  \startTheorem[thm:shannon][Shannon Sampling Theorem]
    You have to select $f_s\ge2 f_h$.
  \stopTheorem

  \in{Theorem}[thm:shannon] we have seen....


Second: Is it possible to generate a content list of all named theorems?

Thanks a lot in advance
    richard rascher-friesenhausen
-- 

==============================================================================
Dr. Richard Rascher-Friesenhausen                
MeVis -- Centrum fuer Medizinische Diagnosesysteme und Visualisierung GmbH
Universitaetsallee 29
D-28359 Bremen

email: richard@mevis.de
==============================================================================

                 reply	other threads:[~2004-07-15  7:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200407150953.04442.richard@mevis.de \
    --to=richard@mevis.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).