Am 22.05.2013 um 15:20 schrieb Procházka Lukáš Ing. - Pontex s. r. o. 
<l...@pontex.cz>:

> Hello,
> 
> are there more ways how to affect vertical distance between rows within 
> \start/stop-tabulate?
> 
> 1) There is one, described on wiki (http://wiki.contextgarden.net/Tabulate):
> 
> ----
> \unprotect
> \appendtoks
>  \blank[halfline]
> \to \t_tabl_tabulate_every_after_row
> \protect

This is only a hack and shouldn’t be used.

> Its problem is that I don't know how to call it by Lua.
> The following code fails:
> 
> ----
>  \startluacode
>    context[[
> \unprotect
> \appendtoks
>  \blank[halfline]
> \to \t_tabl_tabulate_every_after_row
> \protect
> ]]
>  \stopluacode
> 
> ...
> ----
> 
> So how to make it acceptable by Ctx?
> 
> 
> 2) Is there another way, e.g. inserting something each time before \NC\NR or 
> elsewhere)?
> 
> This brings no effect:
> 
> ----
>  \starttabulate[|l|r|]
>    \NC a \NC b \blank\NC\blank\NR
>    \NC A \NC B \NC\NR
>  \stoptabulate
> ----
> 
> As I intend to typeset a table (into tabulate) via Lua, adding an extra 
> sequence/command anywhere when a table row is typeset is no problem.


You can use the \TB which accepts the same keywords as \blank.

\starttext

\starttabulate
\NC one  \NC two   \NC\NR 
\NC two  \NC three \NC\NR 
\TB[line]
\NC four \NC five  \NC\NR 
\TB[1cm]
\NC six  \NC seven \NC\NR 
\stoptabulate

\stoptext

Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to