Difference between revisions of "Command/setupTABLE"
< Command
Jump to navigation
Jump to search
m (explain some options) |
(explain more options) |
||
Line 14: | Line 14: | ||
<cd:constant type="row">row</cd:constant> | <cd:constant type="row">row</cd:constant> | ||
<cd:constant type="column">column</cd:constant> | <cd:constant type="column">column</cd:constant> | ||
− | <cd:constant type="first"> | + | <cd:constant type="first">first (row/column)</cd:constant> |
− | <cd:constant type="last"> | + | <cd:constant type="last">last (row/column)</cd:constant> |
<cd:constant type="start"></cd:constant> | <cd:constant type="start"></cd:constant> | ||
− | <cd:constant type="header">header</cd:constant> | + | <cd:constant type="header">rows in header</cd:constant> |
<cd:constant type="each">each (row/column)</cd:constant> | <cd:constant type="each">each (row/column)</cd:constant> | ||
<cd:constant type="odd">each odd (row/column)</cd:constant> | <cd:constant type="odd">each odd (row/column)</cd:constant> | ||
Line 23: | Line 23: | ||
<cd:constant type="one"></cd:constant> | <cd:constant type="one"></cd:constant> | ||
<cd:constant type="cd:number">(row/column) no. #</cd:constant> | <cd:constant type="cd:number">(row/column) no. #</cd:constant> | ||
− | <cd:constant method="none" prefix="-" type="cd:number"></cd:constant> | + | <cd:constant method="none" prefix="-" type="cd:number">(row/column) no. # from bottom/right</cd:constant> |
</cd:keywords> | </cd:keywords> | ||
<cd:keywords list="yes" optional="yes" ordinal="2"> | <cd:keywords list="yes" optional="yes" ordinal="2"> | ||
Line 60: | Line 60: | ||
</cd:parameter> | </cd:parameter> | ||
<cd:parameter name="leftmargindistance"> | <cd:parameter name="leftmargindistance"> | ||
− | <cd:paramdoc></cd:paramdoc> | + | <cd:paramdoc>distance from table contents to left border/frame of table</cd:paramdoc> |
<cd:constant type="cd:dimension"></cd:constant> | <cd:constant type="cd:dimension"></cd:constant> | ||
</cd:parameter> | </cd:parameter> | ||
<cd:parameter name="rightmargindistance"> | <cd:parameter name="rightmargindistance"> | ||
− | <cd:paramdoc></cd:paramdoc> | + | <cd:paramdoc>distance from table contents to right border/frame of table</cd:paramdoc> |
<cd:constant type="cd:dimension"></cd:constant> | <cd:constant type="cd:dimension"></cd:constant> | ||
</cd:parameter> | </cd:parameter> | ||
<cd:parameter name="columndistance"> | <cd:parameter name="columndistance"> | ||
− | <cd:paramdoc></cd:paramdoc> | + | <cd:paramdoc>distance between columns</cd:paramdoc> |
<cd:constant type="cd:dimension"></cd:constant> | <cd:constant type="cd:dimension"></cd:constant> | ||
</cd:parameter> | </cd:parameter> | ||
<cd:parameter name="maxwidth"> | <cd:parameter name="maxwidth"> | ||
− | <cd:paramdoc></cd:paramdoc> | + | <cd:paramdoc>(doesn’t seem to work)</cd:paramdoc> |
<cd:constant type="cd:dimension"></cd:constant> | <cd:constant type="cd:dimension"></cd:constant> | ||
</cd:parameter> | </cd:parameter> | ||
Line 80: | Line 80: | ||
</cd:parameter> | </cd:parameter> | ||
<cd:parameter name="textwidth"> | <cd:parameter name="textwidth"> | ||
− | <cd:paramdoc></cd:paramdoc> | + | <cd:paramdoc>width of whole table</cd:paramdoc> |
<cd:constant type="cd:dimension"></cd:constant> | <cd:constant type="cd:dimension"></cd:constant> | ||
<cd:constant default="yes" type="local"></cd:constant> | <cd:constant default="yes" type="local"></cd:constant> | ||
Line 89: | Line 89: | ||
<cd:constant type="no">no splitting</cd:constant> | <cd:constant type="no">no splitting</cd:constant> | ||
<cd:constant type="repeat">allow splitting, repeat head</cd:constant> | <cd:constant type="repeat">allow splitting, repeat head</cd:constant> | ||
− | <cd:constant default="yes" type="auto"></cd:constant> | + | <cd:constant default="yes" type="auto">(no splitting?)</cd:constant> |
</cd:parameter> | </cd:parameter> | ||
<cd:parameter name="header"> | <cd:parameter name="header"> | ||
− | <cd:paramdoc>same as split=repeat | + | <cd:paramdoc>same as split=repeat, if split=yes</cd:paramdoc> |
<cd:constant type="repeat"></cd:constant> | <cd:constant type="repeat"></cd:constant> | ||
</cd:parameter> | </cd:parameter> |
Latest revision as of 16:06, 14 March 2023
Contents
\setupTABLE
Summary
The command \setupTABLE is used for the settings of TABLEs (“natural tables” AKA “HTML tables”)
Settings
\setupTABLE[...,...][...,...][...=...,...] | |
[...,...] | r c x y row column first last start header each odd even one number -number |
[...,...] | first least each two odd even number -number |
extras | command |
left | command |
right | command |
headcolor | color |
headstyle | style command |
leftmargindistance | dimension |
rightmargindistance | dimension |
columndistance | dimension |
maxwidth | dimension |
setups | name |
textwidth | dimension local |
split | yes no repeat auto |
header | repeat |
option | stretch tight |
before | command |
after | command |
samepage | before after both |
spaceinbetween | see \blank |
splitoffset | dimension |
aligncharacter | yes no |
alignmentcharacter | text number->text text->text |
distance | dimension |
color | color |
style | math style command |
...=...,... | inherits from \setupframed |
Option | Explanation | ||||||||
---|---|---|---|---|---|---|---|---|---|
Element that you want to influence | |||||||||
r | row | ||||||||
c | column | ||||||||
row | row | ||||||||
column | column | ||||||||
first | first (row/column) | ||||||||
last | last (row/column) | ||||||||
header | rows in header | ||||||||
each | each (row/column) | ||||||||
odd | each odd (row/column) | ||||||||
even | each even (row/column) | ||||||||
number | (row/column) no. # | ||||||||
-number | (row/column) no. # from bottom/right | ||||||||
headcolor |
| ||||||||
headstyle |
| ||||||||
leftmargindistance |
| ||||||||
rightmargindistance |
| ||||||||
columndistance |
| ||||||||
maxwidth |
| ||||||||
setups |
| ||||||||
textwidth |
| ||||||||
split |
| ||||||||
header |
| ||||||||
color |
| ||||||||
style |
|