Math with newmat

From Wiki
Revision as of 11:28, 28 June 2005 by Hraban (talk | contribs) (typos)
Jump to navigation Jump to search

< Math | MathML | Math with amsl | Math with nath >

Here a short example how to use math with the newmat module (you can use inline math with $ some math $ ):

\usemodule[newmat]

\startformula
q = \delta \frac{{\partial p}}{{\partial x}} = 
\delta (\phi )p_{vsat} (\theta )\frac{{\partial \phi }}{{\partial x}} = 
\left[ {\frac{{\delta _a }}{{\mu (\theta )}}p_{vsat} (\theta )} \right]\frac{{\partial \phi }}{{\partial x}} = 
k\frac{{\partial \phi }}{{\partial x}}
\stopformula

\startlegend
\leg k \\ water vapor permeability \\ \\
\leg K \\ water vapor permance \\ \\
\leg S \\ surface \\ \\
\leg L \\ length \\ \\
\stoplegend

Aligning is also possible:

\startformula\eqalign{
t_{L,early} & = t_{L,late} = t_{L,ray} \cr
& = 6\ \mu m \cr
}\stopformula

looks like:

(The sample was sent to the mailing list on 2005-06-28 by Wolfgang Zillig.)