本文主要是介绍doxygen 1.11.0 使用详解(九)——包含公式,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
目录
Doxygen allows you to put LATEX formulas in the output (this works only for the HTML, LATEX and RTF output. To be able to include formulas (as images) in the HTML and RTF documentation, you will also need to have the following tools installed
- latex: the LATEX compiler, needed to parse the formulas. To test I have used the teTeX 1.0 distribution.
- dvips: a tool to convert DVI files to PostScript files I have used version 5.92b from Radical Eye software for testing.
- gs: the GhostScript interpreter for converting PostScript files to bitmaps. I have used Aladdin GhostScript 8.0 for testing.
For the HTML output there is also an alternative solution using MathJax which does not require the above tools. If you enable USE_MATHJAX in the configuration then the latex formulas will be copied to the HTML “as is” and a client side javascript will parse them and turn them into (interactive) images.
There are four ways to include formulas in the documentation.
这篇关于doxygen 1.11.0 使用详解(九)——包含公式的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!