Command/setupmixedcolumns

Unofficial ConTeXt Wiki mirror

Last modified: 2026-02-01

Summary

The command \setupmixedcolumns is used to setup “simple” (AKA “mixed”) multi-column layout.

Settings

\setupmixedcolumns[...,...][...=...,...]
[...,...] name
grid see \definegridsnapping
rulethickness dimension
method otr box
before command
after command
distance dimension
n number
maxheight dimension
maxwidth dimension
step dimension
profile name
align see \setupalign
setups name
balance yes no
splitmethod none fixed
alternative local global
internalgrid line halfline
separator rule
strut yes no
color color
rulecolor color
direction normal reverse
...=...,... inherits from \setupframed

Option Explanation
rulethickness
width of the line between columns
distance
distance between columns
n
number of columns (2 is default)
balance
try to make the bottom of the columns on the last page even (same number of lines in each column)
internalgrid
align lines on a line or halfline grid
separator
activate the line between columns
rulecolor
color of the line between columns
direction
left to right or right to left

Description

Examples

Background and separator

  • \setupcolumns
      [n=3,
       separator=rule,rulecolor=red,
       background=color,backgroundcolor=green,
      ]
    
    \startcolumns
      % 12 lines, please
      \dorecurse{12}{line\crlf}
    \stopcolumns
    

Balancing

  • \startcolumns[n=2,balance=no]
      \dorecurse{3}{\samplefile{ward}\par}
    \stopcolumns
    
    \hairline
    
    \startcolumns[n=2,balance=yes]
      \dorecurse{3}{\samplefile{ward}\par}
    \stopcolumns
    

Balancing doesn’t seem to work.

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: