ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Mikael P. Sundqvist" <mickep@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: itemize columns transposed
Date: Tue, 11 Oct 2016 12:35:19 +0200	[thread overview]
Message-ID: <CAHy-LL-BRqDBKbUt6dBoUKANvqYGrjx+jWoU1OeFFxpStWZ0gA@mail.gmail.com> (raw)
In-Reply-To: <57FCB2E7.3040600@gmail.com>

On Tue, Oct 11, 2016 at 11:37 AM, Wolfgang Schuster
<schuster.wolfgang@gmail.com> wrote:
> Mikael P. Sundqvist
> 11. Oktober 2016 um 11:21
>
> Thank you, the notjoinedup works well, but I cannot see any difference
> using any of the keys unpacked or notpacked.
>
> Is there any chance to have the before, after and inbetween keys to
> set the space manually?
>
> The before should be usable when you add the "notjoinedup" but inbetween
> will never be supported
> for horizontal items because all entries are in a single paragraph.
>
>
> To increase the distance between the lines you can change the
> interlinespace, e.g.
>
> \starttext
>
> \startitemize[a,horizontal][inner={\setupinterlinespace[line=6ex]}]
>     \startitem First \stopitem
>     \startitem Second \stopitem
>     \startitem Third \stopitem
>     \startitem Fourth \stopitem
> \stopitemize
>
> \stoptext
>
>
> or add a invisible symbol with increased height/depth at the begin of each
> item, e.g.
>
> \define\HorizontalItem
>   {\phantombox[height=\strutht,depth=\dimexpr\strutdp+\lineheight\relax]}
>
> \starttext
>
> \startitemize[a,horizontal][command=\HorizontalItem]
>     \startitem First \stopitem
>     \startitem Second \stopitem
>     \startitem Third \stopitem
>     \startitem Fourth \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  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

Many thanks Wolfgang!

Now I know that the inbetween will never work, but that is not a
problem, since your inner= solution worked very well in my document!

The setup I ended up using (and that seems to work all over the ~160
pages document) is

\defineitemgroup[abc]
\setupitemgroup[abc][each][a,horizontal,three,intro,notjoinedup][
stopper=,
right=),
margin=,
before={\blank[medium,samepage]},
inner={\setupinterlinespace[line=3.5ex]},
]

Best regards, Mikael
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

      reply	other threads:[~2016-10-11 10:35 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-17  6:14 Mikael P. Sundqvist
2016-09-17 11:51 ` Wolfgang Schuster
2016-09-17 12:12   ` Mikael P. Sundqvist
2016-09-17 14:48     ` Mikael P. Sundqvist
2016-09-17 21:07       ` Aditya Mahajan
2016-09-18  6:27         ` Mikael P. Sundqvist
2016-09-22  6:44           ` Mikael P. Sundqvist
2016-10-02 18:08             ` Mikael P. Sundqvist
2016-10-10  8:24               ` Hans Hagen
2016-10-10  8:28                 ` Hans Hagen
2016-10-11  9:21                   ` Mikael P. Sundqvist
2016-10-11  9:37                     ` Wolfgang Schuster
2016-10-11 10:35                       ` Mikael P. Sundqvist [this message]

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=CAHy-LL-BRqDBKbUt6dBoUKANvqYGrjx+jWoU1OeFFxpStWZ0gA@mail.gmail.com \
    --to=mickep@gmail.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).