ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* How to stop enumerated tabulate environments from shifting to the right?
       [not found] <1263913455.1870856.1668269480972.ref@mail.yahoo.com>
@ 2022-11-12 16:11 ` Joel via ntg-context
  2022-11-12 23:14   ` fv leung via ntg-context
  0 siblings, 1 reply; 2+ messages in thread
From: Joel via ntg-context @ 2022-11-12 16:11 UTC (permalink / raw)
  To: Mailing List for ConTeXt Users; +Cc: Joel


[-- Attachment #1.1: Type: text/plain, Size: 861 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 496 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to stop enumerated tabulate environments from shifting to the right?
  2022-11-12 16:11 ` How to stop enumerated tabulate environments from shifting to the right? Joel via ntg-context
@ 2022-11-12 23:14   ` fv leung via ntg-context
  0 siblings, 0 replies; 2+ messages in thread
From: fv leung via ntg-context @ 2022-11-12 23:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: fv leung


[-- Attachment #1.1: Type: text/plain, Size: 1893 bytes --]

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@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@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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 3427 bytes --]

[-- Attachment #2: Type: text/plain, Size: 496 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-12 23:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1263913455.1870856.1668269480972.ref@mail.yahoo.com>
2022-11-12 16:11 ` How to stop enumerated tabulate environments from shifting to the right? Joel via ntg-context
2022-11-12 23:14   ` fv leung via ntg-context

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).