diff options
author | 2017-05-18 11:09:08 -0400 | |
---|---|---|
committer | 2017-05-18 11:09:08 -0400 | |
commit | fee6de844f9d4c3aad87733734d35df50117b6b0 (patch) | |
tree | 3f42567107ac4a10795c8e80c42b479c4502cbda /vnfs/VES5.0/doxygen-1.8.12/html/formulas.html | |
parent | f3fe765461685a753c0f5b061c5c47383c75829f (diff) |
Change location of VES5.0 code
Change-Id: If8a1173813eb4d5c14c04b132269696a748505e7
Signed-off-by: Marco Platania <platania@research.att.com>
Diffstat (limited to 'vnfs/VES5.0/doxygen-1.8.12/html/formulas.html')
-rw-r--r-- | vnfs/VES5.0/doxygen-1.8.12/html/formulas.html | 118 |
1 files changed, 118 insertions, 0 deletions
diff --git a/vnfs/VES5.0/doxygen-1.8.12/html/formulas.html b/vnfs/VES5.0/doxygen-1.8.12/html/formulas.html new file mode 100644 index 00000000..447970ed --- /dev/null +++ b/vnfs/VES5.0/doxygen-1.8.12/html/formulas.html @@ -0,0 +1,118 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> +<meta http-equiv="X-UA-Compatible" content="IE=9"/> +<meta name="generator" content="Doxygen 1.8.12"/> +<meta name="viewport" content="width=device-width, initial-scale=1"/> +<title>Doxygen: Including formulas</title> +<link href="tabs.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="jquery.js"></script> +<script type="text/javascript" src="dynsections.js"></script> +<link href="navtree.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="resize.js"></script> +<script type="text/javascript" src="navtreedata.js"></script> +<script type="text/javascript" src="navtree.js"></script> +<script type="text/javascript"> + $(document).ready(initResizable); +</script> +<link href="doxygen_manual.css" rel="stylesheet" type="text/css" /> +</head> +<body> +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> +<div id="titlearea"> +<table cellspacing="0" cellpadding="0"> + <tbody> + <tr style="height: 56px;"> + <td id="projectalign" style="padding-left: 0.5em;"> + <div id="projectname">Doxygen + </div> + </td> + </tr> + </tbody> +</table> +</div> +<!-- end header part --> +<!-- Generated by Doxygen 1.8.12 --> +</div><!-- top --> +<div id="side-nav" class="ui-resizable side-nav-resizable"> + <div id="nav-tree"> + <div id="nav-tree-contents"> + <div id="nav-sync" class="sync"></div> + </div> + </div> + <div id="splitbar" style="-moz-user-select:none;" + class="ui-resizable-handle"> + </div> +</div> +<script type="text/javascript"> +$(document).ready(function(){initNavTree('formulas.html','');}); +</script> +<div id="doc-content"> +<div class="header"> + <div class="headertitle"> +<div class="title">Including formulas </div> </div> +</div><!--header--> +<div class="contents"> +<div class="textblock"><p>Doxygen allows you to put <img class="formulaInl" alt="$\mbox{\LaTeX}$" src="form_0.png"/> formulas in the output (this works only for the HTML and <img class="formulaInl" alt="$\mbox{\LaTeX}$" src="form_0.png"/> output, not for the RTF nor for the man page output). To be able to include formulas (as images) in the HTML documentation, you will also need to have the following tools installed </p><ul> +<li> +<code>latex:</code> the <img class="formulaInl" alt="$\mbox{\LaTeX}$" src="form_0.png"/> compiler, needed to parse the formulas. To test I have used the teTeX 1.0 distribution. </li> +<li> +<code>dvips:</code> a tool to convert DVI files to PostScript files I have used version 5.92b from Radical Eye software for testing. </li> +<li> +<code>gs:</code> the GhostScript interpreter for converting PostScript files to bitmaps. I have used Aladdin GhostScript 8.0 for testing. </li> +</ul> +<p>For the HTML output there is also an alternative solution using <a href="http://www.mathjax.org">MathJax</a> which does not require the above tools. If you enable <a class="el" href="config.html#cfg_use_mathjax">USE_MATHJAX</a> in the config then the latex formulas will be copied to the HTML "as is" and a client side javascript will parse them and turn them into (interactive) images.</p> +<p>There are three ways to include formulas in the documentation. </p><ol> +<li> +<p class="startli">Using in-text formulas that appear in the running text. These formulas should be put between a pair of \f$ commands, so </p><pre class="fragment"> The distance between \f$(x_1,y_1)\f$ and \f$(x_2,y_2)\f$ is + \f$\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}\f$. +</pre><p> results in:</p> +<p class="endli">The distance between <img class="formulaInl" alt="$(x_1,y_1)$" src="form_1.png"/> and <img class="formulaInl" alt="$(x_2,y_2)$" src="form_2.png"/> is <img class="formulaInl" alt="$\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}$" src="form_3.png"/>. <br /> + </p> +</li> +<li> +Unnumbered displayed formulas that are centered on a separate line. These formulas should be put between \f[ and \f] commands. An example: <pre class="fragment"> \f[ + |I_2|=\left| \int_{0}^T \psi(t) + \left\{ + u(a,t)- + \int_{\gamma(t)}^a + \frac{d\theta}{k(\theta,t)} + \int_{a}^\theta c(\xi)u_t(\xi,t)\,d\xi + \right\} dt + \right| + \f] +</pre> results in: <p class="formulaDsp"> +<img class="formulaDsp" alt="\[ |I_2|=\left| \int_{0}^T \psi(t) \left\{ u(a,t)- \int_{\gamma(t)}^a \frac{d\theta}{k(\theta,t)} \int_{a}^\theta c(\xi)u_t(\xi,t)\,d\xi \right\} dt \right| \]" src="form_4.png"/> +</p> + </li> +<li> +Formulas or other latex elements that are not in a math environment can be specified using \f{environment}, where <code>environment</code> is the name of the <img class="formulaInl" alt="$\mbox{\LaTeX}$" src="form_0.png"/> environment, the corresponding end command is \f}. Here is an example for an equation array <pre class="fragment"> \f{eqnarray*}{ + g &=& \frac{Gm_2}{r^2} \\ + &=& \frac{(6.673 \times 10^{-11}\,\mbox{m}^3\,\mbox{kg}^{-1}\, + \mbox{s}^{-2})(5.9736 \times 10^{24}\,\mbox{kg})}{(6371.01\,\mbox{km})^2} \\ + &=& 9.82066032\,\mbox{m/s}^2 + \f} +</pre> which results in: <p class="formulaDsp"> +<img class="formulaDsp" alt="\begin{eqnarray*} g &=& \frac{Gm_2}{r^2} \\ &=& \frac{(6.673 \times 10^{-11}\,\mbox{m}^3\,\mbox{kg}^{-1}\, \mbox{s}^{-2})(5.9736 \times 10^{24}\,\mbox{kg})}{(6371.01\,\mbox{km})^2} \\ &=& 9.82066032\,\mbox{m/s}^2 \end{eqnarray*}" src="form_5.png"/> +</p> + </li> +</ol> +<p>For the first two commands one should make sure formulas contain valid commands in <img class="formulaInl" alt="$\mbox{\LaTeX}$" src="form_0.png"/>'s math-mode. For the third command the section should contain valid command for the specific environment.</p> +<dl class="section warning"><dt>Warning</dt><dd>Currently, doxygen is not very fault tolerant in recovering from typos in formulas. It may be necessary to remove the file <code>formula.repository</code> that is written to the html directory to get rid of an incorrect formula.</dd></dl> +<p> +Go to the <a href="tables.html">next</a> section or return to the + <a href="index.html">index</a>. + </p> +</div></div><!-- contents --> +</div><!-- doc-content --> +<!-- start footer part --> +<div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> + <ul> + <li class="footer">Generated by + <a href="http://www.doxygen.org/index.html"> + <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.12 </li> + </ul> +</div> +</body> +</html> |