[NTG-context] \tab inside layer?

Pablo Rodriguez oinos at gmx.es
Thu Oct 17 17:18:58 CEST 2013


On 10/17/2013 10:12 AM, Hans Hagen wrote:
> On 10/16/2013 9:55 PM, Pablo Rodriguez wrote:
>> [...]
>> Is there no way to get a tabular space within a layer?
> 
> \definelayer[MyLayer][state=start]
> \setlayerframed[MyLayer][align=normal,offset=overlay]
>    {\setuptabulate[before=,after=]
>     \starttabulate[|l|l|]
>      \NC one \NC tab \NC \NR
>      \NC one \NC tab \NC \NR
>      \stoptabulate}
> \setupbackgrounds[page][background=MyLayer]
> 
> \starttext
>      \input knuth
> \stoptext

Many thanks for the reply, Hans.

I tried before without the align=normal option and it couldn’t compile.


Pablo
-- 
http://www.ousia.tk


More information about the ntg-context mailing list