- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1.2k
Open
Labels
AcceptedIssue has been reproduced by MathJax teamIssue has been reproduced by MathJax teamCode ExampleContains an illustrative code example, solution, or work-aroundContains an illustrative code example, solution, or work-aroundMergedMerged into develop branchMerged into develop branchv4
Milestone
Description
Issue Summary
The spacing around the \perp symbol is incorrect in Mathjax v4 — it appears too tight compared to expected LaTeX behavior.
Steps to Reproduce
- 
Open the MathJax live demo. 
- 
Enter: $a \perp b$
- 
Observe the rendered output: 
 
Expected Behavior
In MathJax v3 (and in LaTeX), \perp is treated as a relation symbol (REL) (according to some unofficial TeX syntax notes), so extra spacing is inserted around it:
 
Possible Cause
In the HTML output, \perp is currently classified as ORD, resulting in missing relational spacing:
<mjx-texatom data-mjx-texclass="ORD" texclass="ORD">
  <mjx-mo data-latex="\perp" ... data-semantic-operator="infixop,⟂">⟂</mjx-mo>
</mjx-texatom>It looks like MathJax may be handling \perp the same way as \bot, classifying it as ORD instead of REL.
ZnPdCo
Metadata
Metadata
Assignees
Labels
AcceptedIssue has been reproduced by MathJax teamIssue has been reproduced by MathJax teamCode ExampleContains an illustrative code example, solution, or work-aroundContains an illustrative code example, solution, or work-aroundMergedMerged into develop branchMerged into develop branchv4