Open main menu

Math with newmat

Revision as of 02:52, 4 July 2005 by Brooks (talk | contribs) (Removed extraneous brackets, cleaned spacing, corrected "permeance" misspelling.)

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