# Confusing formatting of inline multiline TeX

This answer contains the following code:

$\mathsf{REG} = \mathsf{DSPACE}(1) = \mathsf{NSPACE}(1) = \mathsf{DSPACE}(o(\log\log n)) = \mathsf{NSPACE}(o(\log\log n))$, where $\mathsf{REG}$ is the set of regular languages.


Image:

Because of the way this is rendered, it appears as if part of the text that's after the formula (where $\mathsf{REG}$ is the) was in the middle of the formula.

I'm using FF 43 on Windows 10.

• Huh, weird. It isn't browser-specific, I see the same thing in Chrome on Linux. Feb 6 '16 at 17:00
• Confirm for FF 44 on Ubuntu.
– Raphael Mod
Feb 6 '16 at 17:08
• Nota bene: long formulae are bound to make problems. This is a particular sad instance since LaTeX is utterly unnecessary here. "REG = DSPACE(1) = ..." is just as readable.
– Raphael Mod
Feb 6 '16 at 17:09