Re: [NTG-context] Is there a mathematica typesetting manual for ConTeXt ?

Adam Lindsay atl at comp.lancs.ac.uk
Sat May 14 09:46:01 CEST 2005


Tobias Burnus said this at Sat, 14 May 2005 07:05:44 +0200:

>(I have to admit, I cannot find m-math.tex/t-math.tex anywhere.)

I "assumed" Hans meant MathML. :)
\usemodule[mathml]


The basic math capabilities within ConTeXt do seem poorly documented,
mostly because they point to different sources, often in books. However,
ConTeXt does use  Plain TeX as its model for mathematics. 

The basics in ConTeXt are roughly equivalent to those described in:
<http://meta.wikimedia.org/wiki/Help:Formula>
   (I don't know if it will specifically help you, but I note there's a
zh version of that page)


...but it takes some practice to spot the things that don't work directly
in ConTeXt. Some differences are unimplemented features, some are
differing conventions, some are because LaTeX thought they would be
useful, and ConTeXt hasn't (yet).

Some differences from the examples on that page that I notice immediately:

Math is best delimited inline with \formula{ ... }, not $ ... $
Display math is best delimited with \startformula ... \stopformula , not
$$ ... $$

\operatorname  =>  \mfunction

The double-, triple-, and quadruple-integrals (\iiiint) are undefined in
basic ConTeXt's math.

The \begin{case} environment needs to be simplified into the Plain
\cases{} command.

The AMSmath/LaTeX-like:

$$ \begin{bmatrix} p & q \\
                   r & s   \end{bmatrix} $$

   ...can be interpreted as...

\startformula
\left[ \matrix{ p & q \cr
                r & s     } \right]
\stopformula


This might not be the best answer to the original poster, but I do hope
it provides a bit of a guide to the general ConTeXt newcomer.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept.     atl at comp.lancs.ac.uk
 Lancaster University, InfoLab21        +44(0)1524/510.514
 Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-




More information about the ntg-context mailing list