summaryrefslogtreecommitdiff
path: root/doc/context/sources/general/manuals/pagecolumns/pagecolumns-005.tex
blob: 66f99f8a74b0bf0aef56c7518e8684ccb8a6617d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
\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