ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mike Cooper <mike@murchisondrillingschools.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: spacing before items
Date: Wed, 17 Jun 2020 19:50:19 +0000	[thread overview]
Message-ID: <SN6PR11MB25769A1F758CDA37F0F90232BD9A0@SN6PR11MB2576.namprd11.prod.outlook.com> (raw)
In-Reply-To: <8fa89bf7-1d48-b875-2768-bb1f6f96ce2e@gmail.com>

I really should have fiddled with this before thanking you, Wolfgang.  I was focused on catching up on email etc. this morning.

Thanks for trying though!

Your "answer" is pretty much coded code to me.  I don't understand it and don't have the first notion of how to implement it in my file.  For one thing,  I have no clue what "ttbf" means.  Can't find it on the wiki or in the manuals.  Google says it's the Texas Teen Book Festival but I'm guessing that ain't it.  ???

Thanks anyway!



-----Original Message-----
From: ntg-context [mailto:ntg-context-bounces@ntg.nl] On Behalf Of Wolfgang Schuster
Sent: Tuesday, June 16, 2020 1:14 PM
To: mailing list for ConTeXt users
Subject: Re: [NTG-context] spacing before items

Mike Cooper schrieb am 16.06.2020 um 19:51:
> Hello list,
> 
> Another very simple issue—no doubt the answer is right in front of me 
> but I can’t find it or figure it out…
> 
> (Please let me know where it is!)
> 
> I want more space before each top-level item.MWE:
> 
> \defineitemgroup[mdshw][levels=2]
> 
> \setupitemgroup[mdshw][1][n]
> 
> \setupitemgroup[mdshw][2][a, packed, 1*broad][left=(, right=), stopper=]
> 
> \starttext
> 
> \startsection{First Section}

\startsection[title={...}]


The first entry uses the "before" value while inner entries use "inbetween".

\starttext

\setupitemgroup
   [itemize][1]
   [   before={\endgraf{\ttbf    [before]}\endgraf},
    inbetween={\endgraf{\ttbf [inbetween]}\endgraf},
        after={\endgraf{\ttbf     [after]}\endgraf}]

\startitemize
     \startitem Choose the correct answer.
         \startitemize
         \item This one
         \item This one
         \stopitemize
     \stopitem
     \startitem Choose the correct answer.
         \startitemize
         \item This one
         \item This one
         \stopitemize
     \stopitem
\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
___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________

  parent reply	other threads:[~2020-06-17 19:50 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-16 17:51 Mike Cooper
2020-06-16 19:13 ` Wolfgang Schuster
2020-06-17 15:04   ` Mike Cooper
2020-06-17 19:50   ` Mike Cooper [this message]
2020-06-17 20:26     ` Henning Hraban Ramm
2020-06-17 20:34       ` Mike Cooper
2020-06-17 20:44     ` Wolfgang Schuster
2020-06-17 21:03       ` Mike Cooper
2020-06-17 21:14         ` Hans Hagen
2020-06-16 19:18 ` Tomas Hala
2020-06-17 15:13   ` Mike Cooper
2020-06-23 21:18     ` David Rogers
2020-06-23 22:00       ` Mike Cooper
2020-06-24  6:49         ` Hans Hagen
2020-06-24 17:41           ` Mike Cooper
2020-06-24 20:19             ` Henning Hraban Ramm
2020-06-24 21:11               ` Mike Cooper
2020-06-24 21:42                 ` Henning Hraban Ramm
2020-06-25 18:28         ` David Rogers
2020-06-29 14:46           ` Mike Cooper
     [not found] <mailman.342.1592329885.1283.ntg-context@ntg.nl>
2020-06-16 19:29 ` jkitz

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=SN6PR11MB25769A1F758CDA37F0F90232BD9A0@SN6PR11MB2576.namprd11.prod.outlook.com \
    --to=mike@murchisondrillingschools.com \
    --cc=ntg-context@ntg.nl \
    /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).