Skip to content

go.mod: bump go-tex/math to v0.22.0 (\genfrac, triangle binary operators) - #164

Merged
tannevaled merged 1 commit into
mainfrom
bump-math-v0.22.0
Aug 31, 2026
Merged

go.mod: bump go-tex/math to v0.22.0 (\genfrac, triangle binary operators)#164
tannevaled merged 1 commit into
mainfrom
bump-math-v0.22.0

Conversation

@tannevaled

Copy link
Copy Markdown
Contributor

go-tex/math v0.22.0 (go-tex/math#7) adds \genfrac and the two \mathbin triangles — both read from their sources first: unicode-math-table.tex:694/704 and fontmath.ltx:264-265 for the triangles, amsmath.sty:245-250 for \genfrac's six arguments.

The engine's own corpus is what asked for them: \triangleright 98 dropped formulas, \genfrac 88.

Measured — 200 arXiv papers, 200 beamer talks

3 documents change for +666 glyphs, 2 repaginate (one closer to tectonic, one further), the page error against the 157 tectonic renders is unchanged at 669, and beamer does not move by one glyph.

On the two papers that use \genfrac the drop tally goes 24 → none and 20 → none:

avant   27  \leftindex   24  \genfrac    5  \hexagon
après   27  \leftindex    5  \hexagon    3  \longleftrightarrow

What is left on the other paper is a different fault in the same formulas (12 $math$ and 12 \qbinom, the document's own macro), not this one.

…ors)

go-tex/math v0.22.0 adds \genfrac and the two \mathbin triangles, which the corpus
reported as dropped formulas: \triangleright 98 and \genfrac 88.

Measured over 200 arXiv papers and 200 beamer talks: 3 documents change for +666
glyphs, 2 repaginate (one closer to tectonic, one further), the page error against
the 157 tectonic renders is unchanged at 669, and beamer does not move. On the two
papers that use \genfrac the tally goes 24 drops → none and 20 → none; what is left
on the first is a different fault in the same formulas.
@tannevaled
tannevaled merged commit d7c5ab9 into main Aug 31, 2026
18 checks passed
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

Successfully merging this pull request may close these issues.

1 participant