开发者

How to get Doxygen to recognize custom latex command

开发者 https://www.devze.com 2023-01-03 22:44 出处:网络
Is there a way to use extra latex packages and/or extra latex commands with Doxygen code documentation system. For exampleI define the shortcut in a custom sty file.

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

精彩评论

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