Command/mixedcolumns

From ConTeXt wiki

\mixedcolumns

Syntax (autogenerated)

Syntax

\startmixedcolumns[instance][settings] ... \stopmixedcolumns
Or
\startmixedcolumns[instance]
\startmixedcolumns[settings]
\stopmixedcolumns
distance dimension
n number
rule on off
frame
strut default no
offset default overlay
direction left right
maxheight dimension \textheight
maxwidth dimension \makeupwidth
grid verystrict strict tolerant verytolerant stretch
step default: .25\lineheight Still needs experimenting


Description

Hans comments in the source that it is possible to define columns using a start command, but it is best to define an instance by using \definemixedcolumns. This does not seem to be implemented yet. I could only get it to work without defining an instance as the example shows below, so take the syntax above with that grain of salt.

It is likely that all the options that work for the older columns command also work for mixedcolumns. It doesn't hurt to test and find out. Do report back here.

distance Distance between columns.
n Number of columns. Default is n=2.
rule Draw a line between the columns. Default is off.
frame
strut
grid Grid snapping mode. Default is tolerant.
balance Left and right columns balanced at bottom of columns
align Left, right (raggedleft, raggedright).
direction Default is right, i.e. the first column is on the left; 'left' means the first column is the rightmost.

Example

\startcolumns[n=2, distance=5mm, rule=on, balance=yes]
  Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.  Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
\stopcolumns

This example works with ConTeXt ver: 2013.05.28 00:36 MKIV.

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: