\environment pagecolumns-000

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

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

\starttext

\startpagecolumns[example]

\dorecurse {7} {
  \startplacefigure[location={here,none}]
    \framed
      [width=\columnwidth,
       height=1cm,
       frame=off,
       background=color,
       backgroundcolor=color-2]
      {Here: A.#1}
  \stopplacefigure
  \samplefile{tufte}
  \startplacefigure[location={here,none}]
    \framed
      [width=\columnwidth,
       height=1cm,
       frame=off,
       background=color,
       backgroundcolor=color-2]
      {Here: B.#1}
  \stopplacefigure
  \samplefile{tufte}
  \startplacefigure[location={here,none}]
    \framed
      [width=\textwidth,
       height=1cm,
       frame=off,
       background=color,
       backgroundcolor=color-2]
      {Here: C.#1}
  \stopplacefigure
  \startplacefigure[location={here,none}]
    \framed
      [width=\measure{twocolumns},
       height=1cm,
       frame=off,
       background=color,
       backgroundcolor=color-2]
      {Here: D.#1}
  \stopplacefigure
  \samplefile{tufte}
  \startplacefigure[location={force,none}]
    \framed
      [width=\columnwidth,
       height=1cm,
       frame=off,
       background=color,
       backgroundcolor=color-2]
      {Force: E.#1}
  \stopplacefigure
}

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

\stoppagecolumns

\stoptext
