* Re: Re: Is there a mathematica typesetting manual for ConTeXt ?
@ 2005-05-14 11:49 xiaojf
2005-05-14 12:31 ` Adam Lindsay
0 siblings, 1 reply; 3+ messages in thread
From: xiaojf @ 2005-05-14 11:49 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 2849 bytes --]
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
[-- Attachment #2: dG_cycle.GIF --]
[-- Type: image/gif, Size: 2992 bytes --]
[-- Attachment #3: Type: text/plain, Size: 139 bytes --]
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Is there a mathematica typesetting manual for ConTeXt ?
2005-05-14 11:49 Re: Is there a mathematica typesetting manual for ConTeXt ? xiaojf
@ 2005-05-14 12:31 ` Adam Lindsay
0 siblings, 0 replies; 3+ messages in thread
From: Adam Lindsay @ 2005-05-14 12:31 UTC (permalink / raw)
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
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Re: Is there a mathematica typesetting manual for ConTeXt ?
@ 2005-05-14 13:36 xiaojf
0 siblings, 0 replies; 3+ messages in thread
From: xiaojf @ 2005-05-14 13:36 UTC (permalink / raw)
======= 2005-05-14 13:31:00 You worte:=======
>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?
Hi,
I can code the cycle in ConTeXt,but it's too ugly and I will try to improve it.
here is my code:
\starttext
\placeformula
\startformula
\matrix{A+B&{\Delta G_1\atop\rightleftharpoons}&AB\cr
\Delta G_3\!\!\upharpoonleft\!\downharpoonright&&
\upharpoonleft\!\downharpoonright\!\!\Delta G_4\cr
A'+B&{\rightleftharpoons\atop\Delta G_2}&A'B\cr}
\stopformula
\stoptext
There is a similar example in "The TeXbook"(example 18.46).
You can try the follow code:
$$\def\normalbaselines{\baselineskip20pt
\lineskip3pt \lineskiplimit3pt }
\def\mapright#1{\smash{
\mathop{\longrightarrow}\limits^{#1}}}
\def\mapdown#1{\Big\downarrow
\rlap{$\vcenter{\hbox{$\scriptstyle#1$}}$}}
\matrix{&&&&&&0\cr
&&&&&&\mapdown{}\cr
0&\mapright{}&{\cal O}_C&\mapright\iota&
\cal E&\mapright\rho&\cal L&\mapright{}&0\cr
&&\Big\Vert&&\mapdown\phi&&\mapdown\psi\cr
0&\mapright{}&{\cal O}_C&\mapright{}&
\pi_*{\cal O}_D&\mapright\delta&
R^1f_*{\cal O}_V(-D)&\mapright{}&0\cr
&&&&&&\mapdown{\theta_i\otimes\gamma^{-1}}\cr
&&&&&&\hidewidth R^1f_*\bigl({\cal O}
_V(-iM)\bigr)\otimes\gamma^{-1}\hidewidth\cr
&&&&&&\mapdown{}\cr
&&&&&&0\cr}$$
Since i'm just a newbie of TeX, I don't really understand the first a few lines
of the solution. I still need some learning and practice :)
>--
>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-05-14 13:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-14 11:49 Re: Is there a mathematica typesetting manual for ConTeXt ? xiaojf
2005-05-14 12:31 ` Adam Lindsay
2005-05-14 13:36 xiaojf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).