\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=1cm,
       height=1cm,
       frame=off,
       background=color,
       backgroundcolor=color-2]
      {A.#1}
  \stopplacefigure

  \startplacefigure[location={left,none}]
    \framed
      [width=1cm,
       height=6cm,
       frame=off,
       background=color,
       backgroundcolor=color-2]
      {B.#1}
  \stopplacefigure

  \samplefile{klein}\par
  \samplefile{klein}\par

}

\stoppagecolumns

\stoptext


