Hacker News new | ask | show | jobs
by ygra 4130 days ago
Dear people who write math: Don't write text as-is in math mode. Either use \mathrm/\mathit (for LaTeX) or "" (for Word) to prevent random text being interpreted (and typeset as) variables adjacent to each other. The spacing for $numberOfYellowPegs$ is particularly horrifying.
1 comments

> use \mathrm/\mathit (for LaTeX)

Even better, use `\text`, which re-sizes properly.