tags:

views:

31

answers:

1

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.

+1  A: 

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

Charles Stewart
Actually that does work. My apologies I thought it wasn't working because there was another unclosed \f$ later in the file.
Andrew Redd