Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypedAtom not generated when named function is inside a BigOperatorAtom #102

Open
davidgutierrezrubio opened this issue Apr 20, 2024 · 0 comments

Comments

@davidgutierrezrubio
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant