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: Sat, 17 Sep 2016 16:48:01 +0200	[thread overview]
Message-ID: <CAHy-LL9cjx46nJJM+UMpoSBRG4nsgzjW2A9z9wnJGaBHp=a6ag@mail.gmail.com> (raw)
In-Reply-To: <CAHy-LL8Ppt_0f4pLLBWyys2wG4uCXji+JsH6atre2Oz1PRgCEw@mail.gmail.com>

On Sat, Sep 17, 2016 at 2:12 PM, Mikael P. Sundqvist <mickep@gmail.com> wrote:
> On Sat, Sep 17, 2016 at 1:51 PM, Wolfgang Schuster
> <schuster.wolfgang@gmail.com> wrote:
>> Mikael P. Sundqvist
>> 17. September 2016 um 08:14
>> Hi!
>>
>> I wonder if it is possible to automatically have the itemize in
>> columns and have the order changed (in effect, the whole itemization
>> should be transposed) so that one gets
>>
>> a b c
>> d e f
>>
>> instead of
>>
>> a c e
>> b d f
>>
>> With automatically, I mean that one could use some keyword instead of adding
>> a
>> \stopitemize\startitemize[continued] in the middle (found here:
>> http://wiki.contextgarden.net/Enumerations#Multicolumn)
>>
>> \starttext
>>
>> \startitemize[a,horizontal,three]
>> \startitem $\int_0^2 1+2x\,dx$ \stopitem
>> \startitem $\int_0^{\ln 2} e^s\,ds$ \stopitem
>> \startitem $\int_0^{\ln 2} e^{2s}\,ds$ \stopitem
>> \startitem $\int_0^{\pi} \sin t\,dt$ \stopitem
>> \startitem $\int_0^{2\pi}\sin t\,dt$ \stopitem
>> \startitem $\int_0^1\frac{1}{1+x^2}\,dx$ \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://tex.aanhet.net
>> archive  : http://foundry.supelec.fr/projects/contextrev/
>> wiki     : http://contextgarden.net
>> ___________________________________________________________________________________
>
> Thank you very much!
>
> I updated the wiki entry
> (http://wiki.contextgarden.net/Enumerations#Multicolumn), I hope it is
> appropriate.
>
> /Mikael

Out of curiosity:

Is there a reason why the above does not work using \item, like

\startitemize[a,horizontal,three]
\item $\int_0^2 1+2x\,dx$
\item $\int_0^{\ln 2} e^s\,ds$
\item $\int_0^{\ln 2} e^{2s}\,ds$
\item $\int_0^{\pi} \sin t\,dt$
\item $\int_0^{2\pi}\sin t\,dt$
\item $\int_0^1\frac{1}{1+x^2}\,dx$
\stopitemize

but only with \startitem ... \stopitem? It is not that I have anything
against using the \start...\stop... mechanism, but just curiosity.

/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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2016-09-17 14:48 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 [this message]
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

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-LL9cjx46nJJM+UMpoSBRG4nsgzjW2A9z9wnJGaBHp=a6ag@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).