Difference between revisions of "Command/definetabulate"
< Command
m (moved Reference/en/definetabulate to Command/definetabulate: Text replace - "Reference/en/" to "Command/") |
BruceH2020 (talk | contribs) m (Changed the example to show the source as well as the output.) |
||
(10 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
|attributes= | |attributes= | ||
}} | }} | ||
+ | |||
+ | == [[Help:Reference|Syntax]] (autogenerated) == | ||
+ | <syntax>definetabulate</syntax> | ||
== [[Help:Reference|Syntax]] == | == [[Help:Reference|Syntax]] == | ||
Line 11: | Line 14: | ||
<tr valign="top" class="first"> | <tr valign="top" class="first"> | ||
<td class="cmd">[...]</td> | <td class="cmd">[...]</td> | ||
− | <td>name </td> | + | <td>name</td> |
</tr> | </tr> | ||
<tr valign="top" class="second"> | <tr valign="top" class="second"> | ||
<td class="cmd">[...]</td> | <td class="cmd">[...]</td> | ||
− | <td>name </td> | + | <td>name of variant or sub-part</td> |
</tr> | </tr> | ||
<tr valign="top" class="third"> | <tr valign="top" class="third"> | ||
<td class="cmd">[...]</td> | <td class="cmd">[...]</td> | ||
− | <td>text </td> | + | <td>text</td> |
</tr> | </tr> | ||
</table> | </table> | ||
Line 25: | Line 28: | ||
== Description == | == Description == | ||
+ | == Example == | ||
+ | <context source=yes> | ||
+ | \definetabulate | ||
+ | [whatever] | ||
+ | [|l|r|] | ||
+ | |||
+ | \definetabulate | ||
+ | [whatever][else] | ||
+ | [|l|c|r|] | ||
+ | |||
+ | \startwhatever | ||
+ | \NC l \NC r \NC \NR | ||
+ | \NC left \NC right \NC \NR | ||
+ | \stopwhatever | ||
+ | \startwhatever[else] | ||
+ | \NC l \NC m \NC r \NC \NR | ||
+ | \NC left \NC middle \NC right \NC \NR | ||
+ | \stopwhatever | ||
− | = | + | % possible since the beta of 2012-10-17 |
− | < | + | % \startwhatever[else][format={|c|c|c|c|}] |
+ | % \NC l \NC m \NC m \NC r \NC \NR | ||
+ | % \NC left \NC middle \NC middle \NC right \NC \NR | ||
+ | % \stopwhatever | ||
+ | |||
+ | \stoptext | ||
+ | </context> | ||
== See also == | == See also == | ||
− | + | * {{cmd|setuptabulate}} | |
+ | * {{cmd|starttabulate}} | ||
+ | * {{cmd|defineparagraphs}} for paragraphs placed side-by-side in a tabular style. | ||
− | + | == Help from ConTeXt-Mailinglist/Forum == | |
+ | All issues with: | ||
+ | {{Forum|{{SUBPAGENAME}}}} | ||
− | [[Category: | + | [[Category:Command/Tables|definetabulate]] |
Latest revision as of 23:40, 8 March 2023
\definetabulate
Syntax (autogenerated)
\definetabulate[...][...][|...|] | |
[...] | name |
[...] | name |
[|...|] | template |
Syntax
\definetabulate[...][...][...] | |
[...] | name |
[...] | name of variant or sub-part |
[...] | text |
Description
Example
\definetabulate [whatever] [|l|r|] \definetabulate [whatever][else] [|l|c|r|] \startwhatever \NC l \NC r \NC \NR \NC left \NC right \NC \NR \stopwhatever \startwhatever[else] \NC l \NC m \NC r \NC \NR \NC left \NC middle \NC right \NC \NR \stopwhatever % possible since the beta of 2012-10-17 % \startwhatever[else][format={|c|c|c|c|}] % \NC l \NC m \NC m \NC r \NC \NR % \NC left \NC middle \NC middle \NC right \NC \NR % \stopwhatever \stoptext
See also
- \setuptabulate
- \starttabulate
- \defineparagraphs for paragraphs placed side-by-side in a tabular style.
Help from ConTeXt-Mailinglist/Forum
All issues with: