# [dev-context] Structure syntax for enumerations

Thu Jun 2 05:37:01 CEST 2011

Am 02.06.2011 um 01:06 schrieb Aditya Mahajan:

> Hi,
>
> I will like to propose a new command, \definestructureenumeration, which is similar to \defineenumeration, but follows the conventions of \definestructuresection, that is, allows one to write
>
> \definestructureenumeration[theorem]
>
> \starttheorem[title={An important theorem}, list={Not so important}]
>  ...
> \stoptheorem
>
> The \start<enumeration> command takes the same arguments as \startsection.
>
> What do you think?

Good idea but two commands aren’t a good idea, the best is to rewrite
the enumeration system with a key-val-system and keep the optional
argument for backward compatibility (see the annotation module).

Wolfgang