Hi, According to the columns manual, the following should produce a two-column layout with the first column being 1/3 and the second column being 2/3 the makeupwidth: \definecolumnset[example][n=2] \setupcolumnset[example][1][width=.33\makeupwidth] \starttext \startcolumnset[example] \dorecurse{25}{\input knuth\column[local]} \stopcolumnset \stoptext Using: mtx-context | current version: 2014.01.03 00:40 What is the simplest example to achieve two different column widths for a columnset? (The Paragraphs example on the wiki -- http://wiki.contextgarden.net/Columns#Paragraphs -- works, but I need the flexibility of column sets.) Thank you!
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
participants (1)
-
Thangalin