-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Fixes the nthRoots latexFunctions template string. #3427
base: develop
Are you sure you want to change the base?
Conversation
The $ was misplaced from the brace it was intended to be associated with.
Future: could add more functions, but kept it narrow for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing this issue and adding a test for it!
I made one inline comment, can you have a look at that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the updates!
I see the linter complains:
|
I think it is good to go? |
The $ was misplaced from the brace it was intended to be associated with.
When this template was selected, and attempted to be rendered in KaTeX, the following error was occurring:
katex.mjs:147 Uncaught (in promise) ParseError: KaTeX parse error: Can't use function '$' in math mode<…>
For my own understanding, where do these template strings come from? Are they standard representations within the math community? Or are some of them more LaTeX centric? I'd be curious to know if there is a good resource for these conventions (like the y in nthRoots).
Thanks!