Difference between revisions of "Math with newmat"

From Wiki
Jump to navigation Jump to search
 
m (typos)
Line 1: Line 1:
< [[Math]] | [[MathML]] | [[Math with amsl]] >
+
< [[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 $ ):
+
Here a short example how to use math with the '''newmat''' module (you can use inline math with $ some math $ ):
  
 
<texcode>
 
<texcode>
Line 7: Line 7:
  
 
\startformula
 
\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}}
+
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
 
\stopformula
  
Line 32: Line 35:
  
 
\startformula
 
\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}}
+
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
 
\stopformula
  

Revision as of 11:28, 28 June 2005

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