ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] How to get enumerated tables to line up with the left edge of text?
       [not found] <1227924187.2952954.1735306289104.ref@mail.yahoo.com>
@ 2024-12-27 13:31 ` Joel via ntg-context
  2024-12-27 15:13   ` [NTG-context] " Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Joel via ntg-context @ 2024-12-27 13:31 UTC (permalink / raw)
  To: Mailing List for ConTeXt Users; +Cc: Joel


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

I created this simple example to show, when I add enumerations to my tables, its indenting the content. How can I stop this indentation from happening? I want the numbering to be consistent with the other numbers in my document, not indented.

--Joel
Example below:

\starttext

\input knuth

% notice that the numbers line up with the text to the left

    \startitemize[n]
        \startitem test\stopitem
        \startitem test2\stopitem
    \stopitemize

\input knuth

% notice that the text in this table lines up with the text to the left

        \starttabulate[|p|p|p|]
            \NC test    \NC info    \NC details    \NC\NR
            \NC test 2    \NC info    \NC details    \NC\NR
        \stoptabulate

\input knuth

% notice the numbering is indented from the left, no longer lines up

    \startitemize[n]
        \starttabulate[|p|p|p|]
            \NI test    \NC info    \NC details    \NC\NR
            \NI test 2    \NC info    \NC details    \NC\NR
        \stoptabulate
    \stopitemize

\input knuth

\stoptext



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

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

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

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

* [NTG-context] Re: How to get enumerated tables to line up with the left edge of text?
  2024-12-27 13:31 ` [NTG-context] How to get enumerated tables to line up with the left edge of text? Joel via ntg-context
@ 2024-12-27 15:13   ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2024-12-27 15:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Joel via ntg-context

Joel via ntg-context schrieb am 27.12.2024 um 14:31:
> I created this simple example to show, when I add enumerations to my 
> tables, its indenting the content. How can I stop this indentation from 
> happening? I want the numbering to be consistent with the other numbers 
> in my document, not indented.
> 
> --Joel
> 
> Example below:
> 
> \starttext
> 
> \input knuth
> 
> % notice that the numbers line up with the text to the left
> 
>      \startitemize[n]
>          \startitem test\stopitem
>          \startitem test2\stopitem
>      \stopitemize
> 
> \input knuth
> 
> % notice that the text in this table lines up with the text to the left
> 
>          \starttabulate[|p|p|p|]
>              \NC test    \NC info    \NC details    \NC\NR
>              \NC test 2    \NC info    \NC details    \NC\NR
>          \stoptabulate
> 
> \input knuth
> 
> % notice the numbering is indented from the left, no longer lines up
> 
>      \startitemize[n]
>          \starttabulate[|p|p|p|]
>              \NI test    \NC info    \NC details    \NC\NR
>              \NI test 2    \NC info    \NC details    \NC\NR
>          \stoptabulate
>      \stopitemize

\startitemize[n][width=0pt]
   \starttabulate[|p|p|p|]
   \NI test   \NC info \NC details \NC\NR
   \NI test 2 \NC info \NC details \NC\NR
   \stoptabulate
\stopitemize

or

\startitemizetable[n][n=3,width=0pt]
\NI test   \NC info \NC details \NC\NR
\NI test 2 \NC info \NC details \NC\NR
\stopitemizetable

Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2024-12-27 15:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1227924187.2952954.1735306289104.ref@mail.yahoo.com>
2024-12-27 13:31 ` [NTG-context] How to get enumerated tables to line up with the left edge of text? Joel via ntg-context
2024-12-27 15:13   ` [NTG-context] " Wolfgang Schuster

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).