Repository navigation
LaTeX reader: limits of \mathop{x} and both scripts of \overbrace/\underbrace - #9
Merged
Merged
Conversation
… \underbrace
\mathop of one symbol is a group, to which \limits attaches its scripts
(munderover(x, 0, 1)); \overbrace and \underbrace with both scripts are, as
for TeX, operators with limits: \underset{x}{\overset{a}{\overbrace{3}}}.
The latex2mathml cases issue-125-4-limits, overbrace-c and underbrace-c pass.
[no-new-version]
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
simonebortolin
changed the base branch from
claude/latex-corpus-tests
to
main
November 8, 2026 14:21
…acdf3 # Conflicts: # tests/SharpEquations.Tests/LaTeX/Latex2MathMLCorpusTests.cs
…s out of NotInWordLaTeX [no-new-version] Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #4.
\mathop{x}of a single symbol (not a name) becomes the group{x}, so\mathop{x}\limits_0^1givesmunderover(x, 0, 1)instead of the limits on nothing after an operator name.\overbraceand\underbracefollowed by both scripts are read, as TeX reads them, as operators with limits:\overbrace3^a_x→\underset{x}{\overset{a}{\overbrace{3}}}, i.e.munderover(mover(3,⏞), x, a)(unbraced arguments too). With one script nothing changes.issue-125-4-limits,overbrace-c,underbrace-cremoved fromNotReadYet; regression cases inLaTeXReaderTests(each with its written LaTeX read back, which is stable).No snapshot was corrected. Full suite passes (net10.0 and net481, 5342 tests).
🤖 Generated with Claude Code