LoveIt
LoveIt copied to clipboard
Ketax公式渲染出错的问题
问题
当我使用
\min _{G} \max _{D} V(D, G)=\mathbb{E}_{x \sim p(x)}[\log D(x)]+\mathbb{E}_{x \sim p_{z}}[\log (1-D(G(z)))]
撰写公式时,网页渲染出了这样的结果:
而我期望得到的是如下的渲染结果:
我发现通过在 \mathbb{E}_{x \sim p(x)}
的下标前面增加空格 \mathbb{E}_{x \sim p(x)}
可以解决这个问题;
其他的位置也是类似 p_{z}
变为 p _{z}
当你的公式渲染出现问题的时候,不妨这样尝试一下,虽然不一定起作用,因为我也不清楚是什么原因导致的~
Expected behavior 期待的行为
A clear and concise description of what you expected to happen. 一段简短的对于你期待的行为的描述.
Screenshots 屏幕截图
If applicable, add screenshots to help explain your problem. 如果可以的话, 提供屏幕截图对解决问题很有帮助.
Build Environment 构建环境
- OS: [e.g. Windows 10, macOS, Ubuntu]
- Theme version/commit [e.g. 0.2.0, 2ccba79]
- Hugo version [e.g. 0.69.0]
Please try to use Hugo extended version before opening the issue. 请在创建 issue 之前尝试使用 Hugo extended 版本.
Preview Environment 预览环境
- OS: [e.g. Windows 10, macOS, Ubuntu, iOS, Android]
- Browser [e.g. Chrome, Safari, Firefox]
Additional Information 补充信息
Configuration files or front matter code... 配置文件或者前置参数的代码...
请问下这个问题解决了吗,我也碰到类似的问题
Hi, try switch web latex render library to mathjax if applicable, the themes uses katex for fast equation rendering which means less latex support in katex in compare to mathjax.
Refer to this blog post for detailed instructions see if you can achieve it by yourself.