Skip to main content
added 92 characters in body
Source Link
rm -rf
  • 89.3k
  • 21
  • 297
  • 479

I want to set up a part of my Mathematica package so that typing <-[space]<-Space is replaced with the left arrow character ( or \[LeftArrow]) just like it does with ->[space]->Space. Does anyone know how to do this? I looked briefly at event handling but didn't see anything immediately useful. I already know, of course, that [ESC]<-[ESC]Esc<-Esc will insert \[LeftArrow], and that doing so is not that much additional effort, but I'm more interested in the concept involved here. Any ideas?

I want to set up a part of my Mathematica package so that typing <-[space] is replaced with the left arrow character (\[LeftArrow]) just like it does with ->[space]. Does anyone know how to do this? I looked briefly at event handling but didn't see anything immediately useful. I already know, of course, that [ESC]<-[ESC] will insert \[LeftArrow], and that doing so is not that much additional effort, but I'm more interested in the concept involved here. Any ideas?

I want to set up a part of my Mathematica package so that typing <-Space is replaced with the left arrow character ( or \[LeftArrow]) just like it does with ->Space. Does anyone know how to do this? I looked briefly at event handling but didn't see anything immediately useful. I already know, of course, that Esc<-Esc will insert , and that doing so is not that much additional effort, but I'm more interested in the concept involved here. Any ideas?

Tweeted twitter.com/#!/StackMma/status/198460836103192576
Source Link

Text replacement rules in $FrontEnd?

I want to set up a part of my Mathematica package so that typing <-[space] is replaced with the left arrow character (\[LeftArrow]) just like it does with ->[space]. Does anyone know how to do this? I looked briefly at event handling but didn't see anything immediately useful. I already know, of course, that [ESC]<-[ESC] will insert \[LeftArrow], and that doing so is not that much additional effort, but I'm more interested in the concept involved here. Any ideas?