氧气中的方程 [英] Equations in doxygen

查看:100
本文介绍了氧气中的方程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的氧气中包含了迷路药,并写道:

I am including amsmath in my doxygen and I wrote:

\f{equation}{
  x=2 
\f}

但是氧气产生的结果是

\begin{equation} x=2 \end{equation}

而不是方程式

x=2

有人知道出了什么问题吗?

Does anyone know what going wrong?

推荐答案

您正确地做到了,我做到了,而且可以正常工作.该页面简要显示\begin{equation} x=2 \end{equation},然后显示正确的方程式.

You are doing it correctly, I do that and it works. The page briefly shows \begin{equation} x=2 \end{equation} and then the correct equation appears.

再次检查您的配置文件中是否包含USE_MATHJAX = YES.默认值为NO

Double check that you have USE_MATHJAX = YES in your config file. The default is NO

请参阅:Doxygen参考中的 USE_MATHJAX .

See: USE_MATHJAX in the Doxygen reference.

如果未设置为YES,则显示等式的页面可能不包含mathjax脚本(我尚未检查):

If not set to YES the page displaying the equation might not include the mathjax scripts (I haven't checked):

<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script><script src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>

这篇关于氧气中的方程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆