On Sun, 1 Nov 2009, Vyatcheslav Yatskovsky wrote:
Hello,
I need to define a Exercise command that will enumerate exercises and provide
captions.
For example,
\exercise{Conversion from hex to dec}
should produce
Exercise 1.1. Conversion from hex to dec.
What is the best way to achieve that? Use \definehead or another command?
\defineenumeration[exercise][title=yes,way=bysection]
Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________