From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68387 Path: news.gmane.org!not-for-mail From: Alasdair McAndrew Newsgroups: gmane.comp.tex.context Subject: mathalignment within a table - help needed! Date: Sat, 14 May 2011 11:17:15 +1000 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0965095502==" X-Trace: dough.gmane.org 1305335853 6239 80.91.229.12 (14 May 2011 01:17:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 14 May 2011 01:17:33 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat May 14 03:17:26 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QL3Ty-0004fg-9R for gctc-ntg-context-518@m.gmane.org; Sat, 14 May 2011 03:17:26 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6C82FCACEB; Sat, 14 May 2011 03:17:25 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id L4+DT2yEukxr; Sat, 14 May 2011 03:17:22 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 21225CACE5; Sat, 14 May 2011 03:17:22 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3B43FCACE5 for ; Sat, 14 May 2011 03:17:21 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id WIHhoZ7h2tbO for ; Sat, 14 May 2011 03:17:18 +0200 (CEST) Original-Received: from filter3-nij.mf.surf.net (filter3-nij.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id 2EB76CAC2D for ; Sat, 14 May 2011 03:17:18 +0200 (CEST) Original-Received: from mail-gy0-f169.google.com (mail-gy0-f169.google.com [209.85.160.169]) by filter3-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p4E1HG4V010929 for ; Sat, 14 May 2011 03:17:17 +0200 Original-Received: by gyd8 with SMTP id 8so1468586gyd.14 for ; Fri, 13 May 2011 18:17:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=MJptLCL+huEoO8HYepvCkQl77et57DlTby9GxPiWPes=; b=ZyYqkBmSl4FhejqM4SHZBDdjirkBxKOvN4CMoM8pTBDYAKGXf0NMysvuKD9uWBLIas YnrQT9B4GANJLSbPvDVvEU2ix3B+W9NF+WG6aH25E9sylxth6stm34RNKrazSY6DfnD9 AASsmf5wyjMOt4P/Oey2YdQEHclFRJHhJ++eo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ME3iAm1oHF9h0a8pR6o1BciTy8ayLMPGzGL4ALvOcbJUj9qs4MU74g002qxgSMYQP1 oNIigEo++tvf7dHGPKYr794MSrae969stBq7p0ku6gpgmtyYBCBSt/eQsRJ61qsVeVjr UrV4XVGeqUrUMmcpng+bWFxOpfV1h5zWToYEA= Original-Received: by 10.91.208.30 with SMTP id k30mr1824724agq.190.1305335835462; Fri, 13 May 2011 18:17:15 -0700 (PDT) Original-Received: by 10.90.119.1 with HTTP; Fri, 13 May 2011 18:17:15 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.160.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0dEHdhgjR - 70f45799a74b - 20110514 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:68387 Archived-At: --===============0965095502== Content-Type: multipart/alternative; boundary=0016369fa168c90b7504a3322e43 --0016369fa168c90b7504a3322e43 Content-Type: text/plain; charset=ISO-8859-1 Hello, I'm trying to typeset some linear algebra exercises for my students; the exercises will be within a table, and each second element will be a system of linear equations. This sort of thing: \starttable[|l|M|l|M|] \NC (a) \NC % \startmathalignment[n=7,align={right,middle,right,middle,right,middle,right}] \NC 3x\NC +\NC 6y\NC -\NC 2z\NC =\NC -13\NR \NC -6x\NC -\NC 9y\NC +\NC 5z\NC =\NC 22\NR \NC 3x\NC +\NC 3y\NC -\NC 5z\NC =\NC -13\NR \stopmathalignment \NC (b) \NC % \startmathalignment[n=7,align={right,middle,right,middle,right,middle,right}] \NC x\NC +\NC 3y\NC +\NC 3z\NC =\NC -4\NR \NC x\NC +\NC 4y\NC +\NC 5z\NC =\NC -5\NR \NC 2x\NC +\NC 4y\NC +\NC 3z\NC =\NC -5\NR \stopmathalignment \NC\AR \stoptable But this doesn't work. There seems to be a problem with the mathalignment environment within the table. What do I need enclose these in so that they will be treated as displayed equations within the table environment? I'm using MkII. Thanks, Alasdair -- Blog: http://amca01.wordpress.com Web: http://bit.ly/Alasdair Facebook: http://www.facebook.com/alasdair.mcandrew --0016369fa168c90b7504a3322e43 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello,

I'm trying to typeset some linear algebra exercises for m= y students; the exercises will be within a table, and each second element w= ill be a system of linear equations.=A0 This sort of thing:

\starttable[|l|M|l|M|] \NC (a) \NC %
=A0=A0=A0 \startmathalignment[n=3D7,align=3D{right,middle,right,mid= dle,right,middle,right}]
=A0=A0=A0=A0=A0 \NC 3x\= NC +\NC 6y\NC -\NC 2z\NC =3D\NC -13\NR
=A0= =A0=A0=A0=A0 \NC -6x\NC -\NC 9y\NC +\NC 5z\NC =3D\NC 22\NR
=A0=A0=A0=A0=A0 \NC 3x\= NC +\NC 3y\NC -\NC 5z\NC =3D\NC -13\NR
=A0= =A0=A0 \stopmathalignment
\NC (b) \NC %
=A0=A0=A0 \startmathalignment[n=3D7,align=3D{right,middle,right,mid= dle,right,middle,right}]
\NC x\NC +\NC 3y\NC +\N= C 3z\NC =3D\NC -4\NR
\NC x\NC +\NC 4y\NC += \NC 5z\NC =3D\NC -5\NR
\NC 2x\NC +\NC 4y\NC +\= NC 3z\NC =3D\NC -5\NR
\stopmathalignment
\NC\AR
\stoptable

But this doesn't work.=A0 There seems to be a problem with the math= alignment environment within the table.=A0 What do I need enclose these in = so that they will be treated as displayed equations within the table enviro= nment?=A0 I'm using MkII.

Thanks,
Alasdair

--
Blog: http://amca01.wordpress.com
Web:=A0 http://bit.ly/Alasdair
Facebook: http://www.facebook.com/alas= dair.mcandrew
--0016369fa168c90b7504a3322e43-- --===============0965095502== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0965095502==--