Difference between revisions of "Command/mixedcolumns"

From Wiki
Jump to navigation Jump to search
(One intermediate revision by the same user not shown)
Line 4: Line 4:
== [[Help:Reference|Syntax]] (autogenerated) ==
== [[Help:Reference|Syntax]] ==
== [[Help:Reference|Syntax]] ==
<table cellspacing="4" cellpadding="2" class="cmd">
<table cellspacing="4" cellpadding="2" class="cmd">

Latest revision as of 14:30, 13 October 2019


Syntax (autogenerated)


\startmixedcolumns[instance][settings] ... \stopmixedcolumns
distance dimension
n number
rule on off
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


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.
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.


\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.

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

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: