10

Credits to Electrical Engineering user @MarcusMüller who reported it here: Help page about embedding LaTeX is wrong, needs fixin', but it's an issue on more sites:

These sites, unlike other network sites which use MathJax (note that this list may not be completely accurate), use \$ to delimit MathJax blocks instead of $, but the Help Center says:

You can use single dollar signs to delimit inline equations

and

The equation $3x^2 + 5x +1 = 0$ has the solutions
6
  • 1
    Thanks for bringing this forward. – Marcus Müller May 30 '20 at 20:06
  • Yikes! Would it be better to fix those sites so that plain $ works? Do those sites use $$, or \$\$ (or some other combination) for non-inline MathJax? – PM 2Ring May 30 '20 at 20:37
  • 2
    @PM2Ring just $$ works. \$ is often chosen if MathJax is added late in the site lifecycle, and there are many posts which use $ for its original purpose (monetary amounts). – Glorfindel May 30 '20 at 20:51
  • 1
    Game Development also uses \$ delimiters, but due to a bug in the snippet that generates the list, it doesn't show it. (I've asked its author to update it.) – Sonic the Anonymous Hedgehog May 30 '20 at 20:51
  • I suppose that makes sense. It'd be painful to fix old posts with $ used for money. And painful to convert \$ to $. OTOH, we did have the massive conversion across the network of http to https... – PM 2Ring May 30 '20 at 20:58
  • 3
    This bit me in electronics.stackexchange.com/questions/50277 - I actually assumed it was $ at first, and when it didn't seem to work checked the formatting help. Since it also said $, I supposed maybe it was wonky just for me, or at the moment. Because of my initial assumption, I'm +1 on the better fix being to make it so that the help page is correct, and matched $ do mean inline latex; escape them if you want monies - as Marcus said in the EE Meta post, 'we're dealing with far more math than finances' – OJFord May 30 '20 at 21:09
2

That's my bad. I overlooked the custom delimiter handling when updating the example formula on that page.

The fix is in the queue and will be deployed shortly. Thanks for the report!

2
  • Are there any sites other than the four listed in the question which use \$ delimiters for MathJax? – Sonic the Anonymous Hedgehog Jun 2 '20 at 0:19
  • @SonictheStay-HomeHedgehog Code Golf. – Adam Lear Jun 2 '20 at 15:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .