summaryrefslogtreecommitdiff
path: root/doc/context/sources/general/manuals/pagecolumns/pagecolumns-005.tex
blob: c714879fd6b0fd12fdfaef12f9b683d2586ea848 (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
49
50
51
52
% 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=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