Open janmatla opened 1 year ago
When editing a formula, replacing the characters are done by editHandler and handleLatexInput in formula-field.component.ts.
Values used for replacing are defined by type-, write- and editReplace in formula-types.ts.
In editHandler, typeReplace first replaces characters inside visual field and then writeReplace replaces characters before string is sent to LaTeX field.
\& character can't be written in align type formulas. It is replaced by align symbol &.