[NTG-context] Some questions about an extreme table

Mikael P. Sundqvist mickep at gmail.com
Sun Aug 26 06:02:44 CEST 2018


On Sun, Aug 26, 2018 at 1:49 AM Fabrice Couvreur <
fabrice1.couvreur at gmail.com> wrote:

> Hello,
> In the table, how to have a. b. c. in each line instead of a. a. a ?
> Is the macro to place the figures on the baseline of the labels to be
> improved ?
> Thanks.
> Fabrice
>
> \useMPlibrary[dum]
>
> \switchtobodyfont[pagella,12pt]
>
> \unexpanded\def\Item#1{\framed[frame=off,location=hanging]{#1}}
>
> \setuplayout
>    [topspace=10mm,
>     header=10mm,
>     footer=10mm,
>     height=middle,
>     backspace=20mm,
>     width=middle]
>
> \starttext
>  \startxtable[frame=on,bodyfont=10pt]
>         \startxrow
>           \startxcell[width=2cm]
>             Expression \\ \m{B'(x)}
>           \stopxcell
>           \startxcell
>             \startitemize[packed,a]
>               \startitem
>                 \m{B'(x)=-x²+24x-117}
>               \stopitem
>             \stopitemize
>           \stopxcell
>           \startxcell
>             \startitemize[packed,a]
>               \startitem
>                 \m{B'(x)=-3x²+48x-117}
>               \stopitem
>             \stopitemize
>           \stopxcell
>           \startxcell
>             \startitemize[packed,a]
>               \startitem
>                 \m{B'(x)=-3x²+48x-317}
>               \stopitem
>             \stopitemize
>           \stopxcell
>         \stopxrow
>         \startxrow
>           \startxcell
>             Tableau de \\ signes de  \\ \m{B'(x)}
>           \stopxcell
>           \startxcell
>             \startitemize[packed,a]
>               \startitem
>                 \Item{{\externalfigure[dummy]}}
>               \stopitem
>             \stopitemize
>           \stopxcell
>           \startxcell
>             \startitemize[packed,a]
>               \startitem
>                 \Item{\externalfigure[dummy]}
>               \stopitem
>             \stopitemize
>           \stopxcell
>           \startxcell
>             \startitemize[packed,a]
>               \startitem
>                 \Item{\externalfigure[dummy]}
>               \stopitem
>             \stopitemize
>           \stopxcell
>         \stopxrow
>         \startxrow
>           \startxcell
>             Tableau de \\ variations\\de \m{B}
>           \stopxcell
>           \startxcell
>             \startitemize[packed,a]
>               \startitem
>                 \Item{\externalfigure[dummy]}
>               \stopitem
>             \stopitemize
>           \stopxcell
>           \startxcell
>             \startitemize[packed,a]
>               \startitem
>                 \Item{\externalfigure[dummy]}
>               \stopitem
>             \stopitemize
>           \stopxcell
>           \startxcell
>             \startitemize[packed,a]
>               \startitem
>                 \Item{\externalfigure[dummy]}
>               \stopitem
>             \stopitemize
>           \stopxcell
>         \stopxrow
>       \stopxtable
>
> \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
>
> ___________________________________________________________________________________


For the first one, I think you look for \startitemize[packed,a,continue].

For the second question, I don't understand if the output now looks as you
want it or not?

/Mikael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20180826/f25a4557/attachment.html>


More information about the ntg-context mailing list