Difference between revisions of "Command/mixedcolumns"
< Command
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> | </table> | ||
<table cellspacing="4" cellpadding="2" class="cmd"> | <table cellspacing="4" cellpadding="2" class="cmd"> | ||
− | |||
− | |||
</tr> | </tr> | ||
<tr valign="top" class="first"> | <tr valign="top" class="first"> |
Revision as of 20:11, 18 November 2013
\mixedcolumns
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
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. |
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.
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:
- mixedcolumns on the mailing list (all results)
- mixedcolumns on the mailing list (subject only)
- mixedcolumns on stack exchange
- mixedcolumns in ConTeXt's source
|