Andrew Redd
Andrew Redd

Reputation: 4692

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 the system to recognize the extra package.

Upvotes: 2

Views: 3091

Answers (1)

Charles Stewart
Charles Stewart

Reputation: 11837

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

Upvotes: 4

Related Questions