From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/6782 Path: main.gmane.org!not-for-mail From: Tobias Burnus Newsgroups: gmane.comp.tex.context Subject: Re: Math help needed Date: Sun, 3 Feb 2002 13:56:26 +0100 (CET) Sender: owner-ntg-context@let.uu.nl Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1035397292 13713 80.91.224.250 (23 Oct 2002 18:21:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:21:32 +0000 (UTC) Cc: Original-To: Bruce Horrocks <01.0032@granby.demon.co.uk> In-Reply-To: Xref: main.gmane.org gmane.comp.tex.context:6782 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:6782 Hi Bruce, On Sun, 3 Feb 2002, Bruce Horrocks wrote: > Is there a math manual available? (I couldn't find one) Unfortunally no good math manual exists for ConTeXt, but one can use (nearly) all plain TeX commands. > For example, how can I do the following plain TeX in ConTeX: > $$\eqalignno{\sin(x)^2 &= 1-\cos(x)^2 &(1) \cr > \noalign{\hbox{and also}} > \cos(x)^2 &= 1-\sin(x)^2 &(2) \cr}$$ Your plain TeX version works, but how about this: (ConTeXt used to count, noalign doesn't need a(n extra) \hbox{}) \placeformula \startformula \eqalignno{ \sin^2 x &= 1-\cos^2 x & \formulanumber[sin]\cr \noalign{and also} \cos^2 x &= 1-\sin^2 x & \formulanumber[cos]\cr }\stopformula or alternative: \placeformula[cos-sin] \startformula \eqalignno{ \sin^2 x &= 1-\cos^2 x & \formulanumber[sin2]{a}\cr \noalign{and also} \cos^2 x &= 1-\sin^2 x & \subformulanumber[cos2]{b}\cr }\stopformula Then you can refer to these equation by using: \in[sin] produces 1 \in[cos] produces 2 \in[cos-sin] produces 3 \in[sin2] produces 3a \in[cos2] produces 3b Tobias