ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Fabrice Couvreur <fabrice1.couvreur@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Incorrect placement of a table with LMTX
Date: Tue, 14 Jul 2020 12:31:55 +0200	[thread overview]
Message-ID: <CACyK-er6tBwKUfoGyQyN_GXpS6BTPFLv1=+MU84oALJEgpAKtg@mail.gmail.com> (raw)
In-Reply-To: <9C362AD4-76BD-48CE-BCD4-4A9FF3EA788A@gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 2578 bytes --]

Hi Otared,
Thanks, it works perfectly.
Best regards.
fabrice

Le mar. 14 juil. 2020 à 12:23, Otared Kavian <otared@gmail.com> a écrit :

> Hi Fabrice,
>
> You should enclose the table into \startplacetable... \stopplacetable as
> in:
>
> \startplacetable[number=no]
> % here put your xtable
> \stopplacetable
>
> Best regards: Otared
>
>
> On 14 Jul 2020, at 11:28, Fabrice Couvreur <fabrice1.couvreur@gmail.com>
> wrote:
>
> Hello,
> In my lessons, I often have to include tables, figures, ... in
> definitions, theorems ...
> With the context engine it works fine but not with lmtx.
> Thanks for your help.
> Fabrice
>
> \setupenumerations
>   [before={\blank},
>    after={\blank},
>    alternative=serried,
>    title=yes,
>    titleleft=,
>    titleright=,
>    prefix=yes,
>    prefixsegments=chapter,
>    way=bychapter,
>    titlestyle=bold,
>    width=broad]
>
> \defineenumeration
>    [definition]
>    [text=Définition,
>     number=yes,
>     headcommand=\groupedcommand{}{.},
>     style=italic]
>
> \starttext
>
> \startdefinition
>   \blank
>   \startxtable[align={lohi,middle},width=2cm,offset=0.8ex]
>     \startxrow
>       \startxcell
>         1
>       \stopxcell
>       \startxcell
>         2
>       \stopxcell
>     \stopxrow
>     \startxrow
>       \startxcell
>         3
>       \stopxcell
>       \startxcell
>         4
>       \stopxcell
>     \stopxrow
>   \stopxtable
> \stopdefinition
>
> \stoptext
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>
>
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 5160 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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:[~2020-07-14 10:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-14  9:28 Fabrice Couvreur
2020-07-14 10:23 ` Otared Kavian
2020-07-14 10:31   ` Fabrice Couvreur [this message]
2020-07-14 19:21 ` Wolfgang Schuster

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='CACyK-er6tBwKUfoGyQyN_GXpS6BTPFLv1=+MU84oALJEgpAKtg@mail.gmail.com' \
    --to=fabrice1.couvreur@gmail.com \
    --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).