Hello,
In the main table there are three sub-tables. How to adapt the dimensions of the second and third sub-tables to that of the first sub-table ?
Thank you
Fabrice


\unexpanded\def\euros#1{#1\,€}

\setuplayout
  [height=middle,
   width=middle,
   backspace=2cm,
   topspace=10mm,
   bottomspace=10mm,
   header=10mm,
   footer=10mm,
   footerdistance=10mm,
   headerdistance=10mm]

\starttext
\startxtable
    \startxrow
      \startxcell[width=0.6\textwidth]

      \stopxcell
      \startxcell[width=0.4\textwidth]
        {\darkred Document 2 :} {\bf Ticket de caisse taché du 29/08/2015.}
        \startxtable[align={lohi,middle}]
          \startxrow
            \startxcell
              {\bf Qté}
            \stopxcell
            \startxcell
              {\bf Article}
            \stopxcell
            \startxcell
              {\bf Prix H.T (\euros{})}
            \stopxcell
          \stopxrow
          \startxrow
            \startxcell
              10
            \stopxcell
            \startxcell
              Bouteille eau minérale 33 cl
            \stopxcell
            \startxcell
             
            \stopxcell
          \stopxrow
          \startxrow
            \startxcell
              2
            \stopxcell
            \startxcell
              Sandwich (consommation sur place)
            \stopxcell
            \startxcell
             
            \stopxcell
          \stopxrow
          \startxrow
            \startxcell
              1
            \stopxcell
            \startxcell
              Tee-shirt
            \stopxcell
            \startxcell
             
            \stopxcell
          \stopxrow
          \startxrow
            \startxcell
             
            \stopxcell
            \startxcell[align=left]
              Total H.T.
            \stopxcell
            \startxcell
              {\bf 24,8}
            \stopxcell
          \stopxrow
        \stopxtable
        \startxtable[align={lohi,middle}]
          \startxrow
            \startxcell
              {\bf T.V.A}
            \stopxcell
            \startxcell
             
            \stopxcell
            \startxcell
              {\bf Taxe(\euros{})  }
            \stopxcell
          \stopxrow
          \startxrow
            \startxcell
              5,5\,\%
            \stopxcell
            \startxcell
             
            \stopxcell
            \startxcell
             
            \stopxcell
          \stopxrow
          \startxrow
            \startxcell
             10\,\%
            \stopxcell
            \startxcell
             
            \stopxcell
            \startxcell
             
            \stopxcell
          \stopxrow
          \startxrow
            \startxcell
              20\,\%
            \stopxcell
            \startxcell[align=left]
              Total T.V.A.
            \stopxcell
            \startxcell
              {\bf 2,8}
            \stopxcell
          \stopxrow
        \stopxtable
        \startxtable[align={lohi,middle}]
          \startxrow
            \startxcell
              {\bf Total}
            \stopxcell
            \startxcell
             
            \stopxcell
            \startxcell
              {\bf Prix T.T.C. (\euros{})}
            \stopxcell
          \stopxrow
          \startxrow
            \startxcell
             
            \stopxcell
            \startxcell[align=left]
              13 articles
            \stopxcell
            \startxcell
              {\bf 28,5}
            \stopxcell
          \stopxrow
        \stopxtable
      \stopxcell
    \stopxrow
  \stopxtable
\stoptext