From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/2509 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Placing tables Date: Mon, 21 Aug 2000 10:28:38 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.20000821102838.009aceb0@pop.wxs.nl> References: <3.0.5.32.20000819205936.00992500@mail.northcoast.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035393298 9435 80.91.224.250 (23 Oct 2002 17:14:58 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:14:58 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: David Arnold In-Reply-To: <3.0.5.32.20000819205936.00992500@mail.northcoast.com> Xref: main.gmane.org gmane.comp.tex.context:2509 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:2509 At 08:59 PM 8/19/00 -0700, David Arnold wrote: >All, > >This works: > >\setupTABLE[y][odd][background=color,backgroundcolor=gray,frame=on] >\bTABLE >\bTR \bTD $p(x)=x^{3}-x^{2}-1$ \eTD \bTD \type{p=[1 -1 0 -1]} \eTD \eTR >\bTR \bTD $q(x)=x^{4}-x^{2}-x$ \eTD \bTD \type{q=[1 0 -1 -1 0]} \eTD \eTR >\bTR \bTD $r(x)=x^{4}-2x^{2}$ \eTD \bTD \type{r=[1 0 -2 0 0]} \eTD \eTR >\eTABLE > >But this doesn't: > >\placetable >[here][tbl:matlabpolys] >{Matlab represents polynomials with vectors.} >\setupTABLE[y][odd][background=color,backgroundcolor=gray,frame=on] >\bTABLE >\bTR \bTD $p(x)=x^{3}-x^{2}-1$ \eTD \bTD \type{p=[1 -1 0 -1]} \eTD \eTR >\bTR \bTD $q(x)=x^{4}-x^{2}-x$ \eTD \bTD \type{q=[1 0 -1 -1 0]} \eTD \eTR >\bTR \bTD $r(x)=x^{4}-2x^{2}$ \eTD \bTD \type{r=[1 0 -2 0 0]} \eTD \eTR >\eTABLE > >How come? And how can I "place" a table with this new technique for setting >tables? I want it centered, referenced, and captioned. It's \placetable [here][tbl:...] {caption} {table definition} So, the last one should be grouped (actually a box). So, you should add {} suggestion: \startbuffer table def \stopbuffer \placetable[...][...]{...}{\getbuffer} this is more readable. Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com -------------------------------------------------------------------------