Skip to main content

LaTex not displaying correctly

LLM tries to write Latex expressions

They do not display, shows plain text formatted expressions instead:

Status: Closed3 comments

Log in to comment and vote

Comments3

  • Mark Florkowski

    Team

    Single dollar math is not supported, the model is given this information in it’s system prompt, unfortunately Gemini decides not to listen sometimes.

    Inline math uses parenthesis, display math uses double dollar signs $$ … $$

    • Copper Pickle

      Yeah I added an extra instruction to my customization for the proper inline format and it seemed to work. Thanks.

      • Mark Florkowski

        Team

        Not sure why that instruction in particular seems to randomly get ignored by some models, glad a custom instruction seems to help!