title: Unwanted space added by Mathjax in doxygen
body: <p>When adding any latex equation into doxygen via mathjax right after ( there is an additional unwanted space added.</p>
  
  <p>For example <code>(\f$m\f$)</code> produces ( m) in the generated html code.</p>
  
  <p>Image of space appearing after '(' in doxygen generated html files</p>
  
  <p><a href="https://i.stack.imgur.com/FvZcM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FvZcM.png" alt="enter image description here"></a></p>
  
  <p>Does anyone know of a way to fix it besides having mathjax generate the ()? </p>
  
  <p>Code:</p>
  
  <pre><code>/**   @brief Calculates Earth Similarity Index (\f$ESI\f$) of a planet.
  *
  *   The earth similarity index is a number that denotes how similar a planet is to that of earth. 1 is being exactly earth like.
  *
  *   @param  planetMeanRadius \f$r\f$(\f$m\f$) is the mean radius of a planet.
  *   @param  planetBulkDensity \f$\rho\f$(\f$\frac{kg}{m^3}\f$) is the bulk density of the planet.
  *   @param  planetEscapeVelocity \f$v_e\f$(\f$\frac{m}{s}\f$) is the escape velocity. The velocity needed to escape the planet's gravitational pull.
  *   @param  planetSurfaceTemperature \f$T\f$(\f$K\f$) is the average surface temperature of the planet.
  *   @return \f$ESI\f$(dimensionless) Earth Similarity Index for a planet.
  *   @see PlanetSimilarityIndex() for \f$ESI\f$ equation using any planet as reference.
  *   @see EarthSimilarityIndexInterior() for \f$ESI_I\f$ equation.
  *   @see EarthSimilarityIndexSurface() for \f$ESI_S\f$ equation.
  */ 
  template&lt;typename T&gt;
  T EarthSimilarityIndex( const T&amp; planetMeanRadius, const T&amp; planetBulkDensity, const T&amp; planetEscapeVelocity, const T&amp; planetSurfaceTemperature );
  </code></pre>
  
  <p>Ran on Doxygen 1.8.13</p>