Support the \\not relation command - #280
Merged
Merged
Conversation
FoggyFinder
approved these changes
Aug 30, 2026
Collaborator
Author
|
Resolved in LaTeX itself declares CSharpMath intentionally keeps its one-
The committed PNG baselines exercise all three rendering paths:
Validation passes 1,583/1,583 Core tests and 348/348 exact SkiaSharp golden comparisons; independent review found no issues. |
This was referenced Aug 30, 2026
Happypig375
force-pushed
the
feat/issue-233-not-command
branch
from
August 31, 2026 03:26
44d461a to
71129b7
Compare
Happypig375
force-pushed
the
feat/issue-233-not-command
branch
from
August 31, 2026 06:44
f6ac096 to
726320e
Compare
Happypig375
changed the base branch from
fix/issue-182-control-word-boundary
to
master
August 31, 2026 06:45
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.
Summary
\not\n...command namesSemantics and specifications
LaTeX itself does not parse
\notas a one-argument command: the kernel declares it as a\mathrelglyph, and defines\neqand\neas\not=. See the official LaTeX2e kernel definitions of\neqand\neand\notdeclaration. The LaTeX2e reference likewise describes\notas a long solidus that overstrikes the following relation.CSharpMath deliberately differs by consuming one
Relation. Within that parser model, rendering follows Unicode Technical Report #25: normalize to a precomposed negated operator whenever one exists, otherwise retain the base relation plus U+0338. Exact registered commands such as\neq,\nleqslant, and\nVdashremain canonical. Refinement relations such as\lneq,\lnapprox, and\subsetneqare not incorrectly inferred as simple negations.Rendering coverage
Three distinct paths have committed display and inline PNG baselines at
32359727:\not=→ U+2260: display, inline\not\approx→ U+2249: display, inline\not\propto→ U+221D plus U+0338: display, inlineTesting
git diff --checkpassedBuilds on merged #276
Fixes #233