Difference between revisions of "Command/setupcolumns"
< Command
Jump to navigation
Jump to search
m (Text replace - "Reference/en|" to "Commands|") |
m (Text replace - "Reference/en/" to "Command/") |
||
Line 10: | Line 10: | ||
</tr> | </tr> | ||
<tr valign="top" class="first"> | <tr valign="top" class="first"> | ||
− | <td class="cmd">[[ | + | <td class="cmd">[[Command/keyword:n|n]]</td> |
− | <td>[[ | + | <td>[[Command/value:number|number]] </td> |
</tr> | </tr> | ||
<tr valign="top" class="first"> | <tr valign="top" class="first"> | ||
− | <td class="cmd">[[ | + | <td class="cmd">[[Command/keyword:ntop|ntop]]</td> |
− | <td>[[ | + | <td>[[Command/value:number|number]] </td> |
</tr> | </tr> | ||
<tr valign="top" class="first"> | <tr valign="top" class="first"> | ||
− | <td class="cmd">[[ | + | <td class="cmd">[[Command/keyword:rule|rule]]</td> |
− | <td>[[ | + | <td>[[Command/value:on|on]] [[Command/value:off|off]] </td> |
</tr> | </tr> | ||
<tr valign="top" class="first"> | <tr valign="top" class="first"> | ||
− | <td class="cmd">[[ | + | <td class="cmd">[[Command/keyword:height|height]]</td> |
− | <td>[[ | + | <td>[[Command/value:dimension|dimension]] </td> |
</tr> | </tr> | ||
<tr valign="top" class="first"> | <tr valign="top" class="first"> | ||
− | <td class="cmd">[[ | + | <td class="cmd">[[Command/keyword:tolerance|tolerance]]</td> |
− | <td>[[ | + | <td>[[Command/value:verystrict|verystrict]] [[Command/value:strict|strict]] [[Command/value:tolerant|tolerant]] [[Command/value:verytolerant|verytolerant]] [[Command/value:stretch|stretch]] </td> |
</tr> | </tr> | ||
<tr valign="top" class="first"> | <tr valign="top" class="first"> | ||
− | <td class="cmd">[[ | + | <td class="cmd">[[Command/keyword:distance|distance]]</td> |
− | <td>[[ | + | <td>[[Command/value:dimension|dimension]] </td> |
</tr> | </tr> | ||
<tr valign="top" class="first"> | <tr valign="top" class="first"> | ||
− | <td class="cmd">[[ | + | <td class="cmd">[[Command/keyword:balance|balance]]</td> |
− | <td>[[ | + | <td>[[Command/value:yes|yes]] [[Command/value:no|no]] </td> |
</tr> | </tr> | ||
<tr valign="top" class="first"> | <tr valign="top" class="first"> | ||
− | <td class="cmd">[[ | + | <td class="cmd">[[Command/keyword:align|align]]</td> |
− | <td>[[ | + | <td>[[Command/value:yes|yes]] [[Command/value:no|no]] [[Command/value:text|text]] </td> |
</tr> | </tr> | ||
<tr valign="top" class="first"> | <tr valign="top" class="first"> | ||
− | <td class="cmd">[[ | + | <td class="cmd">[[Command/keyword:blank|blank]]</td> |
− | <td>[[ | + | <td>[[Command/value:fixed|fixed]] [[Command/value:halfline|halfline]] [[Command/value:line|line]] [[Command/value:flexible|flexible]] [[Command/value:big|big]] [[Command/value:medium|medium]] [[Command/value:small|small]] </td> |
</tr> | </tr> | ||
<tr valign="top" class="first"> | <tr valign="top" class="first"> | ||
− | <td class="cmd">[[ | + | <td class="cmd">[[Command/keyword:option|option]]</td> |
− | <td>[[ | + | <td>[[Command/value:background|background]] </td> |
</tr> | </tr> | ||
<tr valign="top" class="first"> | <tr valign="top" class="first"> | ||
− | <td class="cmd">[[ | + | <td class="cmd">[[Command/keyword:direction|direction]]</td> |
− | <td>[[ | + | <td>[[Command/value:left|left]] [[Command/value:right|right]] </td> |
</tr> | </tr> | ||
<tr valign="top" class="first"> | <tr valign="top" class="first"> | ||
<td class="cmd">[...,...=...,...]</td> | <td class="cmd">[...,...=...,...]</td> | ||
− | <td>see [[ | + | <td>see [[Command/setupframed|\setupframed]] </td> |
</tr> | </tr> | ||
</table> | </table> |
Revision as of 01:41, 14 March 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: ? ntop: ?
comment
Consider using paragraphs or column sets instead of "simple" columns.
ntop has to do with balancing, but I can't make sense of it. See page-mult.tex / minbalancetoplines. height is unclear to me