Difference between revisions of "Command/mixedcolumns"

From Wiki
Jump to navigation Jump to search
(Created page with "{{Reference |name=mixedcolumns |attributes= }} == Syntax == <table cellspacing="4" cellpadding="2" class="cmd"> <tr> <td colspan="2" class="cmd">\startm...")
Line 22: Line 22:
<table cellspacing="4" cellpadding="2" class="cmd">
<table cellspacing="4" cellpadding="2" class="cmd">
    <td colspan="2" class="cmd">\mixedcolumns<span class="first" >[...,...=...,...]</span></td>
   <tr valign="top" class="first">
   <tr valign="top" class="first">

Revision as of 20:11, 18 November 2013



\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


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.


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.


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