Equations
Equations
![]()
Library
Modelica/UsersGuide/Conventions/Documentation/Format
Description
In the context of HTML documentationequations should have a graphical representation in PNG format. For that purpose toolspecific math typing capabilities can be used. Alternatively the LaTeX to HTML translatorLaTeX2HTML, or theOnline Equation Editoror codecogs can be used.
A typical equation, e.g., of a Fourier synthesis, could look like
or
In an alt tag the original equation should be stored, e.g.,
<img src="http://www.w3.org/TR/html4/sgml/entities.html">Greek lettersshould be used. Full word variables and full word indices should be spelled within<code>and</code>.Vector and array indices should be typeset as subscripts using the<sub>and</sub>tags.Examples for such variables and parameters are:φ, φref, v2,
useDamperCage.Numbered equations
For numbering equations a one row table with two columns should be used. The equation number should be placed in the right column:
<table border="0" cellspacing="10" cellpadding="2"> <tr> <td><img src="../../../../../../_mo/_mla/Modelica4.0.0/HTML/UsersGuide/Conventions/Documentation/Format/0" cellspacing="10" cellpadding="2">(1) See Also