Difference between revisions of "Command/definetabletemplate"

From Wiki
Jump to navigation Jump to search
(Create reference page)
 
 
(12 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<!-- please remove this and the following line if you have checked this page -->
 
{{Reference_Cleanup}}
 
 
{{Reference
 
{{Reference
 
|name=definetabletemplate
 
|name=definetabletemplate
 
|attributes=
 
|attributes=
 
}}
 
}}
 +
 +
== [[Help:Reference|Syntax]] (autogenerated) ==
 +
<syntax>definetabletemplate</syntax>
  
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
Line 29: Line 30:
 
</table>
 
</table>
  
 +
== Description ==
  
== Description ==
+
This command can be used to remember certain table-preambles, see chapter 9 in [http://www.tug.org/TUGboat/Articles/tb29-1/tb91mahajan.pdf Table macros II] by Aditya Mahajan (2008).
  
 +
== Example ==
  
 +
<context source=yes text="This gives:">
 +
\definetabletemplate[booktabs][o0|l|l|ro0|]
  
== Example ==
+
\starttable[booktabs]
<!-- Please fill in an example if you can -->
+
\NC first column \NC second column \NC third column \NC \AR
 +
\stoptable
 +
</context>
  
 
== See also ==
 
== See also ==
<!-- something like [[cmd:goto|\goto]] -->
+
* {{cmd|starttable}}, the command for which {{cmd|definetabletemplate}} remembers the options
 +
 
 +
== Help from ConTeXt-Mailinglist/Forum ==
 +
All issues with:
 +
{{Forum|{{SUBPAGENAME}}}}
  
[[Category:Reference/en|definetabletemplate]]
+
[[Category:Command/Tables|definetabletemplate]]

Latest revision as of 20:24, 13 January 2020

\definetabletemplate

Syntax (autogenerated)

\definetabletemplate[...][|...|][...][...]
[...]name
[|...|]template
[...]name
[...]name


Syntax

\definetabletemplate[...][...][...][...]
[...] name
[...] text
[...] text
[...] text

Description

This command can be used to remember certain table-preambles, see chapter 9 in Table macros II by Aditya Mahajan (2008).

Example

\definetabletemplate[booktabs][o0|l|l|ro0|]

\starttable[booktabs]
	\NC first column \NC second column \NC third column \NC \AR
\stoptable

This gives:

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: