Command/setupcolumns
< Command
Jump to navigation
Jump to search
\setupcolumns
Syntax
\setupcolumns[...,...=...,...] | |
n | number |
ntop | number |
rule | on off |
height | dimension |
tolerance | verystrict strict tolerant verytolerant stretch |
distance | dimension |
balance | yes no |
align | yes no text |
blank | fixed halfline line flexible big medium small |
option | background |
direction | left right |
[...,...=...,...] | see \setupframed |
Description
Consider using paragraphs (\defineparagraphs or column sets (\startcolumnset instead of ‘simple’ columns.
n | Number of columns. Default is n=2. |
rule | Draw a line between the columns. Default is off. |
tolerance | Affects spacing. Narrow columns should be set tolerant, verytolerant or stretch |
distance | Size of the gap between the columns. |
balance | Should the columns be balanced, i.e. should they get the same number of lines? |
align | Left, right (raggedleft, raggedright). |
blank | Amount of whitespace between paragraphs set in columns. Also accepts a dimension as an argument. Column equivalent of \setupwhitespace. |
option | With option=background you can use everything that \setupframed offers. |
direction | 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 balancing, but I can't make sense of it. See page-mult.tex / minbalancetoplines. |
Example
See also
- \startcolumns to start a columnar environment.
- \column to move to the next column.
- \setupparagraphs for the analogous command for side-by-side paragraphs
Help from ConTeXt-Mailinglist/Forum
All issues with:
- setupcolumns on the mailing list (all results)
- setupcolumns on the mailing list (subject only)
- setupcolumns on stack exchange
- setupcolumns in ConTeXt's source
/tr>