[NTG-context] Column Width

Thangalin thangalin at gmail.com
Wed Apr 16 23:29:38 CEST 2014


It seems a few examples from the columns manual --
http://www.pragma-ade.com/general/manuals/columns.pdf -- are broken.
Here is another (from page 34):

\definecolumnset[example][n=3]
\definecolumnset[therest][n=4]
\setupcolumnset[example]
\setupcolumnset[therest] [distance=.5cm] [distance=.5cm]
\setupcolumnset[example]
\setupcolumnset[therest]
   [width=\dimexpr((\makeupwidth-1.5cm)/4)]
  [width=\dimexpr((\makeupwidth-1.5cm)/4)]
\setupcolumnset[example][1]
  [width=\dimexpr(\makeupwidth-1.0cm-2\dimexpr((\makeupwidth-1.5cm)/4))]
\starttext
  \startcolumnset[example,therest]
    \startcolumnmakeup
    \vfill \input knuth
    \stopcolumnmakeup
    \column[local]
    \dorecurse{25}{\input knuth\par}
  \stopcolumnset
\stoptext


More information about the ntg-context mailing list