Number them by hand (or replace the descriptions I used with enumerations).

The alignment of the graphics can be improved with the \tbox command, which raises the argument by the height of a strut.


\useMPlibrary[dum]

\switchtobodyfont[pagella,12pt]

\setuplayout
  [topspace=10mm,
   header=10mm,
   footer=10mm,
   height=middle,
   backspace=20mm,
   width=middle]

\definedescription
  [Item]
  [width=1.5em,
   distance=none]

\starttext

\startxtable[bodyfont=10pt]
    \startxrow
        \startxcell[width=2cm]
            Expression\\\m{B'(x)}
        \stopxcell
        \startxcell
            \startItem{a.}\m{B'(x)=-x²+24x-117}\stopItem
        \stopxcell
        \startxcell
            \startItem{b.}\m{B'(x)=-3x²+48x-117}\stopItem
        \stopxcell
        \startxcell
            \startItem{c.}\m{B'(x)=-3x²+48x-317}\stopItem
        \stopxcell
    \stopxrow
    \startxrow
        \startxcell
            Tableau de \\ signes de  \\ \m{B'(x)}
        \stopxcell
        \startxcell
            \startItem{d.}\tbox{\externalfigure[dummy]}\stopItem
        \stopxcell
        \startxcell
            \startItem{e.}\tbox{\externalfigure[dummy]}\stopItem
        \stopxcell
        \startxcell
            \startItem{f.}\tbox{\externalfigure[dummy]}\stopItem
        \stopxcell
    \stopxrow
    \startxrow
        \startxcell
            Tableau de\\variations\\de \m{B}
        \stopxcell
        \startxcell
            \startItem{g.}\tbox{\externalfigure[dummy]}\stopItem
        \stopxcell
        \startxcell
            \startItem{h.}\tbox{\externalfigure[dummy]}\stopItem
        \stopxcell
        \startxcell
            \startItem{i.}\tbox{\externalfigure[dummy]}\stopItem
        \stopxcell
    \stopxrow
\stopxtable

\stoptext

Wolfgang


Fabrice Couvreur schrieb am 26.08.18 um 01:49:
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@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 via email to