On Tue, 3 May 2011, Paul Menzel wrote:
Dear ConTeXt folks,is there a module or a package people have created for common things used in mathematics. `\set{ a, b, c }` for a set. `\EV{X}` for the expected value. `\P{ X = ½ }` for the probability. … If not, maybe a module could be created and maintained together to not reinvent the wheel.
See the mathsets module[1]. The current module does not work with MkIV (I need to debug that; most likely due to catcode changes for _ and ^. I am planning to reimplement the module using lpeg but that is on a low priority.
Aditya [1]: http://modules.contextgarden.net/mathsets
___________________________________________________________________________________ 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 ___________________________________________________________________________________