Multiple underbrace text not on the same height resp. horizontally aligned
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 56.1k
- Forks
- 1.7k
- Avg merge
- 3d 10h
- Merged PRs (30d)
- 22
Description
Description
I think it would be nicer if the text of the underbraces would be on the same height. Notice that the word "distributional" is slightly higher than "aleatoric" and "epistemic"
This is from Typst:
using:
$ p(y^*|x^*, cal(D)) = integral_theta integral_mu underbrace(p(y^*|mu), "aleatoric") thick underbrace(p(mu|x^*, theta), "distributional") thick underbrace(p(theta|cal(D)), "epistemic") thick d mu thin d theta $
This is from Latex:
Reproduction URL
No response
Operating system
Web app
Typst version
- I am using the latest version of Typst
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Typst math example from the issue in the web app and compare the underbrace labels with the LaTeX reference. Trace the math layout and underbrace rendering paths to determine how label baselines and horizontal alignment are computed. Done means multiple adjacent underbrace labels share the intended height and alignment without regressing other math layouts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100