[NTG-context] Some questions about an extreme table

Fabrice Couvreur fabrice1.couvreur at gmail.com
Sun Aug 26 01:49:09 CEST 2018


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20180826/f7dddd2f/attachment.html>


More information about the ntg-context mailing list