desmosinc / mathquill

Magic textboxes where you can type math as easily as writing!
mathquill.com
137 stars 42 forks source link

Update tilde behavior #247

Closed sclower closed 2 years ago

sclower commented 2 years ago

There has long been a discrepancy in Mathquill for how a tilde is handled. When typing from the keyboard, we bound the key to write a \sim symbol, but let raw tilde characters through if Latex was externally set.

This PR:

Note: tilde characters input directly from the keyboard will continue to be transformed into \sim operators as we have always done.

Related Knox PR: https://github.com/desmosinc/knox/pull/12340