BILLET Olivier wrote: >By the way, does this include the possibility to treat the character in >different ways depending on the current mode (math/text)? >Because, in the current setting, if you request for 3cm before `:' and >then define a mathematical function $f : R \to Z$ you'll end up with a >huuuge space between f and : which you certainly isn't what you want. > > see attached file; taco may know other tricks (i remember that there is some mechanism in tex for active char treatment in math mode) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------