Difference between revisions of "Command/definetabulate"

From Wiki
Jump to navigation Jump to search
(Category Tables; add See Also)
(3 intermediate revisions by 2 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 26: Line 29:
  
 
== Example ==
 
== Example ==
<!-- Please fill in an example if you can -->
+
<context mode=mkiv>
 +
\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 ==
Line 32: Line 61:
 
* {{cmd|starttabulate}}
 
* {{cmd|starttabulate}}
 
* {{cmd|defineparagraphs}} for paragraphs placed side-by-side in a tabular style.
 
* {{cmd|defineparagraphs}} for paragraphs placed side-by-side in a tabular style.
 
  
 
== Help from ConTeXt-Mailinglist/Forum ==
 
== Help from ConTeXt-Mailinglist/Forum ==

Revision as of 20:25, 13 January 2020

\definetabulate

Syntax (autogenerated)

\definetabulate[...][...][|...|]
[...]name
[...]name
[|...|]template


Syntax

\definetabulate[...][...][...]
[...] name
[...] name of variant or sub-part
[...] text

Description

Example

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: