summaryrefslogtreecommitdiff
path: root/doc/context/sources/general/columnsets/columnsets/columnsets-804.tex
blob: c2b7a6b1e8d7bad991d6cf161574a2f1c69bf518 (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
% content=tex
%
% copyright=pragma-ade readme=readme.pdf licence=cc-by-nc-sa

\environment columnsets-000

\definecolumnset [example-1] [n=2,balance=yes]
\definecolumnset [example-2] [n=3,balance=yes]

\starttext \showgrid

  \setupcolumnsetlines[example-1][1][1] [8]
  \setupcolumnsetlines[example-1][1][2][10]

  \setupcolumnsetlines[example-2][1][1] [0]
  \setupcolumnsetlines[example-2][1][2][-2]
  \setupcolumnsetlines[example-2][1][3] [0]

  \startcolumnset [example-1]
    \dorecurse {1}{\input tufte \par}
  \stopcolumnset
  \startcolumnset [example-2]
    \dorecurse {6}{\input ward  \par}
  \stopcolumnset

\stoptext