ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Fabrice Couvreur <fabrice1.couvreur@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Multicolumn enumeration in a column
Date: Tue, 2 Jan 2018 23:21:13 +0100	[thread overview]
Message-ID: <CACyK-epnQx7-iQ5eAC7waL7kPtvWtPvhgOU1RMtSsFrYHAwZxA@mail.gmail.com> (raw)
In-Reply-To: <C26CB6C1-489C-4848-B383-4304C4A6101E@icloud.com>


[-- Attachment #1.1: Type: text/plain, Size: 6494 bytes --]

Hi Jan Willem,
Thank you, it's a good idea !
Fabrice

2018-01-02 18:06 GMT+01:00 Jan Willem Flamma <jwfregister@icloud.com>:

> Fabrice,
>
> Please have a look at:
> https://www.mail-archive.com/ntg-context@ntg.nl/msg86189.html
>
> Kind regards,
> Jan Willem Flamma
>
>
> On 31 Dec 2017, at 11:57, Fabrice Couvreur <fabrice1.couvreur@gmail.com>
> wrote:
>
> Hello,
> Thank you for your solution that works on the proposed example, but that
> does not work on a more complex example.
> Fabrice
>
> \definemixedcolumns
>   [Mycolumns]
>   [
>     n=2,
>     separator=rule,
>     rulecolor=,
>     balance=,
>     grid=strut,
>   ]
>
> \setupalign[verytolerant,stretch,hanging]
>
> \setuppapersize[A4,landscape]
> \setupinteractionscreen[option=landscape]
>
> \starttext
>   \startMycolumns
>     \startitemize[n]
>       \startitem
>         One
>       \stopitem
>       \startitem
>     \startitemize[a,packed, horizontal, three]
>       \startitem
>         \math{Q_1\approx -8}
>       \stopitem
>       \startitem
>          \math{M_e\approx 22}
>        \stopitem
>        \startitem
>          \math{Q_3\approx 40}
>       \stopitem
>     \stopitemize
>       \stopitem
>     \stopitem
>     \stopitemize
>   \stopMycolumns
> \stoptext
>
> 2017-12-30 21:07 GMT+01:00 Lars <axteffekt@gmail.com>:
>
>> I also just saw that columnized itemization doesn't work with "columns"
>> key. Use "horizontal" instead:
>>
>>
>> \definemixedcolumns
>>   [Mycolumns]
>>   [
>>     n=2,
>>     separator=rule,
>>     rulecolor=,
>>     balance=,
>>     grid=strut,
>>   ]
>>
>> \setupalign[verytolerant,stretch,hanging]
>>
>> \setuppapersize[A4,landscape]
>> \setupinteractionscreen[option=landscape]
>>
>> \starttext
>>   \startMycolumns
>>
>>     \startitemize[packed, columns, three]
>>       \startitem
>>         one
>>       \stopitem
>>       \startitem
>>         two
>>       \stopitem
>>     \stopitemize
>>     \blank[medium]
>>     \startitemize[packed, horizontal, three]
>>       \startitem
>>         three
>>       \stopitem
>>       \startitem
>>         four
>>       \stopitem
>>     \stopitemize
>>
>>   \stopMycolumns
>> \stoptext
>>
>>
>> Cheers
>>
>>
>> -------- Weitergeleitete Nachricht --------
>> Betreff: Re: [NTG-context] Multicolumn enumeration in a column
>> Datum: Sat, 30 Dec 2017 20:49:06 +0100
>> Von: Lars <axteffekt@gmail.com> <axteffekt@gmail.com>
>> An: ntg-context@ntg.nl
>>
>>
>> Hey there,
>>
>> the code that you're using won't work with \item command.
>> Use the \startitem ... \stopitem command pair instead.
>>
>> Another way to get itemizations in columns is to simply place one
>> itemizeation per column:
>>
>> \starttext
>>
>>   two columns:
>>
>>   \startcolumns[n=2]
>>
>>     \startitemize[packed]
>>       \startitem
>>         one
>>       \stopitem
>>       \startitem
>>         two
>>       \stopitem
>>     \stopitemize
>>
>>     \column
>>
>>     \startitemize[packed]
>>       \startitem
>>         one
>>       \stopitem
>>       \startitem
>>         two
>>       \stopitem
>>     \stopitemize
>>
>>   \stopcolumns
>>
>>   \blank[big]
>>
>>   three columns:
>>
>>   \startcolumns[n=3]
>>
>>     \startitemize[packed]
>>       \startitem
>>         one
>>       \stopitem
>>       \startitem
>>         two
>>       \stopitem
>>     \stopitemize
>>
>>     \column
>>
>>     \startitemize[packed]
>>       \startitem
>>         one
>>       \stopitem
>>       \startitem
>>         two
>>       \stopitem
>>     \stopitemize
>>
>>     \column
>>
>>     \startitemize[packed]
>>       \startitem
>>         one
>>       \stopitem
>>       \startitem
>>         two
>>       \stopitem
>>     \stopitemize
>>
>>   \stopcolumns
>>
>> \stoptext
>>
>>
>> Cheers
>>
>>
>>
>> Am 30/12/2017 um 10:18 schrieb Fabrice Couvreur:
>>
>> Hello,
>> How to modify the code for an enumeration on three columns in a column ?
>> Thank you
>> Fabrice
>>
>>
>> \definemixedcolumns
>>   [Mycolumns]
>>   [
>>     n=2,
>>     separator=rule,
>>     rulecolor=,
>>     balance=,
>>     grid=strut,
>>   ]
>>
>> \setupalign[verytolerant,stretch,hanging]
>>
>> \setuppapersize[A4,landscape]
>> \setupinteractionscreen[option=landscape]
>>
>> \starttext
>> \startMycolumns
>> \startitemize[n]
>>   \item
>>   \item
>> \blank
>> \startitemize[a,columns,three,joinedup]
>> \item
>> \item
>> \item
>> \stopitemize
>> \stopitemize
>> \stopMycolumns
>> \stoptext
>>
>>
>> ___________________________________________________________________________________
>> 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/list
>> info/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
> ____________________________________________________________
> _______________________
>
>
>
> ____________________________________________________________
> _______________________
> 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
> ____________________________________________________________
> _______________________
>

[-- Attachment #1.2: Type: text/html, Size: 15263 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 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
___________________________________________________________________________________

      reply	other threads:[~2018-01-02 22:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-30  9:18 Fabrice Couvreur
2017-12-30 19:49 ` Lars
2017-12-30 20:07   ` Fwd: " Lars
2017-12-31 10:57     ` Fabrice Couvreur
2018-01-02 17:06       ` Jan Willem Flamma
2018-01-02 22:21         ` Fabrice Couvreur [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=CACyK-epnQx7-iQ5eAC7waL7kPtvWtPvhgOU1RMtSsFrYHAwZxA@mail.gmail.com \
    --to=fabrice1.couvreur@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).