title: Doxygen Latex Table
body: <p>I want to create a Latex table in my Doxygen documentation of Fortran code.
  I have used a tabular declaration for the Latex tabular command. </p>
  
  <p>The commands shown do not produce the required table, but just 
  get a text version of the Latex code. </p>
  
  <pre><code>!&gt; \f{tabular}{
  !&gt;   1 &amp; 2 &amp; 3 \\
  !&gt;   4 &amp; 5 &amp; 6 \\
  !&gt;   7 &amp; 8 &amp; 9 \\
  !&gt; \f}
  </code></pre>
  
  <p>I have tried the following code to see if things work as expected. As specified by 
  the Doxygen documentation formulas or other latex elements that are not in a math 
  environment can be specified using \f{environment}, where environment is the name 
  of the LaTeX environment, the corresponding end command is \f}. Here is an example 
  for an equation array </p>
  
  <pre><code>!&gt; \f{eqnarray*}{
  !&gt;    g &amp;=&amp; \frac{Gm_2}{r^2} \\ 
  !&gt;      &amp;=&amp; \frac{(6.673 \times 10^{-11}\,\mbox{m}^3\,\mbox{kg}^{-1}\,
  !&gt;          \mbox{s}^{-2})(5.9736 \times 10^{24}\,\mbox{kg})}{(6371.01\,\mbox{km})^2} \\ 
  !&gt;      &amp;=&amp; 9.82066032\,\mbox{m/s}^2
  !&gt;  \f}
  </code></pre>