Changes

Jump to navigation Jump to search
1,227 bytes added ,  11:54, 21 December 2018
m
Document that [] is required for \starttabulatehead in MkIV. Email by Wolfgang Schuster 2018-11-12.
* <cmd>NR</cmd> starts a new row,
* <cmd>NB</cmd> starts a new row as a block (avoids page breaking inside of a block, to keep some lines together<!--; available since beta of 2011-12-21-->);
* <cmd>TB</cmd> (= "Table Blank") adds some vertical space between rows -- see an example bellow,* <cmd>VL</cmd> (instead of <cmd>NC</cmd>) draws a vertical rule -- for more info see below
When using fixed width, you can use values relative to the
Tabulate supports header rows that can be repeated over new table
pages instead of the title.
There is a separate environment {{cmd|starttableheadstarttabulatehead}} where
this header row has to be specified in advance of its use in a
tabulation.
 
In ConTeXt MkIV the command requires an additional [], thus you need
to write {{cmd|starttabulatehead}}[] instead.
{|
If you always need math in one column, consider math mode columns:
<texcode>\starttabulate[|m|m|]
\HL
\NC 10e-3 \NC 10e+3 \NR
=Itemization or framed objects inside a tabulation=
<!--(added by Willi Egger 04-08-2011, edited by Hraban 2015-10-06)-->
The following issue is related to MkIV:
\NC\NR
\stoptabulate
</texcode>
 
The same is true if you use {{cmd|framed}} or something that uses it internally, like [[Widgets]], within Tabulate.
 
=Combining enumerations and tabulations=
 
{{cmd|NI}} (new item) exists since 2017-09-25. {{cmd|itemtag}} is old, but undocumented. Source: http://source.contextgarden.net/tex/context/base/mkiv/strc-itm.mkvi?search=itemtag
 
<context mode=mkiv source=yes>
\startitemize[n]
\starttabulate[|||||]
\NC p \NC \itemtag \NC q \NC r \NC \NR
\NC p \NC \itemtag \NC q \NC r \NC \NR
\NC p \NC \itemtag \NC q \NC r \NC \NR
\NC p \NC \itemtag \NC q \NC r \NC \NR
\stoptabulate
\stopitemize
</context>
 
<texcode>
\startitemize[n]
\starttabulate[|||||]
\NI x \NC y \NC z \NC \NR
\NI x \NC y \NC z \NC \NR
\NI x \NC y \NC z \NC \NR
\NI x \NC y \NC z \NC \NR
\stoptabulate
\stopitemize
 
\startitemize[n]
\starttabulate[|||||]
\NI b \NC c \NC d \NC \NR
\NC a \NI c \NC d \NC \NR
\NC a \NC b \NI d \NC \NR
\NC a \NC b \NC c \NI \NR
\stoptabulate
\stopitemize
</texcode>
4

edits

Navigation menu