[NTG-context] \tab inside layer?

Hans Hagen pragma at wxs.nl
Thu Oct 17 10:12:01 CEST 2013


On 10/16/2013 9:55 PM, Pablo Rodriguez wrote:
> Dear list,
>
> I have this minimal sample:
>
>      \definelayer[MyLayer][state=start]
>      \setlayerframed[MyLayer]{\tab{one} tab\\
>      \tab{another} tab}
>      \setupbackgrounds[page][background=MyLayer]
>      \starttext
>      \input knuth
>      \stoptext
>
> 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


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list