pagecolumns-007.tex /size: 1403 b    last modification: 2023-12-21 09:43
1\environment pagecolumns-000
2
3\definepagecolumns[example][n=2,distance=\emwidth]
4
5\setupbackgrounds[text][background=color,backgroundcolor=color-1]
6
7\useMPlibrary[dum]
8
9\starttext
10
11\startbuffer[small]
12    \framed
13      [width=3cm,
14       height=2cm,
15       frame=off,
16       background=color,
17       backgroundcolor=color-2]
18      {Small}
19\stopbuffer
20
21\startbuffer[large]
22    \framed
23      [width=12cm,
24       height=6cm,
25       frame=off,
26       background=color,
27       backgroundcolor=color-2]
28      {Large}
29\stopbuffer
30
31\startpagecolumns[example]
32    \samplefile{tufte}\par
33    \startplacefigure[location=here,title=Test]
34        \getbuffer[small]
35    \stopplacefigure
36    \startplacefigure[location=here,title=Test]
37        \getbuffer[small]
38    \stopplacefigure
39    \samplefile{tufte}\par
40\stoppagecolumns
41
42\startpagecolumns[example]
43    \samplefile{tufte}\par
44    \startplacefigure[location=here,title=Test]
45        \getbuffer[small]
46    \stopplacefigure
47    \startplacefigure[location=here,title=Test]
48        \getbuffer[large]
49    \stopplacefigure
50    \samplefile{tufte}\par
51\stoppagecolumns
52
53\startpagecolumns[example]
54    \samplefile{tufte}\par
55    \startplacefigure[location=here,title=Test]
56        \getbuffer[large]
57    \stopplacefigure
58    \startplacefigure[location=here,title=Test]
59        \getbuffer[large]
60    \stopplacefigure
61    \samplefile{tufte}\par
62\stoppagecolumns
63
64\stoptext
65
66
67