Difference between revisions of "Command/startcolumnset"

From ConTeXt wiki
Line 4: Line 4:
== [[Help:Reference|Syntax]] (autogenerated)] ==
== [[Help:Reference|Syntax]] (autogenerated) ==
== [[Help:Reference|Syntax]] ==
== [[Help:Reference|Syntax]] ==

Latest revision as of 14:30, 13 October 2019


Syntax (autogenerated)

\startcolumnset[...][...=...,...] ... \stopcolumnset
...=...,...inherits from \setupcolumnset


\startcolumnset[...] ... \stopcolumnset
[...] columnset name


Start a column environment using the columnset mechanism.


Using columnsets may cause overlapping lines at the end of columns.

To avoid this,


must be placed in the preamble of the document.

Problem blank lines in the output

Discussed here. The new column set and mixed columns environments use grid snapping by default which can result in blank lines in the output. See the problem here:


    \snaptogrid[]\hbox{\setstrut\begstrut Ward\endstrut}
    \snaptogrid[]\hbox{\bf\setstrut\begstrut Ward\endstrut}

Two simple ways to get rid of the blank line are:

  • to disable the strut for the section or
  • to disable the grid snapping for the section.

See the solutions here:



     \section{Ward \doifsomething{#1}{\tttf [#1]}}


Problem overlapping lines in the first column




\setuplayout[grid=yes] % Without this, last lines in the first column overlap




    \input knuth

(General – typical – non-problematic) examples

% mode=mkiv


\startcolumnset [TwoColumns]
  \title{Test page}
    ]{\copyright\ \date[][year] Donald E. Knuth}
  \input knuth

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: