ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pablo Rodriguez <oinos@gmx.es>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: xtable as list item (again)
Date: Tue, 15 Jun 2021 19:57:36 +0200	[thread overview]
Message-ID: <f2597704-1f62-969d-e57a-4e8cf654212f@gmx.es> (raw)

Dear list,

I already posted a similar question some time ago
(https://mailman.ntg.nl/pipermail/ntg-context/2021/101021.html), but I
got no reply.

I have the following sample:

  \showframe\showstruts
  \starttext
  \startitemize[n][margin=yes]
  \item a
  \item
    \startembeddedxtable[option={stretch, width}]
    \dorecurse{25}{\startxrow
      \startxcell \Characters{\recurselevel}\stopxcell
      \startxcell \characters{\recurselevel}\stopxcell
    \stopxrow}
  \stopembeddedxtable
  \item b
  \stopitemize
  \stoptext

And I get two issues:

1. Item number in 2 is placed on the bottom of the xtable. I need it on
the top of the xtable.

2. There is an extra horizontal space before the xtable. How can I get
rid of it? (In my real-world document, the space before is huge. In any
case, it misplaces the xtable.)

Maybe my approach is wrong, but I need the xtable as part of a list (and
I need it to strecht it horizontally).

Does anyone know how to achieve this?

Many thanks for your help,

Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

             reply	other threads:[~2021-06-15 17:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-15 17:57 Pablo Rodriguez [this message]
2021-06-16 19:56 ` Wolfgang Schuster
2021-06-17  6:38   ` Pablo Rodriguez

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=f2597704-1f62-969d-e57a-4e8cf654212f@gmx.es \
    --to=oinos@gmx.es \
    --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).