Am 29.01.2012 um 19:38 schrieb Aditya Mahajan:
On Sun, 29 Jan 2012, Wolfgang Schuster wrote:
You can use a two step mechanism where the commands you use in the document pass the content to a internal description environment.
\usemodule[annotation]
\definedescription[abcdescription]
\defineannotation[abc][alternative=command,command=\AbcCommand]
If you are using the annotation module, why use descriptions at all? Is there some feature that is offered by descriptions that is not possible using annotation module (it has been some time since I looked into the annotation module).
The annotation module doesn’t provide as many options to place the title as the description environment and there is also no option for a closing symbol. What the module can do use to store the content of the environment and pass it either to one of the predefined layouts or you create your own layout and pass the content and title to it. Wolfgang