Difference between revisions of "Command/setupTABLE"
< Command
Jump to navigation
Jump to search
m (TABLE page, not command) |
(explain more options) |
||
(One intermediate revision by the same user not shown) | |||
Line 7: | Line 7: | ||
<cd:arguments> | <cd:arguments> | ||
<cd:keywords list="yes" optional="yes" ordinal="1"> | <cd:keywords list="yes" optional="yes" ordinal="1"> | ||
− | <cd:keywordsdoc></cd:keywordsdoc> | + | <cd:keywordsdoc>Element that you want to influence</cd:keywordsdoc> |
− | <cd:constant type="r"></cd:constant> | + | <cd:constant type="r">row</cd:constant> |
− | <cd:constant type="c"></cd:constant> | + | <cd:constant type="c">column</cd:constant> |
<cd:constant type="x"></cd:constant> | <cd:constant type="x"></cd:constant> | ||
<cd:constant type="y"></cd:constant> | <cd:constant type="y"></cd:constant> | ||
− | <cd:constant type="row"></cd:constant> | + | <cd:constant type="row">row</cd:constant> |
− | <cd:constant type="column"></cd:constant> | + | <cd:constant type="column">column</cd:constant> |
− | <cd:constant type="first"></cd:constant> | + | <cd:constant type="first">first (row/column)</cd:constant> |
− | <cd:constant type="last"></cd:constant> | + | <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"></cd:constant> | + | <cd:constant type="header">rows in header</cd:constant> |
− | <cd:constant type="each"></cd:constant> | + | <cd:constant type="each">each (row/column)</cd:constant> |
− | <cd:constant type="odd"></cd:constant> | + | <cd:constant type="odd">each odd (row/column)</cd:constant> |
− | <cd:constant type="even"></cd:constant> | + | <cd:constant type="even">each even (row/column)</cd:constant> |
<cd:constant type="one"></cd:constant> | <cd:constant type="one"></cd:constant> | ||
− | <cd:constant type="cd:number"></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 51: | Line 51: | ||
</cd:parameter> | </cd:parameter> | ||
<cd:parameter name="headcolor"> | <cd:parameter name="headcolor"> | ||
− | <cd:paramdoc></cd:paramdoc> | + | <cd:paramdoc>text color in the table head</cd:paramdoc> |
<cd:constant type="cd:color"></cd:constant> | <cd:constant type="cd:color"></cd:constant> | ||
</cd:parameter> | </cd:parameter> | ||
<cd:parameter name="headstyle"> | <cd:parameter name="headstyle"> | ||
− | <cd:paramdoc></cd:paramdoc> | + | <cd:paramdoc>text style of the table head</cd:paramdoc> |
<cd:constant type="cd:style"></cd:constant> | <cd:constant type="cd:style"></cd:constant> | ||
<cd:constant type="cd:command"></cd:constant> | <cd:constant type="cd:command"></cd:constant> | ||
</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> | ||
<cd:parameter name="setups"> | <cd:parameter name="setups"> | ||
− | <cd:paramdoc></cd:paramdoc> | + | <cd:paramdoc>use a named setup</cd:paramdoc> |
<cd:constant type="cd:name"></cd:constant> | <cd:constant type="cd:name"></cd:constant> | ||
</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 86: | Line 86: | ||
<cd:parameter name="split"> | <cd:parameter name="split"> | ||
<cd:paramdoc></cd:paramdoc> | <cd:paramdoc></cd:paramdoc> | ||
− | <cd:constant type="yes"></cd:constant> | + | <cd:constant type="yes">allow splitting of the table over pages/columns, head only once</cd:constant> |
− | <cd:constant type="no"></cd:constant> | + | <cd:constant type="no">no splitting</cd:constant> |
− | <cd:constant type="repeat"></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></cd:paramdoc> | + | <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> | ||
Line 138: | Line 138: | ||
</cd:parameter> | </cd:parameter> | ||
<cd:parameter name="color"> | <cd:parameter name="color"> | ||
− | <cd:paramdoc></cd:paramdoc> | + | <cd:paramdoc>text color in table content</cd:paramdoc> |
<cd:constant type="cd:color"></cd:constant> | <cd:constant type="cd:color"></cd:constant> | ||
</cd:parameter> | </cd:parameter> | ||
<cd:parameter name="style"> | <cd:parameter name="style"> | ||
− | <cd:paramdoc></cd:paramdoc> | + | <cd:paramdoc>text style of table content</cd:paramdoc> |
<cd:constant type="math"></cd:constant> | <cd:constant type="math"></cd:constant> | ||
<cd:constant type="cd:style"></cd:constant> | <cd:constant type="cd:style"></cd:constant> |
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 |
|