pagecolumns-002.tex /size: 1441 b    last modification: 2023-12-21 09:43
1\environment pagecolumns-000
2
3\definepagecolumns
4  [example]
5  [n=3,
6   distance=\emwidth]
7
8\setupbackgrounds
9  [text]
10  [background=color,
11   backgroundcolor=color-1]
12
13\starttext
14
15\startpagecolumns[example]
16
17\dorecurse {7} {
18  \startplacefigure[location={here,none}]
19    \framed
20      [width=\columnwidth,
21       height=1cm,
22       frame=off,
23       background=color,
24       backgroundcolor=color-2]
25      {Here: A.#1}
26  \stopplacefigure
27  \samplefile{tufte}
28  \startplacefigure[location={here,none}]
29    \framed
30      [width=\columnwidth,
31       height=1cm,
32       frame=off,
33       background=color,
34       backgroundcolor=color-2]
35      {Here: B.#1}
36  \stopplacefigure
37  \samplefile{tufte}
38  \startplacefigure[location={here,none}]
39    \framed
40      [width=\textwidth,
41       height=1cm,
42       frame=off,
43       background=color,
44       backgroundcolor=color-2]
45      {Here: C.#1}
46  \stopplacefigure
47  \startplacefigure[location={here,none}]
48    \framed
49      [width=\measure{twocolumns},
50       height=1cm,
51       frame=off,
52       background=color,
53       backgroundcolor=color-2]
54      {Here: D.#1}
55  \stopplacefigure
56  \samplefile{tufte}
57  \startplacefigure[location={force,none}]
58    \framed
59      [width=\columnwidth,
60       height=1cm,
61       frame=off,
62       background=color,
63       backgroundcolor=color-2]
64      {Force: E.#1}
65  \stopplacefigure
66}
67
68\dorecurse {7} {
69  \samplefile{tufte}
70  \par
71}
72
73\stoppagecolumns
74
75\stoptext
76