Blame testing/028_formula.c

Packit Service 50c9f2
// objective: test the \f$, \f[, \f], \f{, and \f} commands
Packit Service 50c9f2
// check: indexpage.xml
Packit Service 50c9f2
Packit Service 50c9f2
/** @mainpage
Packit Service 50c9f2
Here are some formulas:
Packit Service 50c9f2
-# The distance between \f$(x_1,y_1)\f$ and \f$(x_2,y_2)\f$ is 
Packit Service 50c9f2
  \f$\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}\f$.
Packit Service 50c9f2
-# Unnumbered formula:
Packit Service 50c9f2
   \f[ |I_2|=\left| \int_{0}^T \psi(t) \left\{ u(a,t)- \int_{\gamma(t)}^a 
Packit Service 50c9f2
       \frac{d\theta}{k(\theta,t)} \int_{a}^\theta c(\xi)u_t(\xi,t)\,d\xi \right\} dt \right| \f]
Packit Service 50c9f2
-# Formula in different environment
Packit Service 50c9f2
  \f{eqnarray*}{ g &=& \frac{Gm_2}{r^2} \\ 
Packit Service 50c9f2
                   &=& \frac{(6.673 \times 10^{-11}\,\mbox{m}^3\,\mbox{kg}^{-1}\,
Packit Service 50c9f2
                       \mbox{s}^{-2})(5.9736 \times 10^{24}\,\mbox{kg})}{(6371.01\,\mbox{km})^2} \\ 
Packit Service 50c9f2
                       &=& 9.82066032\,\mbox{m/s}^2
Packit Service 50c9f2
 \f}
Packit Service 50c9f2
*/