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

\environment columnsets-000

\definecolumnset[example][n=3,page=left]

\definecolor[fakerulecolor]

\definecolumnsetspan[wide] [n=2,background=contrast,color=white]
\definecolumnsetspan[wider][n=4,background=contrast,color=white]

\starttext

\startcolumnset[example]

  \startcolumnsetspan[wider]
    wider: \dorecurse{2}{#1: \fakewords{25}{50}\par}
  \stopcolumnsetspan

  inbetween: \fakewords{25}{50}\par

  \startcolumnsetspan[wide]
    wide : \dorecurse{2}{#1: \fakewords{25}{50}\par}
  \stopcolumnsetspan

  after: \dorecurse{15}{#1: \fakewords{100}{200}\par}

\stopcolumnset

\stoptext