Skip to content

\text with $ inside inline math renders incorrectly

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Here's another mean example I've tested for my survey. This bug is only present in the $-syntax.

MWE:

$\text{$b$}$

Output:


\text{b}


Screenshot (Nov 2023): screenshot_2023-11-16-182758

Backticked syntax for comparison:

\text{$b$}

Edited by 🤖 GitLab Bot 🤖