From: Hans Hagen <pragma@wxs.nl>
Cc: ntg-context@ntg.nl
Subject: Re: Placing tables
Date: Mon, 21 Aug 2000 10:28:38 +0200 [thread overview]
Message-ID: <3.0.6.32.20000821102838.009aceb0@pop.wxs.nl> (raw)
In-Reply-To: <3.0.5.32.20000819205936.00992500@mail.northcoast.com>
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
-------------------------------------------------------------------------
next prev parent reply other threads:[~2000-08-21 8:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-08-20 3:59 David Arnold
2000-08-21 8:28 ` Hans Hagen [this message]
2000-08-22 7:32 ` Michal Kvasnicka
2000-08-22 9:41 ` Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3.0.6.32.20000821102838.009aceb0@pop.wxs.nl \
--to=pragma@wxs.nl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).