Re: [NTG-context] Fwd: Re: Multicolumn enumeration in a column

2017-12-31 Thread Fabrice Couvreur
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 :

> 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  
> 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/
> 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] Fwd: Re: Multicolumn enumeration in a column

2017-12-30 Thread Lars
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 
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/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
___