From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/77514 Path: news.gmane.org!not-for-mail From: dalyoung Newsgroups: gmane.comp.tex.context Subject: Re: about \startformula\startalign error Date: Mon, 23 Jul 2012 07:21:38 +0900 Message-ID: <8114F18A-AD46-42BF-AE96-5435E9957659@me.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1342995715 6746 80.91.229.3 (22 Jul 2012 22:21:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 22 Jul 2012 22:21:55 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Jul 23 00:21:55 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1St4XC-0002uj-0K for gctc-ntg-context-518@m.gmane.org; Mon, 23 Jul 2012 00:21:54 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2512710247; Mon, 23 Jul 2012 00:21:53 +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 1f6KSs20OmOz; Mon, 23 Jul 2012 00:21:47 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id D39C210204; Mon, 23 Jul 2012 00:21:47 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8BC5210204 for ; Mon, 23 Jul 2012 00:21:46 +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 ULfLaz1yEpOi for ; Mon, 23 Jul 2012 00:21:45 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id E8343101EE for ; Mon, 23 Jul 2012 00:21:44 +0200 (CEST) Original-Received: from nk11p00mm-asmtpout007.mac.com (nk11p00mm-asmtp007.mac.com [17.158.161.6]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q6MMLhkJ012236 for ; Mon, 23 Jul 2012 00:21:44 +0200 Original-Received: from [10.0.1.5] (unknown [1.235.87.66]) by nk11p00mm-asmtp007.mac.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPSA id <0M7L006U6242XO10@nk11p00mm-asmtp007.mac.com> for ntg-context@ntg.nl; Sun, 22 Jul 2012 22:21:42 +0000 (GMT) In-reply-to: X-Mailer: Apple Mail (2.1084) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=17.158.161.6; country=US; region=CA; city=Cupertino; postalcode=95014; latitude=37.3042; longitude=-122.0946; metrocode=807; areacode=408; http://maps.google.com/maps?q=37.3042,-122.0946&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0THBylH65 - e0ab2267d5fd - 20120723 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:77514 Archived-At: Dear Aditya, > \startformula must occur inside a vbox. So, use a matrix environment as you are doing, or wrap the formula inside a \framed[align=normal]. > Thank you for your solution. \framed[frame=off,align=normal]{\startformula\startalign ... \stopalign\stopformula} is working. I have two more questions. 1. In the output of the following code, 'x' in the first column is vertically centered, but matrix in the second column is not(located at top). What option can solve this? \starttable[|c|c|w4cm|w4cm|] \HL \NC A \VL B \VL C \VL D \NC\SR \HL \NC $x$ \VL \startmatrix \NC x' = \NC \NR \NC y' = \NC \NR \stopmatrix \VL \VL \NC\SR \HL \stoptable 2. In the output of the following code, the matrix in the second column is vertically centered, but 'x' in the first column is located at the bottom. \starttext \starttable[|c|c|w4cm|w4cm|] \HL \NC A \VL B \VL C \VL D \NC\SR \HL \NC $y$ \VL {\framed[frame=off, align=normal]{\startformula\startalign \NC x' = \NC \NR \NC y' = \NC \NR \stopalign\stopformula}} \VL \VL \NC\LR \HL \stoptable \stoptext Both of them are good for compiling, but need a slight touch. Would you please tell me how to set all columns vertical centered? Best regards, Dalyoung ___________________________________________________________________________________ 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 ___________________________________________________________________________________