Skip to main content

Log in to comment and vote

Comments10

  • Indigo Straw

    •

    Feb 5, 2025

    Thank you for the helpful shared conversations. This has been fixed. Please open a new issue if you see any new concerns here!

    • Aquamarine Oak

      •

      Feb 5, 2025

      Additionally, I think it would be much preferable to use CommonHTML output instead of SVG, so that the displayed notation can be copied and pasted. Or, specify an option to output aria-label.

      https://docs.mathjax.org/en/latest/output/html.html

  • Chocolate Antelope

    •

    Jan 30, 2025

    Can the community share examples of prompts that generate latex that is not correctly formatting?

  • Turquoise Tide

    •

    Jan 30, 2025

    example: formula for the limit in point

  • Aquamarine Oak

    •

    Feb 3, 2025

    https://github.com/mathjax/MathJax-src

    MathJax is pretty popular for rendering LaTeX in the browser. Pay particular attention, in the prompt examples provided, that math is generally being output within square brackets or parentheses, which are the block and inline math delimiters for LaTeX in text.

    When the model outputs math, it’s probably outputting \[ \], and \( \), which is being de-escaped down to the bare characters. This should mean that MathJax can be applied directly to the model outputs and it will “just work”.

  • An Anonymous User

    •

    Dec 10, 2025

    •

    Merged request

    •

    3 votes

    Render LaTeX for mathematics

    • Jack

      Team•

      Aug 19, 2025

      We do support Latex formatting. Can you explain your issue in more detail? What model are you using?