ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Lukas via ntg-context <ntg-context@ntg.nl>
To: ConTeXt <ntg-context@ntg.nl>
Cc: context@vivaldi.net
Subject: [NTG-context] Arranging bullets within tabulate and itemize
Date: Wed, 19 Jun 2024 15:19:22 +0000	[thread overview]
Message-ID: <602ac57f4ed7698d8886e283d36ca41b@vivaldi.net> (raw)

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

Hello,

here is a simple code:

----
\definedescription[Mat]
   [headstyle=bi,
    
text={Foo},alternative=serried,width_=fit,indenting_={yes,medium},indenting_=no,align_=left,indentnext_=no,hang_=none,
   ]

\starttext

   \startMat
     \startitemize[packed,][]
       \starttabulate[|l|l|l|]
         \NI Aaa \NC Aa \NC\AR
         \NI Bbb \NC Bb \NC\AR
       \stoptabulate
     \stopitemize
   \stopMat

   \startMat
     \startitemize[packed_,joinedup_][afterhead=,]
       \head Ttt \par
         Tt

       \head Uuu \par
         Uu
     \stopitemize
   \stopMat

\stoptext
----

which produces something like:

Foo
   • Aaa Aa
   • Bbb Bb

Foo
• Ttt
Tt
• Uuu
Uu


I cannot find out how to arrange the tabulate bullets straight above 
those of itemize, so how to supress the left indeting, to get:

Foo
• Aaa Aa
• Bbb Bb

Foo
• Ttt
Tt
• Uuu
Uu

How do I achieve this?

TIA.

Best regards,

Lukas

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

\definedescription[Mat]
  [headstyle=bi,
   text={Foo},alternative=serried,width_=fit,indenting_={yes,medium},indenting_=no,align_=left,indentnext_=no,hang_=none,
  ]

\starttext

  \startMat
    \startitemize[packed,][]
      \starttabulate[|l|l|l|]
        \NI Aaa \NC Aa \NC\AR
        \NI Bbb \NC Bb \NC\AR
      \stoptabulate
    \stopitemize
  \stopMat

  \startMat
    \startitemize[packed_,joinedup_][afterhead=,]
      \head Ttt \par
        Tt

      \head Uuu \par
        Uu
    \stopitemize
  \stopMat

\stoptext

[-- Attachment #3: 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
___________________________________________________________________________________

             reply	other threads:[~2024-06-19 15:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-19 15:19 Lukas via ntg-context [this message]
2024-06-19 17:28 ` [NTG-context] " Wolfgang Schuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=602ac57f4ed7698d8886e283d36ca41b@vivaldi.net \
    --to=ntg-context@ntg.nl \
    --cc=context@vivaldi.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).