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

review overbracket, underbracket (and maybe others) #24

Open
pkra opened this issue Dec 21, 2022 · 2 comments
Open

review overbracket, underbracket (and maybe others) #24

pkra opened this issue Dec 21, 2022 · 2 comments
Labels
question Further information is requested

Comments

@pkra
Copy link
Member

pkra commented Dec 21, 2022

Much like #23, our definition isn't quite right (lacking the "stack" boolean for mathjax's UnderOver method).

However, it turns out mathjax now has a core macro providing these - from the mathtools extension. In addition, mathtool's definition is quite a bit more involved:

https://github.com/mathjax/MathJax-src/blob/f939f2ff2c4678785e9bf3d3b17e8c6151f0ce9c/ts/input/tex/mathtools/MathtoolsMethods.ts#L289-L312

We could consider if and how to revise it here.

@pkra
Copy link
Member Author

pkra commented Dec 21, 2022

(lacking the "stack" boolean for mathjax's UnderOver method).

To clarify, I wrote this because IIUC

https://github.com/mathjax/MathJax-src/blob/f939f2ff2c4678785e9bf3d3b17e8c6151f0ce9c/ts/input/tex/mathtools/MathtoolsMethods.ts#L310

does what "1"

https://github.com/mathjax/MathJax-src/blob/8565f9da973238e4c9571a86a4bcb281b1d98d9b/ts/input/tex/base/BaseMappings.ts#L514

Then again, I'm not sure if unicode-math has these working this way cc @davidmjones

@pkra pkra added the question Further information is requested label Dec 21, 2022
@pkra
Copy link
Member Author

pkra commented Dec 21, 2022

Oh, and certainly the constructions here don't work well with the default mathjax v3 fonts. Not sure about v4.

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

No branches or pull requests

1 participant