Bug - output from Claude and Gemini doesn't render LaTeX properly when using \( \) and \[ \] delimiters
For whatever reason, when asking Claude to write LaTeX, the UI doesn't render it right away. See the first picture for what it looks like. To get it to render, click the "Edit" button for Claude's response, then click the "Update" button (see second picture) without actually changing anything, and then LaTeX renders correctly (see third picture). This only happens with Claude and not any other models I've tried.
EDIT: this is now broken, so LaTeX using this format doesn't work at all with these models. Only $$ seems to work.



Log in to comment and vote
Comments3
Salmon Yogurt
Jun 12, 2025
This is still happening - it works with o3 but not o3-pro.
Salmon Yogurt
Apr 8, 2025
Tony Dinh is there some way to get [ ] ( ) to work properly with Claude and Gemini?
Salmon Yogurt
Apr 8, 2025
This bug is still active and also happens with Gemini. Also, the workaround above is now ruined, so LaTeX doesn't render properly using ( and ) and [ ] with either even if "update" is clicked. I am really not sure why it works with GPT still.