# Difference between revisions of "Math with newmat"

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 permeance \\ \\
\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.)