You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am developing a class to automate the colouring of LaTeX elements based on their type (numbers, Greek letters, operators, etc).
Currently I can identify named functions as the atoms inside a TypedAtom container, which works fine. The problem is that if the named functions are the basis of a BigOperatorAtom (subscripts, superscripts), the TypedAtom container is not generated.
For example, in the LaTeX code "\sin(x)" , the CharAtoms s, i, n are contained in a TypedAtom, but in the code "\sin^2(x)" the CharAtoms s,i,n are not.
Thanks,
David
The text was updated successfully, but these errors were encountered:
I am developing a class to automate the colouring of LaTeX elements based on their type (numbers, Greek letters, operators, etc).
Currently I can identify named functions as the atoms inside a TypedAtom container, which works fine. The problem is that if the named functions are the basis of a BigOperatorAtom (subscripts, superscripts), the TypedAtom container is not generated.
For example, in the LaTeX code "\sin(x)" , the CharAtoms s, i, n are contained in a TypedAtom, but in the code "\sin^2(x)" the CharAtoms s,i,n are not.
Thanks,
David
The text was updated successfully, but these errors were encountered: