Re: Re: [NTG-context] Is there a mathematica typesetting manual for ConTeXt ?
Hi,Adam Lindsay, ======= 2005-05-14 08:46:00 You wrote:=======
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. I must say thank you very very much!
In fact I've been looking for \iint in ConTeXt in the last two days -_- so i'll try to use \int\!\!\!\int instead of looking for a ConTeXt implementation :) I met another problem today. Since there are not as many arrows in ConTeXt as there in AMS-LaTeX,I don't konw how to type the formula in the attached picture which will be referred in my presentation next Monday.
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@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
= = = = = = = = = = = = = = = = = = = = xiaojf jfxiao@sibs.ac.cn 2005-05-14
xiaojf said this at Sat, 14 May 2005 19:49:02 +0800:
The double-, triple-, and quadruple-integrals (\iiiint) are undefined in basic ConTeXt's math. I must say thank you very very much!
In fact I've been looking for \iint in ConTeXt in the last two days -_- so i'll try to use \int\!\!\!\int instead of looking for a ConTeXt implementation :)
I met another problem today. Since there are not as many arrows in ConTeXt as there in AMS-LaTeX,I don't konw how to type the formula in the attached picture which will be referred in my presentation next Monday.
Hello, Xiao. I'm glad I could help: I'm learning these advanced requirements as I go along. My personal mathematics needs are much more modest. I wouldn't give up on ConTeXt just yet. Try: \loadmapfile[original-ams-base] \starttext \showmathcharacters Note the \formula{\rightleftharpoons} and \formula{\upharpoonleft\!\downharpoonright}. \stoptext Do you know how you would code that cycle in (AMS)LaTeX? -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
participants (2)
-
Adam Lindsay
-
xiaojf