Difference between revisions of "Command/setupcolumns"
< Command
Jump to navigation
Jump to search
m (Text replace - "\[\[cmd:(.*)\|(.*)\]\]" to "{{cmd|$1}}") |
(Turn into proper table.) |
||
Line 61: | Line 61: | ||
== Description == | == Description == | ||
− | + | {| class="wikitable" | |
− | n | + | |- |
− | rule | + | | n |
− | tolerance | + | | number of columns, default is n=2 |
− | distance | + | |- |
− | balance | + | | rule |
− | align | + | | draw a line between the columns, default is off |
− | blank | + | |- |
− | option | + | | tolerance |
− | direction | + | | affects spacing, narrow columns should be set tolerant, verytolerant or stretch |
− | height | + | |- |
− | ntop | + | | distance |
+ | | 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. | ||
+ | |} | ||
</pre> | </pre> | ||
− | |||
Consider using paragraphs or column sets instead of "simple" columns. | Consider using paragraphs or column sets instead of "simple" columns. | ||
− | |||
− | |||
− | |||
== Example == | == Example == | ||
Line 85: | Line 104: | ||
== See also == | == See also == | ||
− | + | * {{cmd|startcolumns}} to start a columnar environment. | |
+ | * {{cmd|column}} to move to the next column. | ||
+ | * {{cmd|setupparagraphs}} for the analogous command for side-by-side paragraphs | ||
== Help from ConTeXt-Mailinglist/Forum == | == Help from ConTeXt-Mailinglist/Forum == | ||
Line 92: | Line 113: | ||
[[Category:Command/Columns|setupcolumns]] | [[Category:Command/Columns|setupcolumns]] | ||
+ | tr valign="top" class="first"> |
Revision as of 18:33, 24 April 2012
\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
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 | 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. |
Consider using paragraphs or column sets instead of "simple" columns.
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 valign="top" class="first">