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? Aditya
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
On 2-6-2011 5:37, Wolfgang Schuster wrote:
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).
remind me in a few months ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Aditya Mahajan
-
Hans Hagen
-
Wolfgang Schuster