Skip to content

Fix TUI math rendering for zero and big wedge expressions - #48551

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/89f596ea5f38070274505cfa7ea757595d7ae137
Sep 26, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/89f596ea5f38070274505cfa7ea757595d7ae137

Conversation

@copyberry

@copyberry copyberry Bot commented Sep 26, 2026 •

Copy link
Copy Markdown

Fix TUI math rendering for zero and big wedge expressions

Why

Inline $0$ was left unrendered, and expressions containing \bigwedge, \bigl, or \bigr fell back to raw LaTeX.

What changed

  • Allow $0$ through the inline math detection heuristic.
  • Render \bigwedge as ⋀, with limits stacked above and below in display math.
  • Handle \bigl and \bigr like \left and \right.

Testing

Add a regression snapshot covering inline zero, inline big wedge, and a multiline display expression with stacked limits and delimiters.

## Why

Inline `$0$` was left unrendered, and expressions containing `\bigwedge`, `\bigl`, or `\bigr` fell back to raw LaTeX.

## What changed

- Allow `$0$` through the inline math detection heuristic.
- Render `\bigwedge` as `⋀`, with limits stacked above and below in display math.
- Handle `\bigl` and `\bigr` like `\left` and `\right`.

## Testing

Add a regression snapshot covering inline zero, inline big wedge, and a multiline display expression with stacked limits and delimiters.

GitOrigin-RevId: 89f596ea5f38070274505cfa7ea757595d7ae137
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/89f596ea5f38070274505cfa7ea757595d7ae137 branch from 04b005c to 7b7d934 Compare September 26, 2026 22:05
@copyberry
copyberry Bot merged commit 7b7d934 into main Sep 26, 2026
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/89f596ea5f38070274505cfa7ea757595d7ae137 branch September 26, 2026 22:05
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 26, 2026
@Viessley
Viessley deployed to issue-triage September 26, 2026 22:19 — with GitHub Actions Active
@Viessley
Viessley deployed to issue-triage September 26, 2026 22:19 — with GitHub Actions Active
@Viessley
Viessley deployed to issue-triage September 26, 2026 22:19 — with GitHub Actions Active
@pvlgrpkn
pvlgrpkn deployed to issue-triage September 26, 2026 22:26 — with GitHub Actions Active
@pvlgrpkn
pvlgrpkn deployed to issue-triage September 26, 2026 22:26 — with GitHub Actions Active
@pvlgrpkn
pvlgrpkn deployed to issue-triage September 26, 2026 22:26 — with GitHub Actions Active
@calrizien
calrizien deployed to issue-triage September 26, 2026 22:34 — with GitHub Actions Active
@calrizien
calrizien deployed to issue-triage September 26, 2026 22:34 — with GitHub Actions Active
@calrizien
calrizien deployed to issue-triage September 26, 2026 22:34 — with GitHub Actions Active
@calrizien
calrizien deployed to issue-triage September 26, 2026 22:35 — with GitHub Actions Active

This branch was successfully deployed

1 active deployment
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants