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

2022-11-12 Thread fv leung via ntg-context
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  於 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@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
>
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@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
___


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

2022-11-12 Thread Joel via ntg-context
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@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
___