Skip to content

Incorrect Spacing Between \textcolor inside \texttt #3353

Open
@RarityBrown

Description

@RarityBrown

Steps to Reproduce:

Code:

\texttt{R~B}
\texttt{R ~ B}
\texttt{R~~~B}
\texttt{R   B}
\texttt{\textcolor{red}{R}~\textcolor{blue}{B}}
\texttt{\textcolor{red}{R} ~ \textcolor{blue}{B}}
\texttt{\textcolor{red}{R}~~~\textcolor{blue}{B}}
\texttt{\textcolor{red}{R}   \textcolor{blue}{B}}

Github:

$$ \texttt{RB} \texttt{R ~ B} \texttt{R~~~B} \texttt{R B} \texttt{\textcolor{red}{R}\textcolor{blue}{B}} \texttt{\textcolor{red}{R} ~ \textcolor{blue}{B}} \texttt{\textcolor{red}{R}~~~\textcolor{blue}{B}} \texttt{\textcolor{red}{R} \textcolor{blue}{B}} $$

Standard Mathjax:

Image

XeLaTeX:

This may be related to #1953?

Technical details:

  • MathJax Version: 3.2.2
  • Client OS: Windows 11
  • Browser: Chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    AcceptedIssue has been reproduced by MathJax teamCode ExampleContains an illustrative code example, solution, or work-aroundMergedMerged into develop branchv3v4

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions