Changes

Jump to navigation Jump to search
647 bytes added ,  12:53, 14 January 2020
}}
== [[Help:Reference|Syntax]] (autogenerated) ==
<syntax>setupcolumns</syntax>
== [[Help:Reference|Syntax]] ==
<table cellspacing="4" cellpadding="2" class="cmd">
== Description ==
 
Consider using paragraphs ({{cmd|defineparagraphs}} or column sets ({{cmd|startcolumnset}} instead of ‘simple’ columns.
 
{| class="wikitable"
|-
| n
| number Number of columns, default . Default is n=2.
|-
| rule
| draw Draw a line between the columns, default . Default is off.
|-
| tolerance
| affects Affects spacing, narrow . Narrow columns should be set tolerant, verytolerant or stretch
|-
| distance
| Size of the gap between the columns.
|-
| balance
| should Should the columns be balanced, i.e. should they get the same number of lines?
|-
| align
| leftLeft, right (raggedleft, raggedright).
|-
| blank
| amount Amount of whitespace between paragraphs set in columns. Also accepts a dimension as an argument. Column equivalent of \{{cmd|setupwhitespace}}.
|-
| option
| with With option=background you can use everything that \setupframed offers.
|-
| direction
| default Default is right, i.e. the first column is on the left; 'left' means the first column is the rightmost.
|-
| height
| height is unclear to me.
|-
| ntop
| ntop has to do with balancingcontains the minimum number of lines a column should have. If, but I can't make sense when a new set of itcolumns starts (e.g. See at the start of a page), there are 12 lines to distribute and <code>ntop=7</code>, then ConTeXt will produce one 12-line column rather than two 6-multline columns.tex Note that <code>ntop=6</code> will result in one 7-line column and one 5-line column: ConTeXt seems to prefer that the last column be shorter, as long as its length is at least <code>ntop - n + 1</ minbalancetoplinescode>.
|}
</pre>
Consider using paragraphs or column sets instead of "simple" columns.== Example ==<context source=yes>\setupcolumns[n=3,rule=on,ntop=4,background=color,backgroundcolor=green,]
== Example ==\startcolumns % 12 lines, please \dorecurse{12}{line\crlf}\stopcolumns<!-- Please fill in an example if you can --/context>
== See also ==
All issues with:
{{Forum|{{SUBPAGENAME}}}}
 
{{Columns navbox}}
[[Category:Command/Columns|setupcolumns]]
tr valign="top" class="first">
105

edits

Navigation menu