Aditya Mahajan wrote:
Microsoft implmented something like this in newer versions of Word. See the developer's blog for more detials. http://blogs.msdn.com/murrays/archive/2009/05/07/entering-math-via-the-linea...
Well, we can consider supporting linear math .. \unexpanded\def\startmathzone {\ifvmode \Ustartdisplaymath \let\stopmathzone\Ustopdisplaymath \else \Ustartmath \let\stopmathzone\Ustopmath \fi} \defineactivecharacter "23A8 \startmathzone \defineactivecharacter "23AC \stopmathzone \catcode"3016=\begingroupcatcode \catcode"3017=\endgroupcatcode \utfchar{"23A8}x^\utfchar{"3016}1+2\utfchar{"3017}\utfchar{"23AC} The question is if we do it this way using a special math catcode regime, but that does not work when we pass it as argument unless we mess around with some math codes - like prime does) or use a parser (which is not that hard to do and is needed for things like sin/cos anyway) i'll have a look at it (given that it's a frozen 'standard') 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 -----------------------------------------------------------------