[NTG-context] How to stop enumerated tabulate environments from shifting to the right?

fv leung fvleung at gmail.com
Sun Nov 13 00:14:37 CET 2022


Will this suit you?

\starttext
        \input knuth

        \startitemize[n]
            \item x
        \stopitemize


 \startitemize[n][leftmargindistance=-.1\textwidth,width=.1\textwidth]

 \starttabulate[|lp(.1\textwidth)|cp(.35\textwidth)|cp(.2\textwidth)|cp(.35\textwidth)|]
                \NI \NC \NC \NC\NR
                \NC \NC \NC \NC\NR
            \stoptabulate
        \stopitemize

        \input knuth
\stoptext


Joel via ntg-context <ntg-context at ntg.nl> 於 2022年11月13日 週日 凌晨12:11寫道:

> When I place a tabulate environment inside itemize, it indents and the
> entire table is shifted to the right about 1/2".
>
> \starttext
>         \input knuth
>
>         \startitemize[n]
>             \item x
>         \stopitemize
>
>         \startitemize[n]
>
>  \starttabulate[|lp(.1\textwidth)|cp(.35\textwidth)|cp(.2\textwidth)|cp(.35\textwidth)|]
>                 \NI \NC \NC \NC\NR
>                 \NC \NC \NC \NC\NR
>             \stoptabulate
>         \stopitemize
>
>         \input knuth
> \stoptext
>
> See this code which when compiled, the first itemize numbers line up with
> the left edge of text, but the one with tables indents. It also seems to
> spill into the right margin.
>
> How can I stop enumerated table environments from indenting?
>
> --Joel
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context at ntg.nl /
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : https://contextgarden.net
>
> ___________________________________________________________________________________
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20221113/fb7c15f0/attachment.htm>


More information about the ntg-context mailing list