From: Hans Hagen <pragma@wxs.nl>
Subject: Re: TABLE in item
Date: Sat, 28 Oct 2006 13:04:44 +0200 [thread overview]
Message-ID: <4543394C.7080500@wxs.nl> (raw)
In-Reply-To: <4541D727.3010100@capdm.com>
Duncan Hothersall wrote:
> Very simple question which has suddenly stumped me:
>
> \starttext
> \startitemize[n,broad]
> \item Hello world!
> \bTABLE\bTR\bTD Little\eTD \bTD table\eTD\eTR\eTABLE
> First item continues.
> \item Second item.
> \stopitemize
> \stoptext
>
> How to get the TABLE inside the first item to align with the item
> content, rather than flush left?
>
> T
\starttext
\installframedlocator {table}
{}
{\hbox{\lower\dimexpr\dp\strutbox+.25ex+.4pt\relax\box\framebox}}
\defineframed
[inlinetable]
[location=table,
offset=overlay,
frame=off]
\startitemize[n,broad]
\item Hello world!
\inlinetable{\bTABLE\bTR\bTD \strut Little\eTD \bTD \strut table\eTD\eTR\eTABLE}
First item continues.
\item Second item.
\stopitemize
\stoptext
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
next prev parent reply other threads:[~2006-10-28 11:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-27 9:53 Duncan Hothersall
2006-10-28 11:04 ` Hans Hagen [this message]
[not found] <mailman.1.1161943202.25312.ntg-context@ntg.nl>
2006-10-27 10:28 ` Duncan Hothersall
2006-10-28 11:07 ` Hans Hagen
[not found] <mailman.1.1162119602.3415.ntg-context@ntg.nl>
2006-10-29 13:23 ` Duncan Hothersall
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=4543394C.7080500@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).