ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Alignment of bullets withn \tabulate within \itemize
@ 2021-08-04 15:03 Lukas/ConTeXt via ntg-context
  2021-08-04 18:44 ` Wolfgang Schuster via ntg-context
  0 siblings, 1 reply; 3+ messages in thread
From: Lukas/ConTeXt via ntg-context @ 2021-08-04 15:03 UTC (permalink / raw)
  To: ntg-context; +Cc: Lukas/ConTeXt

[-- Attachment #1: Type: text/plain, Size: 457 bytes --]

Hello,

let's have the following sample:

----
\starttext
  \startitemize[packed_,][headstyle_=,]
    \item CC

    \starttabulate[|l|||]
      \NI aa \NC bb \NC\NR
    \stoptabulate

    \item AA
  \stopitemize
\stoptext
----

How do I make bullets (\itemtag) horizontally aligned one bellow another?

In my case - bullets within \tabulate are indented (shifted rightwards) somehow, which is undesired.

TIA.

Best regards,

Lukas

[-- Attachment #2: t.mkiv --]
[-- Type: text/plain, Size: 187 bytes --]

\starttext
  \startitemize[packed_,][headstyle_=,]
    \item CC

    \starttabulate[|l||p|]
      \NI aa \NC bb \NC\NR
    \stoptabulate

    \item AA
  \stopitemize
\stoptext

[-- Attachment #3: t.pdf --]
[-- Type: application/pdf, Size: 5667 bytes --]

[-- Attachment #4: Type: text/plain, Size: 493 bytes --]

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Alignment of bullets withn \tabulate within \itemize
  2021-08-04 15:03 Alignment of bullets withn \tabulate within \itemize Lukas/ConTeXt via ntg-context
@ 2021-08-04 18:44 ` Wolfgang Schuster via ntg-context
  2021-08-05 13:59   ` Fwd: " Lukas/ConTeXt via ntg-context
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster via ntg-context @ 2021-08-04 18:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Wolfgang Schuster



Lukas/ConTeXt via ntg-context schrieb am 04.08.2021 um 17:03:
> Hello,
> 
> let's have the following sample:
> 
> ----
> \starttext
>    \startitemize[packed_,][headstyle_=,]
>      \item CC
> 
>      \starttabulate[|l|||]
>        \NI aa \NC bb \NC\NR
>      \stoptabulate
> 
>      \item AA
>    \stopitemize
> \stoptext
> ----
> 
> How do I make bullets (\itemtag) horizontally aligned one bellow another?
> 
> In my case - bullets within \tabulate are indented (shifted rightwards) somehow, which is undesired.


You can use the 'intext' keyword but this works only well for short 
texts, otherwise text continus below the bullet point.

\starttext

\startitemize[intext]
     \item XXX
     \starttabulate[|l|||]
     \NI aa \NC bb \NC\NR
     \stoptabulate
     \item YYY
\stopitemize

\stoptext

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Fwd: Re:  Alignment of bullets withn \tabulate within \itemize
  2021-08-04 18:44 ` Wolfgang Schuster via ntg-context
@ 2021-08-05 13:59   ` Lukas/ConTeXt via ntg-context
  0 siblings, 0 replies; 3+ messages in thread
From: Lukas/ConTeXt via ntg-context @ 2021-08-05 13:59 UTC (permalink / raw)
  To: ntg-context; +Cc: Lukas/ConTeXt

[-- Attachment #1: Type: text/plain, Size: 1729 bytes --]

Hello Wolfgang,

this look good, thank you.

See my slightly modified sample - is there a way to make "MT" horizontally aligned, too?
- That within \tabulate is shifted somehow, neither "i0" (\starttabulate[|l|pi0|p|]) produces well aligned result.

----
\starttext
  \startitemize[packed_,intext][headstyle_=,]
    \item MT

    \starttabulate[|l|p|p|]
    %\starttabulate[|l|pi0|p|]
      \NI MT \NC MT \NC\AR
      \NI M\input knuth \NC M\input knuth \NC\AR
    \stoptabulate

    \item MT
  \stopitemize
\stoptext
----

Thanks anyway.

Best regards,

Lukas

---------- Původní e-mail ----------

Od: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
Komu: mailing list for ConTeXt users <ntg-context@ntg.nl>
Datum: 4. 8. 2021 20:44:31
Předmět: Re: [NTG-context] Alignment of bullets withn \tabulate within \itemize

Lukas/ConTeXt via ntg-context schrieb am 04.08.2021 um 17:03:

> Hello,
>
> let's have the following sample:
>
> ----
> \starttext
>    \startitemize[packed_,][headstyle_=,]
>      \item CC
>
>      \starttabulate[|l|||]
>        \NI aa \NC bb \NC\NR
>      \stoptabulate
>
>      \item AA
>    \stopitemize
> \stoptext
> ----
>
> How do I make bullets (\itemtag) horizontally aligned one bellow another?
>
> In my case - bullets within \tabulate are indented (shifted rightwards) somehow, which is undesired.

You can use the 'intext' keyword but this works only well for short texts, otherwise text continus below the bullet point.

\starttext
\startitemize[intext]
     \item XXX
     \starttabulate[|l|||]
     \NI aa \NC bb \NC\NR
     \stoptabulate
     \item YYY
\stopitemize
\stoptext

Wolfgang

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: t.mkiv --]
[-- Type: text/x-tex; name=t.mkiv, Size: 276 bytes --]

\starttext
  \startitemize[packed_,intext][headstyle_=,]
    \item MT

    \starttabulate[|l|p|p|]
    %\starttabulate[|l|pi0|p|]
      \NI MT \NC MT \NC\AR
      \NI M\input knuth \NC M\input knuth \NC\AR
    \stoptabulate

    \item MT
  \stopitemize
\stoptext

[-- Attachment #3: t.pdf --]
[-- Type: application/pdf, Size: 10701 bytes --]

[-- Attachment #4: Type: text/plain, Size: 493 bytes --]

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2021-08-05 13:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-04 15:03 Alignment of bullets withn \tabulate within \itemize Lukas/ConTeXt via ntg-context
2021-08-04 18:44 ` Wolfgang Schuster via ntg-context
2021-08-05 13:59   ` Fwd: " Lukas/ConTeXt 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).