开发者

How to get Doxygen to recognize custom latex command

Is there a way to use extra latex packages and/or extra latex commands with Doxygen code documentation system. For example I define the shortcut in a custom sty file.

\newcommand{\tf}{\Theta_f}

Then I use it about 300 time in the code, which is across about a dozen files.

/*! Stochastic approximation of the latent response*/
void dual_bc_genw(
//...
double const * const psi,     ///< \f$ \psi = B\tf \f$
    //...
){/* lots of brilliant code */}

But how do I get开发者_StackOverflow the system to recognize the extra package.


Name your style file in the EXTRA_PACKAGES tag in your configuration file.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜