2

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.

Andrew Redd
  • 4,632
  • 8
  • 40
  • 64

1 Answers1

4

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

albert
  • 8,285
  • 3
  • 19
  • 32
Charles Stewart
  • 11,661
  • 4
  • 46
  • 85
  • Actually that does work. My apologies I thought it wasn't working because there was another unclosed \f$ later in the file. – Andrew Redd Jun 18 '10 at 19:59