您的位置:首页 > 编程语言 > PHP开发

DoxyGen文档之八

2003-12-29 17:26 537 查看

第五章:添加公式<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Doxygen allows you to put <?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" />

formulas in the output (this works only for the HTML and

output, not for the RTF nor for the man page output). To be able to include formulas (as images) in the HTML documentation, you will also need to have the following tools installed

·
latex
: the

compiler, needed to parse the formulas. To test I have used the teTeX 0.9 distribution.

·
dvips
: a tool to convert DVI files to PostScript files I have used version 5.86 from Radical Eye software for testing.

·
gs
: the GhostScript interpreter for converting PostScript files to bitmaps. I have used Aladdin GhostScript 5.10 for testing.

有两种方式在文档中添加公式

1. Using in-text formulas that appear in the running text. These formulas should be put between a pair of /f$ commands, so

 
 

生成:

The distance between

and

is

.

4. Unnumbered displayed formulas that are centered on a separate line. These formulas should be put between /f[ and /f] commands. An example:

 
                                                                                                                                                

生成:



公式应该在

的“math-mode数学模式” 中是有效的

警告:

Currently, doxygen is not very fault tolerant in recovering from typos in formulas. It may have to be necessary to remove the file formula.repository that is written in the html directory to a rid of an incorrect formula
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息