[NTG-context] Multicolumn enumeration in a column

Jan Willem Flamma jwfregister at icloud.com
Tue Jan 2 18:06:14 CET 2018


Fabrice,

Please have a look at:
https://www.mail-archive.com/ntg-context@ntg.nl/msg86189.html <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 at 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 at gmail.com <mailto:axteffekt at 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 at gmail.com> <mailto:axteffekt at gmail.com>
> An:	ntg-context at ntg.nl <mailto:ntg-context at 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 at ntg.nl <mailto:ntg-context at ntg.nl> / http://www.ntg.nl/mailman/listinfo/ntg-context <http://www.ntg.nl/mailman/listinfo/ntg-context>
>> webpage  : http://www.pragma-ade.nl <http://www.pragma-ade.nl/> / http://context.aanhet.net <http://context.aanhet.net/>
>> archive  : https://bitbucket.org/phg/context-mirror/commits/ <https://bitbucket.org/phg/context-mirror/commits/>
>> wiki     : http://contextgarden.net <http://contextgarden.net/>
>> ___________________________________________________________________________________
> 
> 
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context at ntg.nl <mailto:ntg-context at ntg.nl> / http://www.ntg.nl/mailman/listinfo/ntg-context <http://www.ntg.nl/mailman/listinfo/ntg-context>
> webpage  : http://www.pragma-ade.nl <http://www.pragma-ade.nl/> / http://context.aanhet.net <http://context.aanhet.net/>
> archive  : https://bitbucket.org/phg/context-mirror/commits/ <https://bitbucket.org/phg/context-mirror/commits/>
> wiki     : http://contextgarden.net <http://contextgarden.net/>
> ___________________________________________________________________________________
> 
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context at 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
> ___________________________________________________________________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20180102/deb0a296/attachment.html>


More information about the ntg-context mailing list