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 ____________________________________________________________ _______________________