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:
Sets the tilde symbol to belong to the list of LaTeX commands (rather than character commands) so that Mathquill properly transforms the externally set tilde symbol either into a standard tilde (which appears as a nonbreaking space) or, if the "interpretTildeAsSim" option is set, a \sim operator.
Note: tilde characters input directly from the keyboard will continue to be transformed into \sim operators as we have always done.
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