如何修复Google AI Studio的LaTeX公式显示问题

Post created: Mon, 27 Jan 2025 17:20:00 +0800

更新说明

截至2025年4月11日,Google AI Studio的模型已经可以自动输出格式正确的LaTeX公式,无需额外添加特定提示词。因此,本篇文章目前仅作历史参考。

快捷解决方案

在你的系统提示(system prompt)或者用户提示(user prompt)后加入以下这句话即可:

Enclose LaTeX in $ and don't use double/triple ticks.

信息来源

https://www.reddit.com/r/Bard/comments/1h2ndnu/comment/m1q5gea/

English