Doxygen allows you to put 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 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.
There are three ways to include formulas in the documentation.
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 \f$(x_1,y_1)\f$ and \f$(x_2,y_2)\f$ is
\f$\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}\f$.
results in:
The distance between and is .
Unnumbered displayed formulas that are centered on a separate line. These formulas should be put between \f[ and \f] commands. An example:
Formulas or other latex elements that are not in a math environment can be specified using \f{environment}, where environment is the name of the environment, the corresponding end command is \f}. Here is an example for an equation array
For the first two commands one should make sure formulas contain valid commands in 's math-mode. For the third command the section should contain valid command for the specific environment.
Warning:
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 to the html directory to a rid of an incorrect formula
Go to the next section or return to the
index.
Generated on Mon Aug 15 08:38:57 2005 for Doxygen manual by
1.4.4