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

Non-stretching math accents #186

Open
davidmjones opened this issue Jan 29, 2021 · 3 comments
Open

Non-stretching math accents #186

davidmjones opened this issue Jan 29, 2021 · 3 comments
Assignees
Labels
MATH table Problems with the OpenType MATH table
Milestone

Comments

@davidmjones
Copy link
Contributor

[This will be considered for v2.20 if there is time.]

There are a handful of accents that unicode-math expects to be stretchy that either don't stretch at all, or have limited stretchability.

Code LaTeX Name Unicode name
U+0302 widehat COMBINING CIRCUMFLEX ACCENT
U+0303 widetilde COMBINING TILDE
U+0306 widebreve COMBINING BREVE
U+030C widecheck COMBINING CARON
U+0330 wideutilde COMBINING TILDE BELOW
U+034D underleftarrow COMBINING LEFT RIGHT ARROW BELOW
U+20D0 overleftharpoon COMBINING LEFT HARPOON ABOVE
U+20D1 overrightharpoon COMBINING RIGHT HARPOON ABOVE
U+20EC underrightharpoondown COMBINING RIGHTWARDS HARPOON WITH BARB DOWNWARDS
U+20ED underleftharpoondown COMBINING LEFTWARDS HARPOON WITH BARB DOWNWARDS

Of course, in some cases the shape of the accent might make it difficult to extend it indefinitely.

Attached are examples generated using XeTeX. The results are the same in luaTeX.
accents-stix2math.pdf

@davidmjones davidmjones added the MATH table Problems with the OpenType MATH table label Jan 29, 2021
@tiroj tiroj added this to the v2.20 TENTATIVE milestone Mar 22, 2021
@tiroj
Copy link
Contributor

tiroj commented Jul 12, 2021

The circumflex, tilde and caron combining marks all max-out at s5 variants. We could add additional width variants, but I am unsure how wide is really necessary in practice.

The linear marks like the arrows, etc. should all be using assemblies for arbitrary widths, so there is some MATH table work to be done to make this work for some of the marks as already working for the arrow marks.

@tiroj tiroj modified the milestones: v2.20 TENTATIVE, v2.20 Jul 12, 2021
@tiroj
Copy link
Contributor

tiroj commented Oct 8, 2021

Added horizontal assemblies for

U+034D | underleftarrow | COMBINING LEFT RIGHT ARROW BELOW
U+20D0 | overleftharpoon | COMBINING LEFT HARPOON ABOVE
U+20D1 | overrightharpoon | COMBINING RIGHT HARPOON ABOVE
U+20EC | underrightharpoondown | COMBINING RIGHTWARDS HARPOON WITH BARB DOWNWARDS
U+20ED | underleftharpoondown | COMBINING LEFTWARDS HARPOON WITH BARB DOWNWARDS

in MATH table dev for 2.20

@tiroj tiroj closed this as completed Oct 8, 2021
@tiroj
Copy link
Contributor

tiroj commented Aug 16, 2022

Updated sources and fonts delivered to STI Pub for testing. Issue reopened pending public release.

@tiroj tiroj reopened this Aug 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MATH table Problems with the OpenType MATH table
Projects
None yet
Development

No branches or pull requests

2 participants