% content=tex
%
% copyright=pragma-ade readme=readme.pdf licence=cc-by-nc-sa

\environment pagecolumns-000

\definepagecolumns
  [example]
  [n=3,
   distance=\emwidth]

\setupbackgrounds
  [text]
  [background=color,
   backgroundcolor=color-1]

\starttext

\startpagecolumns[example]

\dorecurse {7} {
  \startplacefigure[location={top,none}]
    \framed
      [width=\textwidth,
       height=1cm,
       frame=off,
       background=color,
       backgroundcolor=color-2]
      {A.#1}
  \stopplacefigure
  \startplacefigure[location={top,none}]
    \framed
      [width=\measure{twocolumns},
       height=1cm,
       frame=off,
       background=color,
       backgroundcolor=color-3]
      {B.#1}
  \stopplacefigure
  \samplefile{tufte}
  \par
}

\dorecurse {7} {
  \samplefile{tufte}
  \par
}

\stoppagecolumns

\stoptext


