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

\usemodule[oldfun]

\environment columnsets-000

\unprotected \def\SpreadGapText#1#2{{\def\+{\blackrule[\c!width=#1]}#2}}

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

\definecolumnsetarea
  [title]
  [x=1,y=1,nx=8,ny=8,
   background=contrast,
   color=white,
   align={lohi,right},
   state=start]

\setupcolumnsetareatext
  [title]
  [\setups{the title}]

\startsetups[the title]

  \GapText
    {\dimexpr(\makeupwidth+\backspace)} {6pt}
    {RegularBold} {sa 4}
    {A Title Spanni\+ng 2 Pages}

\stopsetups

\starttext

\startcolumnset[example]

  \dorecurse{30}{\fakewords{50}{100}\par}

\stopcolumnset

\stoptext