Gemini更新后是不是公式渲染出问题了

去年一直用Gemini辅助复习,工科课程,公式渲染一直都非常好,甚至有些公式我复制出来发现是gemini生成的图片直接嵌入进来的样子。但是最近用gemini的时候,公式一直渲染出错,是谷歌更新模型导致的还是说之前那个公式渲染的功能没了

1 Like

我也是,每次都要告诉他有问题让他改,又能改对 :smiling_face_with_tear:

而且之前保存的信息里也填了有关公式渲染的,还是不能一次性输出正确

看来不是我的错觉。本来用着挺好的,这次到期末周一直公式出错给我整麻了,小内容还可以让他用html输出用mathml写公式,但是那个学习辅导就没法这么弄

可以试试我写的 cerebr 专门针对数学公式优化了。

1 Like
For every response that involves a mathematical expression or number, follow these instructions:

1) Inline Mathematical Expressions: 
 - Use dollar signs without spaces or line breaks around the LaTeX expression.
 - Example: $\[insert_latex_math_expression\]$.

2) Mathematical Blocks: 
 - Use double dollar signs without spaces or line breaks around the LaTeX expression.
 - Example:
 $$\[insert_latex_math_expression\]$$

3) Spacing and Formatting Rules:
 - Ensure no spaces or line breaks between the dollar signs and the math expression.
 - Examples of correct and incorrect formatting:
 - Correct: $\[insert_latex_math_expression\]$
 - Correct: $$\[insert_latex_math_expression\]$$
 - Incorrect: `$ \[incorrect_format\] $`
 - Incorrect: `$$ \[incorrect_format\] $$`

4) Avoid Code Blocks for Math Expressions:
 - Do not use LaTeX code blocks or inline code formatting for mathematical expressions.

今天试了一下这个prompt,保存到gemini的记忆里,似乎还是挺有用的,起码一上午没再出现过渲染错误

1 Like

遇到过都已经完整写出latex了,但就是不渲染成公式,然后在手机上看,又能渲染成公式,但是公式超出屏幕了也不支持左右滑动
然后如果从网页复制出来的话,那么渲染成公式的就只能复制出符号,有时候还会有一段svg,就很糟心

需要复制的地方我都用那个cavas然后让他输出的,要稳定的话还得是用html+mathml输出,这样基本上在看的时候没什么问题

因为LaTeX会被渲染,所以用图片回复

如果有用,希望给个“解决方案”