[NTG-context] Incorrect placement of a table with LMTX

Fabrice Couvreur fabrice1.couvreur at gmail.com
Tue Jul 14 12:31:55 CEST 2020


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

Le mar. 14 juil. 2020 à 12:23, Otared Kavian <otared at 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 at 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 at 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 at 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
>
> ___________________________________________________________________________________
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20200714/6c25f03a/attachment.htm>


More information about the ntg-context mailing list