Difference between revisions of "Command/setupTABLE"
< Command
Jump to navigation
Jump to search
m (TABLE page, not command) |
m (explain some options) |
||
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">(each) first (row/column)</cd:constant> |
− | <cd:constant type="last"></cd:constant> | + | <cd:constant type="last">(each) 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">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"></cd:constant> | ||
</cd:keywords> | </cd:keywords> | ||
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> | ||
Line 76: | Line 76: | ||
</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> | ||
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"></cd:constant> | ||
</cd:parameter> | </cd:parameter> | ||
<cd:parameter name="header"> | <cd:parameter name="header"> | ||
− | <cd:paramdoc></cd:paramdoc> | + | <cd:paramdoc>same as split=repeat?</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> |
Revision as of 17:01, 12 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 | (each) first (row/column) | ||||||
last | (each) last (row/column) | ||||||
header | header | ||||||
each | each (row/column) | ||||||
odd | each odd (row/column) | ||||||
even | each even (row/column) | ||||||
number | (row/column) no. # | ||||||
headcolor |
| ||||||
headstyle |
| ||||||
setups |
| ||||||
split |
| ||||||
header |
| ||||||
color |
| ||||||
style |
|