-
Notifications
You must be signed in to change notification settings - Fork 78
Support \mathrel and \joinrel for composite relations #310
Copy link
Copy link
Open
Labels
Area/ParsingLaTeX tokenization, parsing, commands, and serialization.LaTeX tokenization, parsing, commands, and serialization.Area/RenderingTypesetting, measurement, fonts, text layout, and drawing.Typesetting, measurement, fonts, text layout, and drawing.Type/EnhancementA concrete change to CSharpMath behavior or capability.A concrete change to CSharpMath behavior or capability.
Description
Activity
Metadata
Metadata
Assignees
Labels
Area/ParsingLaTeX tokenization, parsing, commands, and serialization.LaTeX tokenization, parsing, commands, and serialization.Area/RenderingTypesetting, measurement, fonts, text layout, and drawing.Typesetting, measurement, fonts, text layout, and drawing.Type/EnhancementA concrete change to CSharpMath behavior or capability.A concrete change to CSharpMath behavior or capability.
Implement TeX's
\mathrel{content}atom-class wrapper and the plain-TeX\joinrelspacing primitive so compound relation symbols can be expressed semantically.Required semantics:
\mathrel{...}makes the complete enclosed subformula a relation for inter-atom spacing while preserving its internal layout.\joinrelcontributes the plain-TeX relation join of negative 3mu; it must scale in math units with the active math style.Acceptance criteria:
\mathrelmatches built-in relation atoms in display, text, script, and scriptscript styles.\joinreljoins representative composite constructions such as\mathrel{|}\joinrel=without disturbing adjacent outer relation spacing.The Comprehensive LaTeX Symbol List documents
\mathreland\joinrelas the spacing controls used to assemble composite relation symbols: https://tug.ctan.org/info/symbols/comprehensive/symbols-a4.pdfParent backlog: #81. This was identified from the WpfMath parity tracker #145.